#quiz-result {
    text-align: center;
    color: #fff;
    animation: fadeIn 0.5s ease;
}

.result-star {
    font-size: 2.5em;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(255, 0, 255, 0.5),
        0 0 20px rgba(255, 0, 255, 0.3);
    margin-bottom: 20px;
    font-family: 'Righteous', sans-serif;
}

.result-image-container {
    margin: 20px auto 30px;
    width: 400px;
    height: 400px;
    max-width: 90%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.result-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #fff;
    padding: 0 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.share-btn {
    background: #1877f2;
    color: #fff;
    padding: 15px 35px;
    font-size: 1.2em;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Open Sans', Arial, sans-serif;
    margin-top: 20px;
    font-weight: 600;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.5);
    background: #1565c0;
}

.retake-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Open Sans', Arial, sans-serif;
    margin-top: 15px;
    margin-left: 15px;
}

.retake-btn:hover {
    background: #fff;
    color: #1a1a2e;
}

/* Mobile-first design */
@media (max-width: 600px) {
    .quiz-wrapper {
        padding: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }
    
    #email-form {
        padding: 30px 20px;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        border-radius: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .result-preview {
        background: transparent;
        border: none;
        padding: 0;
        margin-bottom: 40px;
    }
    
    .result-label {
        font-size: 1.2em !important;
        color: #fff !important;
        opacity: 0.7;
        margin-bottom: 15px !important;
    }
    
    .result-placeholder {
        font-size: 5em;
        color: #fff;
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
    
    .email-instruction {
        font-size: 1.3em !important;
        line-height: 1.4 !important;
        margin-bottom: 25px !important;
    }
    
    #user-email {
        width: 100%;
        padding: 20px;
        font-size: 18px;
        border: none;
        background: #fff;
        color: #000;
        margin-bottom: 20px;
        border-radius: 8px;
        text-align: center;
        font-weight: 500;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    #user-email::placeholder {
        color: #999;
        font-weight: 400;
    }
    
    #user-email:focus {
        outline: 3px solid #00ffff;
        outline-offset: 2px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 20px;
        font-size: 1.2em;
        background: #00ffff;
        color: #000;
        border-radius: 8px;
        font-weight: 700;
        box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
        border: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .submit-btn:active {
        transform: scale(0.98);
    }
    
    .value-prop {
        font-size: 1.1em !important;
        color: #ffeb3b !important;
        margin: 20px 0 15px 0 !important;
    }
    
    .consent-details {
        font-size: 0.85em !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.5) !important;
    }
}

.loading-message {
    text-align: center;
    color: #00ffff;
    font-size: 1.3em;
    padding: 40px;
}

.loading-message .loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Ensure form displays properly */
#email-submit-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Additional accessibility improvements */
button:focus,
input:focus {
    outline: 2px solid #00ffff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .answer-btn {
        border-width: 3px;
    }
    
    .quiz-wrapper {
        background: #000;
    }
}/* 1980s Music Quiz Styles - Optimized for 40-60+ demographic */
@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Open+Sans:wght@400;600&display=swap');

#eighties-quiz-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.quiz-stats {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #666;
}

.quiz-stats span {
    margin: 0 8px;
}

