* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    color: #495057;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    height: 45px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.contact-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

body {
    padding-top: 75px; 
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-logo {
        height: 35px;
        max-width: 120px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
        font-size: 0.8rem;
    }
    
    body {
        padding-top: 95px;
    }
}

.quiz-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    position: relative;
}

.progress-bar {
    height: 4px;
    background: #e9ecef;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    width: 0%;
    transition: width 0.3s ease;
}

.quiz-content {
    padding: 60px 80px;
    text-align: center;
}

.welcome-screen {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
}

.welcome-text {
    flex: 1;
}

.welcome-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.singer-illustration {
    width: 400px;
    height: 400px;
    background-image: url('./img/xs9z2nE7UBghqmFPDMlATnFVFki4oVn4uZm04rsa.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.singer-illustration:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Fallback emoji if image doesn't load */
.singer-illustration::before {
    content: "🎤";
    font-size: 120px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show emoji fallback if image fails to load */
.singer-illustration.image-error::before {
    opacity: 1;
}

/* Optional: Add a subtle border/ring effect */
.singer-illustration::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.02);
    }
    100% { 
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #8b4513;
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #8b4513;
    margin-bottom: 30px;
    line-height: 1.3;
}

.subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.5;
}

.description {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.gift-box {
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    padding: 20px 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #8b4513;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.gift-box::before {
    content: "🎁";
    font-size: 1.2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: white;
    color: #6c757d;
    border: 2px solid #e9ecef;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.btn-secondary:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.music-styles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.music-style {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.music-style:hover {
    border-color: #ff6b35;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.music-style.selected {
    border-color: #ff6b35;
    background: linear-gradient(135deg, #fff5f0, #ffeaa7);
}

.music-style-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
}

.music-style h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #8b4513;
    margin-bottom: 8px;
}

.music-style-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-size: cover;
    background-position: center;
}

.age-slider-container {
    margin: 40px 0;
}

.age-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
    position: relative;
}

.age-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.age-display {
    text-align: center;
    margin: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff6b35;
}

.age-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 10px;
}

.radio-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.radio-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.radio-option:hover {
    border-color: #ff6b35;
}

.radio-option.selected {
    border-color: #ff6b35;
    background: linear-gradient(135deg, #fff5f0, #ffeaa7);
}

.radio-option input {
    display: none;
}

.textarea-container {
    margin: 40px 0;
}

.custom-textarea {
    width: 100%;
    min-height: 120px;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.custom-textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.custom-textarea::placeholder {
    color: #adb5bd;
}

.form-container {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #ff6b35;
}

.phone-input-container {
    display: flex;
    gap: 10px;
}

.country-code {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    font-size: 1rem;
    min-width: 100px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.custom-checkbox.checked {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-color: #ff6b35;
}

.custom-checkbox.checked::after {
    content: "✓";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 80px;
    background: #f8f9fa;
}

.nav-button {
    background: none;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button:hover {
    background: rgba(255, 107, 53, 0.1);
}

.nav-button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gift-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.hidden {
    display: none;
}

.footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: #adb5bd;
    margin-top: 30px;
}

.footer-link {
    color: #ff6b35;
    text-decoration: none;
    cursor: pointer;
}

.footer-link:hover {
    text-decoration: underline;
}

.thank-you-screen {
    text-align: center;
    padding: 80px 40px;
}

.success-icon {
    font-size: 6rem;
    color: #28a745;
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.thank-you-title {
    font-size: 2.5rem;
    color: #8b4513;
    margin-bottom: 20px;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 50px auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 30px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
}

.modal-body {
    padding: 40px;
    text-align: left;
    line-height: 1.6;
}

.modal-body h3 {
    color: #8b4513;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 15px;
    color: #495057;
}

.modal-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
    color: #495057;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.cookie-banner p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-btn {
    background: white;
    color: #ff6b35;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cookie-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn.secondary:hover {
    background: white;
    color: #ff6b35;
}

@media (max-width: 768px) {
    .quiz-content {
        padding: 40px 30px;
    }
    
    .navigation {
        padding: 20px 30px;
    }
    
    .welcome-screen {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .singer-illustration {
        width: 250px;
        height: 250px;
        background-image: url('./img/xs9z2nE7UBghqmFPDMlATnFVFki4oVn4uZm04rsa.png');
        background-size: cover;
        background-position: center;
    }
    
    .singer-illustration::before {
        font-size: 80px; /* Smaller emoji for mobile fallback */
    }

    .singer-illustration::after {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-width: 2px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .music-styles {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
        align-items: center;
    }

    .modal-content {
        margin: 20px auto;
        width: 95%;
        max-height: 90vh;
    }

    .modal-body {
        padding: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cookie-btn {
        width: 200px;
    }
}
