:root {
    --primary-color: #0d1b2a;
    /* Deep Navy Blue */
    --secondary-color: #1b263b;
    /* Lighter Navy */
    --accent-color: #ffd700;
    /* Gold */
    --text-color: #e0e1dd;
    /* Off-white */
    --text-muted: #778da9;
    --font-main: 'Inter', sans-serif;
    --easy-color: #2ec4b6;
    --medium-color: #ff9f1c;
    --hard-color: #e71d36;
    --bg-color: #0d1b2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ctext x='20' y='50' font-family='serif' font-size='24'%3E%E2%88%AB%3C/text%3E%3Ctext x='80' y='120' font-family='serif' font-size='20'%3E%E2%88%91%3C/text%3E%3Ctext x='150' y='40' font-family='serif' font-size='24'%3E%CF%80%3C/text%3E%3Ctext x='220' y='90' font-family='serif' font-size='20'%3E%E2%88%82%3C/text%3E%3Ctext x='260' y='30' font-family='serif' font-size='24'%3Ee%3C/text%3E%3Ctext x='40' y='200' font-family='serif' font-size='20'%3E%E2%88%9A%3C/text%3E%3Ctext x='120' y='250' font-family='serif' font-size='24'%3E%E2%88%9E%3C/text%3E%3Ctext x='200' y='180' font-family='serif' font-size='20'%3Ef(x)%3C/text%3E%3Ctext x='250' y='260' font-family='serif' font-size='24'%3Edx%3C/text%3E%3Ctext x='50' y='280' font-family='serif' font-size='20'%3Esin%3C/text%3E%3Ctext x='180' y='110' font-family='serif' font-size='20'%3E+%3C/text%3E%3Ctext x='100' y='50' font-family='serif' font-size='18'%3E=%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

.nav-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover:not(:disabled) {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Sidebar Navigation */
body {
    padding-left: 260px;
    padding-top: 70px;
    /* Header Height + Space */
    /* Make space for sidebar */
    transition: padding-left 0.3s ease;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--secondary-color);
    /* Matches sidebar base or slightly different */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1002;
    /* Higher than sidebar */
    backdrop-filter: blur(10px);
}

.header-logo {
    font-family: 'Times New Roman', Times, serif;
    /* Elegant Serif */
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    /* Gold */
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    /* Subtle Glow */
}

/* Brand and Math Constant Wrapper */
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.euler-constant {
    font-family: 'Times New Roman', Times, serif;
    /* Serif looks better for formulas */
    font-style: italic;
    /* Math italic */
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
    font-weight: 500;
    letter-spacing: 1px;
    display: none;
    margin-top: 2px;
}

.euler-constant sup {
    font-size: 0.8em;
    font-style: italic;
}

@media (min-width: 768px) {
    .euler-constant {
        display: block;
    }
}

.header-time {
    font-family: monospace;
    font-size: 1rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar {
    position: fixed;
    top: 70px;
    /* Starts below header */
    left: 0;
    width: 260px;
    height: calc(100vh - 70px);
    /* Full height minus header */
    background-color: rgba(13, 27, 42, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.sidebar-header {
    /* Logo is now in top header, so we can hide or remove this space if empty, 
       but keeping margin might be nice for spacing nav items */
    margin-bottom: 1rem;
    display: none;
    /* Hide old sidebar header area as logo moved up */
}

/* Logo class reuse or redefine if needed elsewhere */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: block;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.nav-item,
.dropdown-btn {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 1rem;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-main);
}

.nav-item:hover,
.dropdown-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
}

.nav-item.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* Accordion Dropdown */
.nav-item-dropdown {
    display: flex;
    flex-direction: column;
}

.dropdown-container {
    display: none;
    /* Hidden by default */
    flex-direction: column;
    padding-left: 1.5rem;
    margin-top: 0.2rem;
    gap: 0.2rem;
}

.dropdown-container.show {
    display: flex;
}

.dropdown-container a {
    padding: 0.6rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-container a:hover {
    color: var(--text-color);
    border-left-color: var(--accent-color);
    padding-left: 1.2rem;
    /* Slide effect */
}

/* Sidebar Footer & Auth */
.sidebar-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Auth Container Styling */
#auth-container .auth-item {
    width: 100%;
    justify-content: center;
    margin-left: 0 !important;
    margin-top: 1rem;
}

/* Responsive Sidebar (Hamburger) */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1100;
    background: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {
    body {
        padding-left: 0;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 2rem;
    background: radial-gradient(circle at top right, #1b263b 0%, #0d1b2a 60%);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

/* Topics Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.topic-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.topic-card.large {
    grid-column: 1 / -1;
    /* Span full width */
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(13, 27, 42, 0.95) 100%);
    text-align: center;
    align-items: center;
    margin-top: 2rem;
    border: 2px solid var(--accent-color);
    /* Distinctive border */
}

.topic-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.topic-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.topic-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.topic-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.topic-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.2s;
}

.topic-link:hover::after {
    margin-left: 0.8rem;
}

/* Difficulty Tabs */
.difficulty-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.8rem 2rem;
    border: 2px solid transparent;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
    color: var(--primary-color);
    transform: scale(1.05);
}

.tab-button[onclick*="easy"].active {
    background-color: var(--easy-color);
    box-shadow: 0 0 15px rgba(46, 196, 182, 0.4);
}

.tab-button[onclick*="medium"].active {
    background-color: var(--medium-color);
    box-shadow: 0 0 15px rgba(255, 159, 28, 0.4);
}

.tab-button[onclick*="hard"].active {
    background-color: var(--hard-color);
    box-shadow: 0 0 15px rgba(231, 29, 54, 0.4);
}

/* Question Cards */
.question-group {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Workboard Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--secondary-color);
    width: 90%;
    max-width: 800px;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--accent-color);
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: scaleUp 0.3s ease;
}