.quiz-wrapper {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Removed animated background for better readability */

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.neon-text {
    font-family: 'Righteous', sans-serif;
    font-size: 2.5em;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(255, 0, 255, 0.5),
        0 0 20px rgba(255, 0, 255, 0.3);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.question-counter {
    color: #fff;
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 10px;
}

.progress-percent {
    color: #00ffff;
    font-weight: normal;
    margin-left: 10px;
}

#quiz-content {
    position: relative;
    z-index: 1;
    min-height: 300px;
}

.question {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.question h2 {
    color: #fff;
    font-size: 1.8em;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 600;
}

.answers {
    display: grid;
    gap: 20px;
}

.answer-btn {
    background: linear-gradient(135deg, #2a2a3e 0%, #16213e 100%);
    border: 2px solid #ff00ff;
    color: #fff;
    padding: 20px 25px;
    font-size: 1.2em;
    font-family: 'Open Sans', Arial, sans-serif;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.answer-btn:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.4);
    border-color: #00ffff;
    background: linear-gradient(135deg, #3a3a4e 0%, #26314e 100%);
}

.answer-btn:active:not(.disabled) {
    transform: translateY(0);
}

.answer-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.answer-btn.loading {
    justify-content: center;
    color: #00ffff;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #00ffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.click-instruction {
    text-align: center;
    color: #00ffff;
    font-size: 1.1em;
    margin-top: 25px;
    opacity: 0.8;
    font-style: italic;
}

#email-form {
    text-align: center;
    color: #fff;
    animation: fadeIn 0.5s ease;
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 20px;
    overflow: hidden;
}

#email-form.result-ready {
    background: linear-gradient(135deg, #2a2a3e 0%, #16213e 100%);
    border: 2px solid #ff00ff;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
}

#email-form {
    text-align: center;
    color: #fff;
    animation: fadeIn 0.5s ease;
    position: relative;
    z-index: 2;
    padding: 30px;
    border-radius: 20px;
    overflow: hidden;
}

.result-preview {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.result-label {
    font-size: 0.9em !important;
    color: #00ffff !important;
    margin: 0 0 10px 0 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.result-placeholder {
    font-size: 4em;
    color: #ffeb3b;
    margin: 0;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

.email-instruction {
    font-size: 1.2em !important;
    margin: 0 0 15px 0 !important;
    color: #fff !important;
}

#user-email {
    width: 100%;
    max-width: 350px;
    padding: 18px 20px;
    font-size: 1.1em;
    border: none;
    background: #fff;
    color: #000;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    font-family: 'Open Sans', Arial, sans-serif;
    position: relative;
    z-index: 10;
    display: block;
    box-sizing: border-box;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#user-email::placeholder {
    color: #999;
    opacity: 1;
}

#user-email:focus {
    outline: 3px solid #00ffff;
    outline-offset: 2px;
}

.submit-btn {
    background: #00ffff;
    color: #000;
    border: none;
    padding: 20px 50px;
    font-size: 1.3em;
    font-family: 'Righteous', sans-serif;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    font-weight: bold;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 255, 0.6);
}

.value-prop {
    color: #00ffff !important;
    font-size: 1.1em !important;
    font-weight: 600;
    margin: 15px 0 5px 0 !important;
    text-align: center;
}

.consent-details {
    font-size: 0.8em !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 5px 0 0 0 !important;
    text-align: center;
}

#user-email {
    width: 100%;
    max-width: 400px;
    padding: 18px 20px;
    font-size: 1.2em;
    border: 2px solid #ff00ff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 10px;
    margin: 0 auto 20px auto;
    font-family: 'Open Sans', Arial, sans-serif;
    position: relative;
    z-index: 10;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    box-sizing: border-box;
}

#user-email::placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

#user-email:focus {
    outline: none;
    border-color: #00ffff;
    background: rgba(255, 255, 255, 0.15);
}

.consent-label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto 10px;
    color: #fff;
    font-size: 1.1em;
    line-height: 1.5;
    max-width: 450px;
    width: 100%;
}

.consent-label span {
    margin-left: 10px;
    font-weight: 600;
}

.consent-label input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    min-width: 20px;
    min-height: 20px;
    cursor: pointer;
}

.trust-message {
    color: #00ffff;
    font-size: 0.9em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.submit-btn {
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    color: #fff;
    border: none;
    padding: 20px 50px;
    font-size: 1.4em;
    font-family: 'Righteous', sans-serif;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 255, 0.6);
    padding-right: 60px;
}

.submit-btn:hover::before {
    transform: translateY(-50%) translateX(5px);
}

#quiz-result {
    text-align: center;
    color: #fff;
    animation: resultReveal 1s ease;
}

@keyframes resultReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    50% {
        transform: scale(1.1) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.result-star {
    font-size: 3em;
    color: #ff00ff;
    text-shadow: 
        0 0 20px #ff00ff,
        0 0 40px #ff00ff,
        0 0 60px #ff00ff;
    margin-bottom: 20px;
    font-family: 'Russo One', sans-serif;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.result-image-container {
    margin: 20px auto 30px;
    width: 400px;
    height: 400px;
    max-width: 90%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(255, 0, 255, 0.5),
        0 0 60px rgba(0, 255, 255, 0.3);
    animation: imageGlow 3s ease-in-out infinite alternate;
}

@keyframes imageGlow {
    0% {
        box-shadow: 
            0 0 30px rgba(255, 0, 255, 0.5),
            0 0 60px rgba(0, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 0 40px rgba(255, 0, 255, 0.7),
            0 0 80px rgba(0, 255, 255, 0.5);
    }
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.result-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #00ffff;
    padding: 0 20px;
}

.share-btn {
    background: #1877f2;
    color: #fff;
    padding: 12px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Righteous', Arial, sans-serif;
    margin-top: 20px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.5);
}

.retake-btn {
    background: transparent;
    color: #ff00ff;
    border: 2px solid #ff00ff;
    padding: 10px 25px;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Righteous', Arial, sans-serif;
    margin-top: 15px;
    margin-left: 15px;
}

.retake-btn:hover {
    background: #ff00ff;
    color: #fff;
    box-shadow: 0 0 10px #ff00ff;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    #eighties-quiz-container {
        padding: 10px;
    }
    
    .quiz-wrapper {
        padding: 30px 20px;
    }
    
    .neon-text {
        font-size: 2em;
    }
    
    .question h2 {
        font-size: 1.3em;
    }
    
    .answer-btn {
        font-size: 1em;
        padding: 12px 20px;
    }
    
    .result-star {
        font-size: 2.5em;
    }
    
    .result-image-container {
        width: 300px;
        height: 300px;
    }
}