.back-home {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-home:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.quiz-container {
    min-height: 100vh;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #e6f4ea 100%);
}

.quiz-header {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.quiz-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(74, 124, 89, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 33.33%;
    transition: width 0.5s ease;
    border-radius: 10px;
}

.progress-text {
    color: var(--text-light);
    font-weight: 500;
}

.quiz-content {
    max-width: 800px;
    margin: 0 auto;
}

.question {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.5s ease;
}

.question.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.option-btn {
    padding: 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.option-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.loading-screen {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
}

.loading-screen.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(74, 124, 89, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
}

.result-screen {
    display: none;
    padding: 2rem 0;
}

.result-screen.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.result-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.arrow-down {
    text-align: center;
    margin-bottom: 3rem;
    animation: bounce 2s infinite;
}

.arrow-down i {
    font-size: 3rem;
    color: var(--success-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.video-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.video-heading {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.5;
}

.video-note {
    font-style: italic;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.video-placeholder {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-image {
    width: 100%;
    height: auto;
    display: block;
}

.video-description {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
}

.btn-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    background: var(--warning-color);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
    transition: var(--transition);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(236, 201, 75, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(236, 201, 75, 0);
    }
}

.btn-cta:hover {
    background: #e0b93f;
    transform: scale(1.05);
}

.result-disclaimer {
    background: rgba(74, 124, 89, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.result-disclaimer p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .quiz-container {
        padding: 3rem 1rem 2rem;
    }
    
    .quiz-title {
        font-size: 1.5rem;
    }
    
    .question {
        padding: 2rem 1.5rem;
    }
    
    .question h2 {
        font-size: 1.5rem;
    }
    
    .options {
        grid-template-columns: 1fr;
    }
    
    .result-title {
        font-size: 1.75rem;
    }
    
    .video-section {
        padding: 2rem 1.5rem;
    }
    
    .video-heading {
        font-size: 1.5rem;
    }
    
    .back-home {
        top: 10px;
        right: 10px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
