/**
 * Premium Mobile App Style UI
 * Modern Dark Theme with Golden Accents
 */

/* ===== Premium Variables ===== */
:root {
    --app-header-height: 60px;
    --app-bottom-nav-height: 68px;
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    
    /* Premium Dark Theme Colors */
    --dark-900: #0a0e14;
    --dark-800: #111827;
    --dark-700: #1e293b;
    --dark-600: #334155;
    --dark-500: #475569;
    
    /* Golden Accent Colors */
    --gold-50: #fef9e7;
    --gold-100: #fef3c7;
    --gold-200: #fde68a;
    --gold-300: #fcd34d;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;
    
    /* Success/Status Colors */
    --success-400: #34d399;
    --success-500: #10b981;
    --danger-400: #f87171;
    --danger-500: #ef4444;
    --info-400: #60a5fa;
    --info-500: #3b82f6;
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* UI Colors */
    --bg-body: linear-gradient(180deg, #0a0e14 0%, #111827 100%);
    --bg-card: rgba(30, 41, 59, 0.6);
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(251, 191, 36, 0.3);
    
    /* Premium Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(251, 191, 36, 0.2);
    --shadow-glow: 0 0 30px rgba(251, 191, 36, 0.15);
}

/* ===== Base App Layout ===== */
body.app-body {
    background: var(--bg-body);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
}

.app-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-body);
    background-attachment: fixed;
}

.app-content {
    flex: 1;
    padding-top: calc(var(--app-header-height) + var(--safe-area-top));
    padding-bottom: calc(var(--app-bottom-nav-height) + var(--safe-area-bottom) + 20px);
    overflow-x: hidden;
}

/* ===== Premium App Header ===== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--app-header-height) + var(--safe-area-top));
    padding-top: var(--safe-area-top);
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-accent);
    z-index: 1000;
}

.app-header-inner {
    height: var(--app-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.app-header-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.app-header-title .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #000;
    box-shadow: var(--shadow-gold);
}

.app-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-header-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.app-header-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    transform: translateY(-1px);
}

.app-header-btn:active {
    transform: scale(0.95);
}

.app-header-btn svg {
    width: 22px;
    height: 22px;
}

/* ===== Premium Bottom Navigation ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--app-bottom-nav-height) + var(--safe-area-bottom));
    padding-bottom: var(--safe-area-bottom);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.98) 0%, rgba(10, 14, 20, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-accent);
    display: flex;
    z-index: 1000;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.bottom-nav-item svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
    transition: all 0.2s ease;
}

.bottom-nav-item.active {
    color: var(--gold-400);
}

.bottom-nav-item.active svg {
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
    border-radius: 0 0 3px 3px;
}

.bottom-nav-item:active {
    transform: scale(0.95);
}

/* ===== Premium Mobile Menu ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85%;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 28px 24px;
    background: linear-gradient(135deg, var(--dark-800) 0%, var(--dark-700) 100%);
    border-bottom: 1px solid var(--border-accent);
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.mobile-menu-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    box-shadow: var(--shadow-gold);
}

.mobile-menu-user-info h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.mobile-menu-user-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.mobile-menu-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    box-shadow: var(--shadow-gold);
}

.mobile-menu-premium svg {
    width: 16px;
    height: 16px;
}

.mobile-menu-nav {
    flex: 1;
    padding: 16px 0;
}

.mobile-menu-section {
    padding: 16px 24px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-link:hover {
    background: rgba(251, 191, 36, 0.05);
    color: var(--text-primary);
}

.mobile-menu-link:active {
    background: rgba(251, 191, 36, 0.1);
}

.mobile-menu-link svg {
    width: 22px;
    height: 22px;
    opacity: 0.7;
}

.mobile-menu-link.active {
    background: rgba(251, 191, 36, 0.1);
    color: var(--gold-400);
    border-left-color: var(--gold-400);
}

.mobile-menu-link.active svg {
    color: var(--gold-400);
    opacity: 1;
}

.mobile-menu-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 12px 24px;
}

.mobile-menu-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-subtle);
}

.mobile-menu-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--danger-400);
    font-size: 15px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-menu-logout:hover {
    color: var(--danger-500);
}

.mobile-menu-logout svg {
    width: 22px;
    height: 22px;
}

/* ===== Premium Exam/Subject Cards ===== */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 16px 20px;
}

.exam-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 24px 18px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.exam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--purple-400));
    opacity: 0;
    transition: opacity 0.3s;
}

.exam-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.exam-card:hover::before {
    opacity: 1;
}

.exam-card:active {
    transform: scale(0.97);
}

.exam-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.exam-card:hover .exam-card-icon {
    transform: scale(1.1);
}

.exam-card-icon svg {
    width: 32px;
    height: 32px;
}

.exam-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.exam-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Full width exam card variant */
.exam-card-full {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
    padding: 18px;
}

.exam-card-full .exam-card-icon {
    margin: 0;
    flex-shrink: 0;
}

.exam-card-full .exam-card-content {
    flex: 1;
}

.exam-card-full .exam-card-arrow {
    color: var(--text-muted);
    transition: all 0.3s;
}

.exam-card-full:hover .exam-card-arrow {
    color: var(--gold-400);
    transform: translateX(4px);
}

/* ===== Premium Search Bar ===== */
.app-search {
    padding: 16px;
    background: transparent;
}

.app-search-input {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 14px 18px;
    gap: 14px;
    transition: all 0.3s ease;
}

