/* Reset & Variables */
:root {
    /* Neon RPG Palette */
    --bg-dark: #020617; /* Deepest space blue */
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --white: #ffffff;
    
    /* Neon RPG Gradients */
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #d946ef 100%); /* Neon Purple/Pink */
    --gradient-blue: linear-gradient(135deg, #0ea5e9 0%, #2dd4bf 100%);   /* Cyan/Teal */
    --gradient-orange: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); /* Fire Orange/Red */
    --gradient-green: linear-gradient(135deg, #22c55e 0%, #84cc16 100%);  /* Poison Green */
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Neon RPG Glows */
    --neon-purple: 0 0 15px rgba(168, 85, 247, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
    --neon-blue: 0 0 15px rgba(14, 165, 233, 0.5), 0 0 30px rgba(14, 165, 233, 0.2);
    --neon-green: 0 0 15px rgba(34, 197, 94, 0.5), 0 0 30px rgba(34, 197, 94, 0.2);
    
    --shadow-soft: 0 10px 30px -10px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(168, 85, 247, 0.4);
    
    --radius-l: 24px;
    --radius-m: 16px;
    --radius-s: 12px;
    
    /* RPG Element Colors */
    --accent: #f472b6; /* Hot Pink */
    --surface: rgba(15, 23, 42, 0.8);
    --border: rgba(255, 255, 255, 0.1);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 450px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

.toast.active {
    transform: translateX(0);
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast-success .toast-icon { background: #dcfce7; color: #16a34a; }
.toast-error .toast-icon { background: #fee2e2; color: #dc2626; }
.toast-info .toast-icon { background: #e0e7ff; color: #4f46e5; }

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Poppins', sans-serif;
}

/* Hide Scrollbars */
*::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 40%);
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-main);
}

/* App Container - Responsive Override */
.app-container {
    width: 100%;
    /* Default to mobile-first view */
    max-width: 100%;
    min-height: 100vh;
    background-color: transparent;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: none; /* Reset shadow for full screen */
}

/* Desktop/Tablet Constraints */
@media screen and (min-width: 768px) {
    .app-container {
        max-width: 768px; /* Tablet width */
        margin: 0 auto;
        box-shadow: 0 0 50px rgba(168, 85, 247, 0.2);
        border: 1px solid var(--border);
        border-radius: 20px;
        height: 90vh; /* Floating window effect */
        max-height: 1000px;
        background: rgba(15, 23, 42, 0.7);
        backdrop-filter: blur(20px);
    }
}

@media screen and (min-width: 1024px) {
    .app-container {
        max-width: 1200px; /* Desktop width */
    }
    
    .levels-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Header */
.app-header {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    z-index: 50;
    position: sticky;
    top: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    display: none; /* Hidden by default (desktop first approach or handled by media queries) */
    transition: transform 0.2s;
}

.menu-toggle:active {
    transform: scale(0.9);
}

.back-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-sub);
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn:hover {
    color: var(--text-main);
}

.back-btn:active {
    transform: translateX(-4px);
}

/* Responsive Navigation */
.responsive-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-sub);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 12px;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
    background: rgba(244, 114, 182, 0.1);
    box-shadow: 0 0 15px rgba(244, 114, 182, 0.1);
}

.nav-highlight a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-weight: 700;
}

.highlight-circle {
    width: 40px;
    height: 40px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    transition: transform 0.2s;
}

.nav-highlight:hover .highlight-circle {
    transform: scale(1.1);
}

/* MEDIA QUERIES FOR NAVIGATION */

/* Mobile (< 768px) */
@media screen and (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    .responsive-nav {
        position: fixed;
        top: 72px; /* Header height */
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 72px);
        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(20px);
        border-right: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 40;
    }

    .responsive-nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .nav-link {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
        color: var(--text-main);
    }

    .nav-link:hover, .nav-link.active {
        color: var(--accent);
        background: rgba(244, 114, 182, 0.1);
        box-shadow: inset 4px 0 0 var(--accent);
    }

    .nav-highlight {
        order: -1; /* Show 'Oyna' at top */
        margin-bottom: 24px;
        width: 100%;
    }
    
    .nav-highlight a {
        justify-content: center;
        background: var(--gradient-dark);
        border: 1px solid var(--border);
        padding: 16px;
        border-radius: 16px;
    }
}