@keyframes scaleUp {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text-color);
}

.work-question {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
    font-size: 1.1rem;
    color: var(--text-color);
}

.math-toolbar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 8px;
}

.math-btn {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.math-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.work-area textarea {
    width: 100%;
    height: 150px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 1rem;
    font-family: monospace;
    font-size: 1.1rem;
    border-radius: 8px;
    resize: vertical;
    margin-bottom: 1rem;
}

.preview-area {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    min-height: 80px;
    margin-bottom: 1.5rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.feedback-area {
    margin-top: 1rem;
    font-weight: 600;
    min-height: 1.5rem;
}

.feedback-success {
    color: #2ec4b6;
}

.feedback-error {
    color: #e71d36;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--secondary-color);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin-left: 0;
    /* Override nav-links a margin */
    transition: background-color 0.2s;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--accent-color);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown:hover .dropbtn {
    color: var(--accent-color);
}

/* Generator Page Styles */
.generator-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
}

.matrix-table th,
.matrix-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background-color 0.2s;
}

.matrix-table th {
    background: rgba(13, 27, 42, 0.8);
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.matrix-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    background: rgba(13, 27, 42, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.matrix-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

.qty-input {
    width: 60px;
    padding: 0.6rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.qty-input:focus {
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    outline: none;
    transform: scale(1.05);
}

.generated-questions {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

/* Contact Page Styles */
.contact-wrapper {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.02);
}

.submit-btn {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Mobile Adjustments for Contact */
@media (max-width: 768px) {
    .contact-wrapper {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Daily Question Button in Sidebar (Bottom sticky or integrated) */
.daily-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    margin-top: 1rem;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.daily-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

@media (max-width: 768px) {
    .sidebar-footer {
        padding-bottom: 5rem;
        /* create space for mobile menu or similar if needed */
    }

    .daily-btn {
        padding: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        justify-content: center;
    }

    .daily-btn::before {
        content: '🌟';
    }
}

/* --- CHALLENGE PAGE STYLES --- */
.challenge-container {
    max-width: 1000px;
    margin: 0 auto;
}

.challenge-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.challenge-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.challenge-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.challenge-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-tag {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.challenge-status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-active {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.status-upcoming {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid #f1c40f;
}

.status-ended {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.challenge-body {
    color: #ccc;
    line-height: 1.6;
}

.challenge-action {
    align-self: flex-start;
}

.btn-challenge {
    background: linear-gradient(135deg, var(--accent-color), #2980b9);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-challenge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-challenge.disabled {
    background: #444;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

/* Exam View */
#exam-interface {
    display: none;
}

.exam-timer {
    display: none;
    /* JS will toggle block */
    position: sticky;
    top: 20px;
    background: #1a1a1a;
    border: 1px solid var(--accent-color);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 100;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.exam-question {
    background: #252525;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.exam-option {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.exam-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.exam-option input[type="radio"] {
    transform: scale(1.2);
}

/* Results View */
.result-box {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2rem;
}

/* ========== ONLINE USERS PULSE ANIMATION ========== */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Responsive online counter */
@media (max-width: 768px) {
    .header-online {
        font-size: 0.8rem !important;
    }
}