.app-search-input:focus-within {
    border-color: var(--gold-400);
    box-shadow: var(--shadow-glow);
}

.app-search-input svg {
    width: 22px;
    height: 22px;
    color: var(--gold-400);
    flex-shrink: 0;
}

.app-search-input input {
    flex: 1;
    border: none;
    background: none;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
}

.app-search-input input::placeholder {
    color: var(--text-muted);
}

/* ===== Premium Quick Actions / Chips ===== */
.quick-actions {
    display: flex;
    gap: 10px;
    padding: 8px 16px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.quick-actions::-webkit-scrollbar {
    display: none;
}

.quick-action-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-action-chip:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
}

.quick-action-chip:active {
    transform: scale(0.96);
}

.quick-action-chip.active {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: #000;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.quick-action-chip svg {
    width: 18px;
    height: 18px;
}

/* ===== Premium Section Headers ===== */
.app-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 16px 14px;
}

.app-section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-section-header h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
    border-radius: 2px;
}

.app-section-header a {
    font-size: 14px;
    color: var(--gold-400);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.app-section-header a:hover {
    color: var(--gold-300);
}

.app-section-header a svg {
    width: 16px;
    height: 16px;
}

/* ===== Premium Stats Cards ===== */
.app-stats-row {
    display: flex;
    gap: 14px;
    padding: 0 16px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.app-stats-row::-webkit-scrollbar {
    display: none;
}

.app-stat-card {
    flex: 0 0 auto;
    width: 150px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.app-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--purple-400));
}

.app-stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.app-stat-card-icon svg {
    width: 24px;
    height: 24px;
}

.app-stat-card h4 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1;
}

.app-stat-card p {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== Premium List Items ===== */
.app-list {
    background: var(--bg-card);
    margin: 0 16px 24px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.app-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.app-list-item:last-child {
    border-bottom: none;
}

.app-list-item:hover {
    background: rgba(251, 191, 36, 0.05);
}

.app-list-item:active {
    background: rgba(251, 191, 36, 0.1);
}

.app-list-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-list-item-icon svg {
    width: 26px;
    height: 26px;
}

.app-list-item-content {
    flex: 1;
    min-width: 0;
}

.app-list-item-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-list-item-content p {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-list-item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.app-list-item-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-list-item-badge.free {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-400);
}

.app-list-item-badge.premium {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-400);
}

.app-list-item-arrow {
    color: var(--text-muted);
    transition: all 0.2s;
}

.app-list-item:hover .app-list-item-arrow {
    color: var(--gold-400);
    transform: translateX(3px);
}

.app-list-item-arrow svg {
    width: 20px;
    height: 20px;
}

/* ===== Premium Hero Banner ===== */
.app-hero {
    margin: 16px;
    background: linear-gradient(135deg, var(--dark-800) 0%, var(--dark-700) 100%);
    border: 1px solid var(--border-accent);
    border-radius: 24px;
    padding: 28px 24px;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.app-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -30%;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    opacity: 0.1;
    border-radius: 50%;
}

.app-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 10%;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--purple-400), var(--info-400));
    opacity: 0.08;
    border-radius: 50%;
}

.app-hero h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.app-hero h2 span {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-hero p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.app-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: #000;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.app-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.35);
}

.app-hero-btn:active {
    transform: scale(0.97);
}

.app-hero-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Premium Empty State ===== */
.app-empty-state {
    text-align: center;
    padding: 60px 32px;
}

.app-empty-state svg {
    width: 90px;
    height: 90px;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.4;
}

.app-empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.app-empty-state p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ===== Premium Tab Bar ===== */
.app-tabs {
    display: flex;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: calc(var(--app-header-height) + var(--safe-area-top));
    z-index: 100;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.app-tabs::-webkit-scrollbar {
    display: none;
}

.app-tab {
    flex: 1;
    min-width: max-content;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.app-tab:hover {
    color: var(--text-primary);
}

.app-tab.active {
    color: var(--gold-400);
}

.app-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
    border-radius: 3px 3px 0 0;
}

/* ===== Progress Circle ===== */
.progress-circle {
    position: relative;
    width: 52px;
    height: 52px;
}

.progress-circle svg {
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: var(--border-subtle);
    stroke-width: 4;
}

.progress-circle-fill {
    fill: none;
    stroke: var(--gold-400);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s;
}

.progress-circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===== Floating Action Button ===== */
.fab {
    position: fixed;
    bottom: calc(var(--app-bottom-nav-height) + var(--safe-area-bottom) + 20px);
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: #000;
    border: none;
    box-shadow: var(--shadow-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 500;
    transition: all 0.3s ease;
}

.fab:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.fab:active {
    transform: scale(0.95);
}

.fab svg {
    width: 28px;
    height: 28px;
}

/* ===== Toast Notification ===== */
.app-toast {
    position: fixed;
    bottom: calc(var(--app-bottom-nav-height) + var(--safe-area-bottom) + 20px);
    left: 20px;
    right: 20px;
    background: var(--dark-700);
    color: var(--text-primary);
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 14px;
    z-index: 3000;
    border: 1px solid var(--border-accent);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.app-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Responsive Adjustments ===== */
@media (min-width: 768px) {
    .exam-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin: 0 auto;
        padding: 0 24px 20px;
    }
    
    .app-hero {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .app-list {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .mobile-menu {
        width: 340px;
    }
}

@media (min-width: 1024px) {
    .bottom-nav {
        display: none;
    }
    
    .app-content {
        padding-bottom: 40px;
    }
    
    .exam-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1100px;
    }
}