/* Small screens (320px - 480px) */
@media screen and (max-width: 480px) {
    .app-container {
        max-width: 100%;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
    
    .levels-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .level-card {
        height: 100px;
        padding: 14px;
    }
    
    .level-info h4 {
        font-size: 0.9rem;
    }
    
    .level-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
    
    .level-icon {
        font-size: 2.5rem;
        right: -8px;
        bottom: -8px;
    }
    
    .app-header {
        padding: 12px 16px;
    }
    
    .header-left {
        gap: 12px;
    }
    
    .stat-badge {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .avatar-img {
        width: 40px;
        height: 40px;
    }
    
    /* Premium card responsive */
    .premium-card {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .premium-bg-icon {
        font-size: 6rem;
        right: -15px;
        top: -15px;
    }
    
    /* Placement banner responsive */
    .placement-banner {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .placement-text h4 {
        font-size: 0.9rem;
    }
    
    .placement-text p {
        font-size: 0.75rem;
    }
    
    /* Modal responsive */
    .modal-box {
        padding: 24px 16px 40px 16px;
        border-radius: 24px 24px 0 0;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-header p {
        font-size: 0.9rem;
    }
    
    /* Button responsive */
    .btn-start-exam {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .btn-upgrade {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    /* Input responsive */
    .input-group input {
        font-size: 1rem;
        padding: 16px 16px 16px 48px;
    }
    
    .input-group i {
        left: 16px;
        font-size: 1.1rem;
    }
    
    /* Content area responsive */
    .content-scroll {
        padding: 16px;
        padding-bottom: 90px;
    }
    
    .section-header {
        margin-bottom: 12px;
    }
    
    .section-header h3 {
        font-size: 1rem;
    }
    
    .see-all {
        font-size: 0.8rem;
    }
}

/* Tablet (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .link-text {
        display: none; /* Hide text, show icons only */
    }

    .nav-list {
        gap: 16px;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px;
        justify-content: center;
    }

    .highlight-circle {
        width: 44px;
        height: 44px;
    }
}

/* Desktop (> 1024px) */
@media screen and (min-width: 1024px) {
    .app-header {
        padding: 20px 40px;
    }

    .nav-list {
        gap: 32px;
    }

    .nav-link {
        font-size: 1rem;
    }
}


.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timer-badge {
    background: var(--gradient-orange);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
    padding: 8px 16px;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.timer-badge i {
    color: white;
}

.stat-badge.fire {
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.stat-badge.gem {
    color: #0ea5e9;
    border: 1px solid rgba(14, 165, 233, 0.3);
    background: rgba(14, 165, 233, 0.1);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: var(--neon-purple);
}

.user-text .sub-text {
    font-size: 0.75rem;
    color: var(--text-sub);
    display: block;
    line-height: 1;
    margin-bottom: 2px;
}

.user-text h2 {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Scrollable Content */
.content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0; /* Changed padding to handle container padding */
    padding-bottom: 100px; /* Space for Bottom Nav */
    scrollbar-width: none;
}
.content-scroll::-webkit-scrollbar { display: none; }

/* Premium Upsell Card */
.premium-card {
    background: var(--gradient-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 24px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
    margin-bottom: 32px;
}

.premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.premium-card:hover::before {
    transform: translateX(100%);
}

.premium-bg-icon {
    position: absolute;
    right: -20px;
    top: -20px;
    font-size: 8rem;
    color: rgba(168, 85, 247, 0.1);
    transform: rotate(15deg);
}

.premium-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FBBF24;
}

.premium-header h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.premium-header p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.premium-features {
    list-style: none;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.premium-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.premium-features i {
    color: #34D399;
    font-size: 0.8rem;
}

.btn-upgrade {
    width: 100%;
    padding: 14px;
    background: var(--white);
    color: #020617;
    border: none;
    border-radius: var(--radius-m);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.btn-upgrade:active {
    transform: scale(0.98);
}

/* Pro Upsell Banner Styling */
.pro-banner {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-m);
    padding: 16px 24px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5), 0 0 20px rgba(168, 85, 247, 0.1);
    position: relative;
    overflow: hidden;
    /* Intro & Outro Animation */
    animation: bannerSlideInOut 10s ease-in-out forwards;
}

@keyframes bannerSlideInOut {
    0% { transform: translateY(-30px); opacity: 0; max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
    5% { transform: translateY(0); opacity: 1; max-height: 200px; margin-bottom: 32px; padding-top: 16px; padding-bottom: 16px; }
    90% { transform: translateY(0); opacity: 1; max-height: 200px; margin-bottom: 32px; padding-top: 16px; padding-bottom: 16px; }
    100% { transform: translateY(-30px); opacity: 0; max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; visibility: hidden; pointer-events: none; }
}

.pro-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: shine-banner 3s infinite linear;
}

@keyframes shine-banner {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.pro-banner .btn-upgrade {
    background: var(--gradient-purple);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-s);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    box-shadow: var(--neon-purple);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(168, 85, 247, 0.4); }
    50% { box-shadow: 0 0 25px rgba(168, 85, 247, 0.8); }
    100% { box-shadow: 0 0 10px rgba(168, 85, 247, 0.4); }
}

.pro-banner .btn-upgrade::after {
    content: '\f054'; /* FontAwesome chevron-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.pro-banner .btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
    filter: brightness(1.1);
}

.pro-banner .btn-upgrade:hover::after {
    transform: translateX(4px);
}

@media screen and (max-width: 768px) {
    .pro-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }
    .pro-banner .btn-upgrade {
        width: 100%;
        justify-content: center;
    }
}

/* Levels Grid */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}

.section-header h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
}

.see-all {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

/* Ödeme Ekranı Stilleri */
.pay-method-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pay-method-btn i {
    font-size: 1.2rem;
}

.pay-method-btn.active {
    background: white;
    color: var(--accent);
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.payment-form {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 16px;
    color: var(--text-main);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(8px);
}

.category-card:hover, .category-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    outline: none;
    background: rgba(15, 23, 42, 0.7);
}

.category-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: var(--text-main);
    font-size: 1.1rem;
}

.category-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.category-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.category-status {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
}

.level-card {
    border-radius: var(--radius-l);
    padding: 16px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.level-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.level-card:active {
    transform: scale(0.96);
}

.bg-purple-gradient { background: var(--gradient-purple); box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3); }
.bg-blue-gradient { background: var(--gradient-blue); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3); }
.bg-orange-gradient { background: var(--gradient-orange); box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3); }
.bg-green-gradient { background: var(--gradient-green); box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3); }

.level-badge {
    background: rgba(255,255,255,0.2);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    display: inline-block;
    margin-bottom: 6px;
}

.level-info h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.progress-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.progress-mini .bar {
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    flex: 1;
    position: relative;
}

.progress-mini .bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%; /* Dynamic width handled inline */
    background: var(--white);
    border-radius: 2px;
}

.level-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 3rem;
    opacity: 0.2;
    transform: rotate(-10deg);
}

