:root {
    --deep-charcoal: #1a1a1a;
    --rich-burgundy: #8b0000;
    --gold-accent: #d4af37;
    --silver-accent: #c0c0c0;
    --bronze-accent: #cd7f32;
    --cream-white: #f5f5f5;
    --dark-velvet: #2d1b1b;
    --bronze: #cd7f32;
    --glass-bronze: rgba(205, 127, 50, 0.1);
    --glass-gold: rgba(212, 175, 55, 0.15);
    --success: #28a745;
    --error: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

body {
    font-family: 'Lato', sans-serif;
    background: 
        linear-gradient(135deg, var(--deep-charcoal) 0%, #2d1b1b 50%, #1a1a1a 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><rect width="100" height="100" fill="%231a1a1a"/><circle cx="50" cy="50" r="0.5" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    color: var(--cream-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: var(--gold-accent);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    pointer-events: none;
    animation-duration: 20s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.floating-element.el-1 { 
    left: 5%; 
    top: 10%; 
    animation-name: floatElement1;
}
.floating-element.el-2 { 
    left: 85%; 
    top: 30%; 
    animation-name: floatElement2;
    animation-delay: -3s;
}
.floating-element.el-3 { 
    left: 10%; 
    top: 75%; 
    animation-name: floatElement3;
    animation-delay: -6s;
}
.floating-element.el-4 { 
    left: 80%; 
    top: 5%; 
    animation-name: floatElement4;
    animation-delay: -9s;
}
.floating-element.el-5 { 
    left: 90%; 
    top: 85%; 
    animation-name: floatElement5;
    animation-delay: -12s;
}

@keyframes floatElement1 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
    25% { transform: translate(40px, -60px) rotate(90deg) scale(1.1); }
    50% { transform: translate(-20px, -100px) rotate(180deg) scale(0.9); }
    75% { transform: translate(60px, -40px) rotate(270deg) scale(1.05); }
}

@keyframes floatElement2 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
    25% { transform: translate(-50px, 45px) rotate(-90deg) scale(1.1); }
    50% { transform: translate(30px, 85px) rotate(-180deg) scale(0.9); }
    75% { transform: translate(-40px, 35px) rotate(-270deg) scale(1.05); }
}

@keyframes floatElement3 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
    25% { transform: translate(25px, -35px) rotate(120deg) scale(1.1); }
    50% { transform: translate(-30px, -70px) rotate(240deg) scale(0.9); }
    75% { transform: translate(20px, -30px) rotate(360deg) scale(1.05); }
}

@keyframes floatElement4 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
    25% { transform: translate(-30px, 40px) rotate(-120deg) scale(1.1); }
    50% { transform: translate(35px, 75px) rotate(-240deg) scale(0.9); }
    75% { transform: translate(-25px, 30px) rotate(-360deg) scale(1.05); }
}

@keyframes floatElement5 {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
    25% { transform: translate(15px, -45px) rotate(60deg) scale(1.1); }
    50% { transform: translate(-35px, -80px) rotate(120deg) scale(0.9); }
    75% { transform: translate(25px, -35px) rotate(180deg) scale(1.05); }
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(205, 127, 50, 0.08) 0%, transparent 50%);
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 80% 80%;
    }
}

.light-beam {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    opacity: 0.1;
    animation: beamMove 15s linear infinite;
}

.beam-1 {
    top: 20%;
    animation-delay: 0s;
}

.beam-2 {
    top: 50%;
    animation-delay: -5s;
}

.beam-3 {
    top: 80%;
    animation-delay: -10s;
}

@keyframes beamMove {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold-accent);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--deep-charcoal);
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    border: 2px solid var(--gold-accent);
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--cream-white);
    letter-spacing: 1px;
}

.logo-text p {
    font-size: 1rem;
    color: rgba(245, 245, 245, 0.8);
    font-weight: 300;
    letter-spacing: 2px;
}

.class-wheel-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gold-accent);
    font-weight: 500;
    font-size: 1.1rem;
    min-width: 80px;
    height: 60px;
    justify-content: center;
}

.class-wheel-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.wheel-icon {
    font-size: 1.8rem;
}

.luxury-nav {
    display: flex;
    gap: 0.5rem;
    background: rgba(45, 27, 27, 0.8);
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-item {
    padding: 1rem 2rem;
    text-decoration: none;
    color: rgba(245, 245, 245, 0.8);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    color: var(--gold-accent);
    background: rgba(212, 175, 55, 0.05);
}

.nav-item.active {
    color: var(--gold-accent);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.3);
}

