.back-home {
    position: fixed;
    top: 20px;
    left: 20px;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-home:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.quiz-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fef6f0 0%, #ffe8d6 100%);
}

.quiz-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
}

.quiz-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    transition: width 0.3s ease;
    width: 33%;
}

.progress-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.quiz-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    width: 100%;
}

.question {
    display: none;
}

.question.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.options {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.option-btn {
    padding: 1.25rem;
    border: 2px solid var(--border);
    background: white;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.option-btn:hover {
    border-color: var(--primary);
    background: #f8fafc;
    transform: translateY(-2px);
}

.loading-screen,
.result-screen {
    display: none;
    text-align: center;
}

.loading-screen.active,
.result-screen.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.125rem;
    color: var(--text-light);
}

.result-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.arrow-down {
    font-size: 2rem;
    color: var(--primary);
    animation: bounce 2s infinite;
    margin: 2rem 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.video-section {
    margin: 3rem 0;
}

.video-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.video-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.video-placeholder {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-image {
    width: 100%;
    height: auto;
    display: block;
}

.video-description {
    color: var(--text-light);
    line-height: 1.8;
    margin: 2rem 0;
}

.btn-cta {
    display: inline-block;
    padding: 1.125rem 3rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.result-disclaimer {
    margin-top: 3rem;
    padding: 1.5rem;
    background: #fef3c7;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.result-disclaimer p {
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .quiz-title {
        font-size: 1.75rem;
    }

    .quiz-content {
        padding: 2rem 1.5rem;
    }

    .question h2 {
        font-size: 1.25rem;
    }

    .options {
        grid-template-columns: 1fr 1fr;
    }

    .result-title {
        font-size: 1.5rem;
    }

    .video-heading {
        font-size: 1.25rem;
    }
}