.lock-overlay {
    background: rgba(0,0,0,0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* Placement Banner */
.placement-banner {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-l);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
    border: 1px solid var(--border);
    cursor: pointer;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.placement-banner:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
    transform: translateY(-2px);
}

.placement-banner.emphasis {
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px rgba(244, 114, 182, 0.2);
}

.placement-text h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 4px;
    font-weight: 800;
}

.placement-text p {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.placement-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 114, 182, 0.15);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.75rem;
    border: 1px solid rgba(244, 114, 182, 0.3);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.placement-action {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    border: 1px solid var(--border);
    position: relative;
}

.placement-action.pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(244, 114, 182, 0.4);
    animation: pulse-highlight 1.8s ease-out infinite;
}

@keyframes pulse-highlight {
    0% { box-shadow: 0 0 0 0 rgba(244, 114, 182, 0.4); }
    70% { box-shadow: 0 0 0 18px rgba(244, 114, 182, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 114, 182, 0); }
}

/* Clean up old bottom nav styles */
/* Modern Bottom Nav (Fixed Full Width) - REMOVED */


/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 100;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    width: 100%;
    background: #0f172a;
    border-radius: 30px 30px 0 0;
    padding: 32px 24px 48px 24px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-top: 1px solid var(--border);
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-sub);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.input-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s;
}