.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    color: var(--deep-charcoal);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--cream-white);
    letter-spacing: -0.5px;
}

.hero h2 .accent {
    color: var(--gold-accent);
    font-style: italic;
}

.hero p {
    font-size: 1.4rem;
    color: rgba(245, 245, 245, 0.9);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.luxury-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    color: var(--deep-charcoal);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-accent);
    border: 2px solid var(--gold-accent);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.btn-small {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.9rem !important;
}

.btn-compact {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.9rem !important;
}

.hero-visual {
    position: relative;
    height: 600px;
}

.elegant-card {
    position: absolute;
    background: rgba(45, 27, 27, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    width: 280px;
}

.elegant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--bronze));
    opacity: 0.8;
}

.elegant-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card-1 {
    top: 50px;
    left: 0;
    z-index: 3;
}

.card-2 {
    top: 250px;
    right: 20px;
    z-index: 2;
}

.card-3 {
    bottom: 50px;
    left: 50px;
    z-index: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--gold-accent);
}

.card-title {
    font-weight: 600;
    color: var(--cream-white);
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
}

.floating {
    animation: floatingCard 6s ease-in-out infinite;
}

.floating.delay-1 {
    animation-delay: -2s;
}

.floating.delay-2 {
    animation-delay: -4s;
}

@keyframes floatingCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(45, 27, 27, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--cream-white);
    font-family: 'Playfair Display', serif;
}

.feature-card p {
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, var(--dark-velvet), #3a2323);
    border-radius: 20px;
    padding: 6rem 4rem;
    text-align: center;
    margin: 8rem auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="texture" width="50" height="50" patternUnits="userSpaceOnUse"><rect width="50" height="50" fill="%232d1b1b"/><path d="M0,0 L50,50 M50,0 L0,50" stroke="%23d4af37" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23texture)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--cream-white);
}

.cta-content p {
    font-size: 1.5rem;
    margin-bottom: 4rem;
    color: rgba(245, 245, 245, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
}

.btn-large {
    padding: 2rem 4rem;
    font-size: 1.3rem;
}

footer {
    background: rgba(26, 26, 26, 0.95);
    border-top: 2px solid var(--gold-accent);
    padding: 5rem 0 3rem;
    margin-top: 8rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--deep-charcoal);
}

.footer-brand-text h3 {
    color: var(--cream-white);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.footer-brand-text p {
    color: rgba(245, 245, 245, 0.8);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.link-group h4 {
    color: var(--cream-white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-accent);
}

.link-group a {
    display: block;
    color: rgba(245, 245, 245, 0.8);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    font-weight: 400;
}

.link-group a:hover {
    color: var(--gold-accent);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-info p {
    color: rgba(245, 245, 245, 0.7);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
        padding: 6rem 2rem 4rem;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .luxury-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content p {
        font-size: 1.2rem;
    }
    
    .elegant-card {
        position: relative;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    .class-wheel-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--deep-charcoal);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--bronze), var(--gold-accent));
}

.quiz-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.quiz-selection-header {
    text-align: center;
    margin-bottom: 4rem;
}

.quiz-selection-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--cream-white);
}

.quiz-selection-header p {
    font-size: 1.4rem;
    color: rgba(245, 245, 245, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.quiz-card {
    background: rgba(45, 27, 27, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--bronze));
}

.quiz-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.quiz-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--deep-charcoal);
}

.quiz-content {
    padding: 2rem;
}

.quiz-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--cream-white);
}

.quiz-content p {
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quiz-meta {
    display: flex;
    justify-content: space-between;
    color: rgba(245, 245, 245, 0.7);
    font-size: 0.9rem;
}

.quiz-screen {
    background: rgba(45, 27, 27, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    position: relative;
}

.quiz-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--bronze));
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.quiz-progress {
    flex: 1;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-accent), var(--bronze));
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 4px;
}

.quiz-timer {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-accent);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.question-container {
    background: rgba(26, 26, 26, 0.6);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    min-height: 550px;
}

.question-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    height: 100%;
}

.question-image {
    flex: 0 0 400px;
    height: 500px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 3rem;
    color: var(--deep-charcoal);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
    overflow: hidden;
    position: relative;
}

.question-image-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
}

