body {
    font-family: 'Segoe UI', Arial, sans-serif;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

#display {
    padding: 80px 40px;
    margin: 20px auto 10px;
    border-radius: 20px;
    background: white;
    transition: background-color 0.5s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    font-size: 2.5em;
    font-weight: bold;
}

#color-code {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 30px;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    display: inline-block;
    min-width: 150px;
}

.section {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

button {
    padding: 15px 30px;
    margin: 5px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

button:active {
    transform: translateY(0);
}

.special-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-size: 20px;
    padding: 20px 40px;
}

select {
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 10px;
    border: 3px solid #667eea;
    cursor: pointer;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-weight: bold;
}

select:hover {
    border-color: #764ba2;
    transform: scale(1.05);
}

select:focus {
    outline: none;
    border-color: #f5576c;
}