.input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(244, 114, 182, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.input-group i {
    color: var(--text-sub);
}

.input-group input {
    border: none;
    background: transparent;
    font-size: 1.1rem;
    width: 100%;
    outline: none;
    color: white;
}

.btn-start-exam {
    width: 100%;
    padding: 16px;
    background: var(--gradient-purple);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.btn-text {
    width: 100%;
    padding: 16px;
    background: transparent;
    border: none;
    color: var(--text-sub);
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
}

/* Toast Alert (Locked Level) */
.toast-alert {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    background: #1f2937;
    color: var(--white);
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 200;
}

.toast-alert i {
    color: #fbbf24;
}

.toast-alert.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.splash-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 500;
}
.splash-overlay.active { display: flex; }

.splash-step {
    width: 92%;
    max-width: 480px;
    background: #0f172a;
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 40px 32px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    display: none;
    text-align: center;
}

.splash-step.active { 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    animation: scale-up 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes scale-up {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.splash-logo {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-purple);
    color: white;
    font-size: 2rem;
    margin-bottom: 24px;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.splash-title {
    font-weight: 800;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.splash-loader {
    width: 200px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.splash-loader span {
    display: block;
    height: 100%;
    background: var(--gradient-purple);
    width: 0%;
    animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.splash-skip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    color: white;
    padding: 12px 32px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.splash-skip:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}
.splash-loader span {
    display: block;
    height: 100%;
    background: var(--gradient-purple);
    width: 0%;
    animation: loading 2s infinite ease-in-out;
}
@keyframes loading {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.splash-next, .splash-finish {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    border: none;
    background: var(--gradient-purple);
    color: white;
    font-weight: 800;
    margin-top: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    transition: all 0.3s;
}

.splash-next:hover, .splash-finish:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
}

.mini-game-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
    position: relative;
    border: 1px solid var(--border);
}

.question-text {
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.choice-tile {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-sub);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.choice-tile:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.choice-tile.correct {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    color: #4ade80;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

.choice-tile.wrong {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #f87171;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
    animation: shake 0.4s;
}
.hand-cursor {
    position: absolute;
    bottom: 20%;
    right: 30%;
    font-size: 2rem;
    animation: hand-bounce 1.5s infinite;
    pointer-events: none;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}
@keyframes hand-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.splash-actions { display: flex; gap: 8px; }
.summary { display: grid; gap: 6px; margin: 8px 0 4px; }

@media screen and (max-width: 480px) {
    .splash-step { width: 96%; padding: 20px; }
}

/* Exam Page Specific - Neon RPG & Mobile Optimized */
.question-card {
    display: none;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease;
}

.question-card.active {
    display: block;
}

.exam-section {
    display: none;
}

.exam-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.question-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.1);
}

.question-card h3 {
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    font-weight: 800;
}

.badge-mini {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--text-sub);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.question-text-main {
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--text-main);
    margin-bottom: 24px;
    font-weight: 600;
}

.reading-content-box {
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: var(--radius-m);
    margin: 24px 0;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-bottom: 40px;
}

.btn-nav {
    flex: 1;
    padding: 16px;
    min-height: 56px; /* Enhanced touch target for mobile */
    border-radius: var(--radius-m);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
}

.pro-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.lite-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-sub);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 600;
}

.btn-nav.btn-primary {
    background: var(--gradient-purple);
    border: none;
    box-shadow: var(--neon-purple);
}

.btn-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
}