.question-text-section {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.question-text {
    font-size: 1.3rem;
    color: var(--cream-white);
    text-align: left;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    flex-shrink: 0;
}

.answers-container {
    display: grid;
    gap: 1rem;
    flex: 1;
}

@media (max-width: 768px) {
    .question-content {
        flex-direction: column;
        gap: 1.5rem;
        height: auto;
    }
    
    .question-image {
        flex: none;
        width: 100%;
        height: 300px;
    }
    
    .question-container {
        min-height: auto;
    }
}

.answer-btn {
    padding: 1.2rem 1.5rem;
    background: rgba(45, 27, 27, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: var(--cream-white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.answer-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.answer-btn:hover .answer-hover-effect {
    left: 100%;
}

.answer-btn:hover {
    border-color: var(--gold-accent);
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.answer-btn.correct {
    border-color: var(--success);
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.answer-btn.incorrect {
    border-color: var(--error);
    background: rgba(220, 53, 69, 0.1);
    color: var(--error);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
}

.next-btn-with-arrow {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.next-btn-with-arrow::after {
    content: '→';
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.next-btn-with-arrow:hover::after {
    transform: translateX(5px);
}

.leaderboard-screen {
    background: rgba(45, 27, 27, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    position: relative;
}

.leaderboard-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--bronze));
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--cream-white);
}

.leaders-container {
    margin: 2rem 0;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leader-item {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leader-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leader-item:hover::before {
    opacity: 1;
}

.leader-item:hover {
    transform: translateX(10px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.leader-item.top-1 {
    border: 2px solid var(--gold-accent);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(26, 26, 26, 0.8));
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.leader-item.top-2 {
    border: 2px solid var(--silver-accent);
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(26, 26, 26, 0.8));
}

.leader-item.top-3 {
    border: 2px solid var(--bronze-accent);
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(26, 26, 26, 0.8));
}

.leader-rank {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--deep-charcoal);
    flex-shrink: 0;
}

.leader-item.top-1 .leader-rank {
    background: linear-gradient(135deg, var(--gold-accent), #e6c158);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.leader-item.top-2 .leader-rank {
    background: linear-gradient(135deg, var(--silver-accent), #d0d0d0);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.leader-item.top-3 .leader-rank {
    background: linear-gradient(135deg, var(--bronze-accent), #d99c5c);
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.5);
}

.leader-item:not(.top-1):not(.top-2):not(.top-3) .leader-rank {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cream-white);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.leader-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.leader-class {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cream-white);
    font-family: 'Playfair Display', serif;
    min-width: 80px;
}

.leader-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.leader-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: rgba(245, 245, 245, 0.8);
    min-width: 120px;
}

.leader-score {
    font-size: 1.2rem;
    color: var(--gold-accent);
    font-weight: 600;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.leader-time {
    color: var(--gold-accent);
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.leader-date {
    color: rgba(245, 245, 245, 0.7);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-stats {
    display: flex;
    justify-content: center;
    margin: 1rem 0 2rem 0;
}

.stat-badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gold-accent);
    font-weight: 500;
}

.screen {
    display: none;
}

.screen.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.admin-panel {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: rgba(45, 27, 27, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold-accent);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    color: var(--cream-white);
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-color: var(--success);
}

.notification-error {
    border-color: var(--error);
}

.class-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.class-option {
    background: rgba(45, 27, 27, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.class-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--bronze));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.class-option:hover::before {
    opacity: 1;
}

.class-option:hover {
    border-color: var(--gold-accent);
    transform: translateY(-5px);
}

.class-option.active {
    border-color: var(--gold-accent);
    background: rgba(212, 175, 55, 0.1);
}

.class-option.active::before {
    opacity: 1;
}

.class-card {
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.class-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--deep-charcoal);
}

.class-info {
    flex: 1;
}

.class-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--cream-white);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.class-label {
    font-size: 1rem;
    color: rgba(245, 245, 245, 0.8);
}

.class-check {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-option.active .class-check {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
}

.class-option.active .class-check::after {
    content: '✓';
    color: var(--deep-charcoal);
    font-weight: bold;
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    color: var(--deep-charcoal);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.badge-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.result-stat {
    background: rgba(45, 27, 27, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.result-stat:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent);
}

.result-stat.highlight {
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    color: var(--deep-charcoal);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.result-stat.highlight .stat-icon {
    background: rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.class-selection-section {
    background: rgba(26, 26, 26, 0.6);
    border-radius: 15px;
    padding: 2.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.class-selection-section h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--cream-white);
    font-family: 'Playfair Display', serif;
}

.class-selection-section p {
    text-align: center;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 2rem;
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(45, 27, 27, 0.95);
    margin: 5% auto;
    padding: 0;
    border: 2px solid var(--gold-accent);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    color: var(--deep-charcoal);
    padding: 1.5rem 2rem;
    border-radius: 18px 18px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.close-modal {
    color: var(--deep-charcoal);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.2);
}

.class-selector-modal .modal-content {
    max-width: 800px;
    width: 90%;
}

.class-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.class-option {
    background: rgba(45, 27, 27, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.class-option:hover {
    transform: translateY(-8px);
    border-color: var(--gold-accent);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.class-option.active {
    border-color: var(--gold-accent);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.class-card {
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 100%;
}

.class-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--deep-charcoal);
    flex-shrink: 0;
}

.class-info {
    flex: 1;
}

.class-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cream-white);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.class-label {
    font-size: 1.2rem;
    color: rgba(245, 245, 245, 0.9);
    line-height: 1.4;
}

.class-check {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.class-option.active .class-check {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
}

.class-option.active .class-check::after {
    content: '✓';
    color: var(--deep-charcoal);
    font-weight: bold;
    font-size: 1.1rem;
}

.wheel-modal-content {
    position: fixed;
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    width: 96%;
    height: 96%;
    margin: 0;
    padding: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
}

.wheel-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    min-height: auto;
}

.winner-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 1000;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.winner-display.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.winner-content {
    background: linear-gradient(135deg, #1a1a1a, #2d1b1b);
    padding: 3rem 4rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(212, 175, 55, 0.3),
        0 0 50px rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.5);
    min-width: 450px;
    position: relative;
    overflow: hidden;
}

.winner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent), var(--bronze));
}

.winner-content.winner {
    background: linear-gradient(135deg, #2d1b1b, #1a1a1a);
    border-color: var(--gold-accent);
    animation: winnerGlow 2s ease-in-out infinite alternate;
}

@keyframes winnerGlow {
    0% {
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.8),
            0 0 0 1px rgba(212, 175, 55, 0.4),
            0 0 50px rgba(212, 175, 55, 0.3);
    }
    100% {
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.8),
            0 0 0 1px rgba(212, 175, 55, 0.6),
            0 0 80px rgba(212, 175, 55, 0.5);
    }
}

.winner-crown {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-10px) scale(1.1);
    }
    60% {
        transform: translateY(-5px) scale(1.05);
    }
}

.winner-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-accent);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.winner-name {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--cream-white);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, var(--gold-accent), var(--cream-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.winner-message {
    font-size: 1.3rem;
    color: rgba(245, 245, 245, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.winner-timer {
    font-size: 1rem;
    color: rgba(245, 245, 245, 0.7);
    background: rgba(212, 175, 55, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.timer-count {
    color: var(--gold-accent);
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .wheel-modal-content {
        top: 1%;
        left: 1%;
        right: 1%;
        bottom: 1%;
        width: 98%;
        height: 98%;
    }
    
    .wheel-container {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .winner-content {
        min-width: 320px;
        padding: 2rem;
        margin: 1rem;
    }
    
    .winner-name {
        font-size: 2.5rem;
    }
    
    .winner-title {
        font-size: 1.4rem;
    }
    
    .winner-crown {
        font-size: 3.5rem;
    }
    
    .class-selector {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .class-card {
        padding: 2rem;
    }
    
    .class-name {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .wheel-modal-content {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .modal-content {
        border-radius: 0;
    }
    
    .modal-header {
        border-radius: 0;
    }
    
    .winner-content {
        min-width: 280px;
        padding: 1.5rem;
    }
    
    .winner-name {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .leader-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .leader-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .leader-stats {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .leader-stat {
        min-width: auto;
    }
    
    .leader-rank {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

.quiz-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.question-image-content {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.question-image:not(:has(img)) {
    display: none !important;
}

@media (max-width: 768px) {
    .question-image {
        height: 120px;
        font-size: 2rem;
    }
    
    .question-image-content[src*="vertical"] {
        max-height: 120px;
    }
    
    .question-image-content[src*="horizontal"] {
        height: 120px;
    }
}