.btn-nav:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

/* Mobile Optimized Options */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
}

.option-card, .options label {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border);
    border-radius: var(--radius-m);
    padding: 18px 24px;
    color: var(--text-main);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    position: relative;
    font-size: 1rem;
    min-height: 60px; /* Better for mobile touch */
}

.option-card:hover, .options label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateX(5px);
}

.option-card.selected, .options input[type="radio"]:checked + span, .options label:has(input[type="radio"]:checked) {
    background: var(--gradient-purple);
    border-color: transparent;
    box-shadow: var(--neon-purple);
    color: white;
}

/* Hide native radio, but keep accessible */
.options input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Transcript Styles */
.transcript-content {
    display: none;
    background: rgba(0, 0, 0, 0.3);
    padding: 18px;
    border-radius: var(--radius-m);
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
    border-left: 4px solid var(--accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    max-height: 280px;
    overflow-y: auto;
    color: var(--text-main);
}

.transcript-content.show {
    display: block;
}

/* Audio Controls - Modern & Minimal */
.audio-controls {
    background: rgba(15, 23, 42, 0.4);
    padding: 10px 14px;
    border-radius: var(--radius-m);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.btn-listen-icon, .btn-transcript-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
}

.btn-listen-icon {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-listen-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.5);
}

.btn-listen-icon:disabled {
    background: #475569;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-transcript-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-sub);
}

.btn-transcript-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transform: translateY(-2px);
}

.remaining-count {
    font-size: 0.85rem;
    color: var(--text-sub);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 4px;
}

.remaining-count strong {
    color: var(--accent);
    font-weight: 700;
}

.btn-listen {
    background: var(--gradient-blue) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2) !important;
    padding: 10px 18px !important;
    border-radius: var(--radius-s) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-listen:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4) !important;
}

.transcript-toggle {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-sub) !important;
    padding: 10px 18px !important;
    border-radius: var(--radius-s) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
}

.transcript-toggle:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-main) !important;
}

/* Progress Bar - Neon */
.progress-container {
    background: rgba(255, 255, 255, 0.05);
    height: 10px;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.progress-bar {
    background: var(--gradient-purple);
    height: 100%;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Writing Section */
textarea {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 2px solid var(--border) !important;
    color: white !important;
    border-radius: var(--radius-m) !important;
    padding: 20px !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    transition: border-color 0.3s !important;
}

textarea:focus {
    outline: none !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 15px rgba(244, 114, 182, 0.2) !important;
}

/* Section Intros - Modern & Minimal */
.section-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

/* Pro Modal Styles (Shared) */
.pro-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pro-modal {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--neon-purple);
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.pro-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.premium-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.premium-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.premium-features li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.premium-features li i {
    color: #22C55E;
    font-size: 1rem;
    filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.5));
}

.btn-upgrade {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: white;
    color: var(--accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid white;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.section-intro h1 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255,255,255,0.1));
}

.section-intro h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-sub);
    margin-bottom: 12px;
    font-weight: 700;
    opacity: 0.8;
}

.section-intro p {
    font-size: 0.95rem;
    color: var(--text-sub);
    font-weight: 500;
}

.section-intro p strong {
    color: var(--accent);
    font-weight: 700;
}

/* Responsive Tweaks */
@media (max-width: 600px) {
    .question-card {
        padding: 20px 16px;
        margin-left: -10px;
        margin-right: -10px;
        border-radius: 0; /* Full width feel on mobile */
        border-left: none;
        border-right: none;
    }
    
    .option-card, .options label {
        padding: 20px;
        font-size: 1.1rem; /* Larger text for mobile */
    }
    
    .app-header {
        padding: 12px 16px;
    }
}

.tutorial-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 320;
}
