
    /* Exact Tracker Base CSS Variables */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg: #080B1A;
      --surface: rgba(20, 20, 25, 0.6);
      --surface-hover: rgba(30, 30, 40, 0.8);
      --surface-solid: #15151a;
      --border: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(255, 255, 255, 0.2);
      --text: #ffffff;
      --text2: #a0a0a0;
      
      --quiz-accent: #6366f1;
      --quiz-accent-glow: rgba(99, 102, 241, 0.4);
      --accent: #3b82f6;
      --accent-glow: rgba(59, 130, 246, 0.4);
      --accent2: #8b5cf6;
      --green: #10b981;
      --green-glow: rgba(16, 185, 129, 0.4);
      --orange: #f59e0b;
      --red: #ef4444;
      
      --radius: 24px;
      --radius-md: 16px;
      --radius-sm: 10px;
      --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
      --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    html {
      font-size: 16px;
      scroll-behavior: smooth;
      scrollbar-width: thin;
      scrollbar-color: #00D9FF #080B1A;
    }

    /* ─── Custom Premium Scrollbar ───────────── */
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }

    html::-webkit-scrollbar-track,
    body::-webkit-scrollbar-track {
      background: #080B1A;
    }

    html::-webkit-scrollbar-thumb,
    body::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, #00D9FF 0%, #BB86FC 100%);
      border-radius: 999px;
      border: 2px solid #080B1A;
      box-shadow: 0 0 8px rgba(0, 217, 255, 0.5);
    }

    html::-webkit-scrollbar-thumb:hover,
    body::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(180deg, #1affff 0%, #cc88ff 100%);
      box-shadow: 0 0 14px rgba(0, 217, 255, 0.8);
    }

    html::-webkit-scrollbar-thumb:active,
    body::-webkit-scrollbar-thumb:active {
      background: linear-gradient(180deg, #BB86FC 0%, #00D9FF 100%);
    }

    body {
      font-family: 'Outfit', 'Inter', sans-serif;
      background-color: var(--bg);
      color: var(--text);
      min-height: 100vh;
      line-height: 1.5;
      overflow-x: hidden;
      position: relative;
    }

    /* ── Loader ── */
    .page-loader {
      position: fixed; inset: 0; background: var(--bg); z-index: 999;
      display: flex; flex-direction:column; align-items: center; justify-content: center; gap:16px;
      transition: opacity 0.5s, visibility 0.5s;
    }
    .page-loader.hidden { opacity: 0; visibility: hidden; }
    .loader-ring {
      width:52px; height:52px; border-radius:50%;
      border:3px solid rgba(99,102,241,0.1); border-top-color:var(--quiz-accent);
      animation: spinLoader 0.8s linear infinite;
    }
    .loader-text { font-size:0.85rem; color:var(--text2); font-weight:600; font-family:'Cairo', sans-serif; }
    @keyframes spinLoader { to { transform:rotate(360deg); } }

    /* Background Orbs */
    .bg-grid {
      position: fixed;
      inset: 0;
      background-size: 40px 40px;
      background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
      z-index: 0;
      pointer-events: none;
    }

    .blobs {
      position: fixed;
      inset: 0;
      overflow: hidden;
      z-index: 0;
      pointer-events: none;
    }

    .blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(120px);
      opacity: 0.15;
      animation: float 20s infinite ease-in-out alternate;
      will-change: transform;
    }

    .blob-1 {
      top: -10%;
      left: -10%;
      width: 500px;
      height: 500px;
      background: var(--quiz-accent);
      animation-delay: 0s;
    }

    .blob-2 {
      bottom: -20%;
      right: -10%;
      width: 600px;
      height: 600px;
      background: var(--accent2);
      animation-delay: -5s;
    }
    @keyframes float {
      0% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(30px, 50px) scale(1.1); }
      100% { transform: translate(-30px, -20px) scale(0.9); }
    }

    /* Navbar */
    .tracker-navbar {
      position: sticky;
      top: 15px;
      z-index: 100;
      padding: 12px 20px;
      background: rgba(20, 20, 25, 0.6);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius);
      width: 95%;
      max-width: 1200px;
      margin: 15px auto 25px auto;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .tracker-nav-inner {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .tracker-nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--accent);
      font-weight: 800;
      font-size: 1.15rem;
    }

    .tracker-nav-logo img {
      border-radius: 10px;
    }

    .tracker-nav-links {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .tracker-nav-links a {
      text-decoration: none;
      color: var(--text2);
      font-size: 0.88rem;
      font-weight: 600;
      padding: 7px 16px;
      border-radius: 10px;
      transition: var(--transition);
    }

    .tracker-nav-links a:hover {
      color: var(--text);
      background: rgba(255, 255, 255, 0.06);
    }

    .tracker-nav-links a.active {
      color: var(--quiz-accent);
      background: rgba(99, 102, 241, 0.08);
      border: 1px solid rgba(99, 102, 241, 0.15);
    }

    .container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 24px 24px 80px;
      position: relative;
      z-index: 1;
    }

    /* Header */
    header {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 24px 30px;
      margin-bottom: 30px;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      background: rgba(20, 20, 25, 0.4);
      border-radius: var(--radius-md);
      backdrop-filter: blur(20px);
      position: relative;
      overflow: hidden;
      box-shadow: 0 8px 32px rgba(0,0,0,0.3);
      animation: fadeDown 0.6s ease-out;
    }
    
    header::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--quiz-accent), transparent);
      opacity: 0.6;
    }

    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .logo-icon {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, var(--quiz-accent), var(--accent2));
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      font-weight: 800;
      color: #fff;
      box-shadow: 0 0 24px var(--quiz-accent-glow);
      position: relative;
      overflow: hidden;
    }

    .logo h1 {
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -0.5px;
      background: linear-gradient(to right, #fff, var(--text2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .logo h1 span {
      background: linear-gradient(to right, var(--quiz-accent), var(--accent2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .header-sub {
      font-size: 15px;
      color: var(--text2);
    }

    @keyframes fadeDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Glass Panels */
    .glass-panel {
      background: var(--surface);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 30px;
      box-shadow: var(--shadow);
      transition: var(--transition);
      animation: fadeDown 0.6s ease-out 0.1s both;
    }

    /* Screens */
    .screen {
      display: none;
    }

    .screen.active {
      display: block;
      animation: fadeIn 0.4s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Buttons */
    .btn {
      padding: 12px 24px;
      border-radius: var(--radius-sm);
      border: 1px solid transparent;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: var(--transition);
      font-size: 15px;
      position: relative;
      overflow: hidden;
      font-family: inherit;
    }

    .btn::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(rgba(255,255,255,0.1), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .btn:hover::before { opacity: 1; }

    .btn-primary {
      background: linear-gradient(135deg, var(--quiz-accent), var(--accent2));
      color: white;
      box-shadow: 0 4px 15px var(--quiz-accent-glow);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px var(--quiz-accent-glow);
    }

    .btn-outline {
      background: rgba(255, 255, 255, 0.03);
      border-color: var(--border);
      color: var(--text);
      backdrop-filter: blur(10px);
    }

    .btn-outline:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.2);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .btn-danger {
      background: rgba(239, 68, 68, 0.1);
      border-color: rgba(239, 68, 68, 0.3);
      color: var(--red);
    }

    .btn-danger:hover {
      background: rgba(239, 68, 68, 0.2);
      border-color: var(--red);
      transform: translateY(-2px);
    }

    /* Quiz Grid */
    .quiz-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 24px;
    }

    .quiz-card {
      background: rgba(20, 20, 25, 0.4);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.04);
      border-left: 3px solid var(--quiz-accent);
      border-radius: var(--radius-md);
      padding: 22px 24px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      transition: var(--transition);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    .quiz-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 70%);
      border-radius: inherit;
      pointer-events: none;
    }

    .quiz-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
      border-color: rgba(255, 255, 255, 0.1);
      background: rgba(30, 30, 40, 0.6);
    }
    
    .quiz-card:hover::before {
      background: radial-gradient(circle at top right, rgba(99,102,241,0.1), transparent 70%);
    }

    .quiz-card h3 {
      font-size: 19px;
      font-weight: 700;
      color: #fff;
    }

    .quiz-card p {
      font-size: 13px;
      color: var(--text2);
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .quiz-attempt-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
      border: 1px solid;
      background: rgba(0, 0, 0, 0.25);
      white-space: nowrap;
      transition: all 0.2s ease;
      letter-spacing: 0.3px;
      cursor: pointer;
      font-family: inherit;
    }

    .quiz-attempt-badge:hover {
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .quiz-attempt-badge i {
      font-size: 12px;
    }

    .quiz-actions {
      display: flex;
      gap: 8px;
      margin-top: 10px;
    }

    .quiz-actions button {
      flex: 1;
      padding: 10px;
      border-radius: 10px;
      font-size: 13px;
      cursor: pointer;
      border: none;
      font-weight: 600;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 5px;
      transition: var(--transition);
    }

    .btn-start {
      background: rgba(0, 217, 255, 0.15);
      color: var(--accent);
      border: 1px solid rgba(0, 217, 255, 0.3) !important;
    }

    .btn-start:hover {
      background: rgba(0, 217, 255, 0.25);
    }

    .btn-edit {
      background: rgba(255, 255, 255, 0.05);
      color: #fff;
    }

    .btn-edit:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .btn-delete {
      background: rgba(255, 0, 110, 0.05);
      color: var(--red);
    }

    .btn-delete:hover {
      background: rgba(255, 0, 110, 0.15);
    }

    .btn-export {
      background: rgba(187, 134, 252, 0.05);
      color: var(--accent2);
    }

    .btn-export:hover {
      background: rgba(187, 134, 252, 0.15);
    }

    .btn-pdf {
      background: rgba(255, 149, 0, 0.05);
      color: #ff9500;
    }

    .btn-pdf:hover {
      background: rgba(255, 149, 0, 0.15);
      box-shadow: 0 0 10px rgba(255, 149, 0, 0.1);
    }

    .pdf-option-card {
      cursor: pointer;
      padding: 20px 24px;
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: var(--radius-md);
      background: rgba(20, 20, 25, 0.4);
      margin-bottom: 16px;
      transition: var(--transition);
    }

    .pdf-option-card:hover {
      background: rgba(30, 30, 40, 0.8);
      border-color: rgba(255, 255, 255, 0.15);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    /* Quiz Player */
    .quiz-header-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--border);
    }

    .quiz-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .quiz-progress {
      font-size: 14px;
      color: var(--text2);
    }

    /* ── Timer (circular widget) ── */
    .timer {
      position: relative;
      width: 80px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .timer-ring-svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      transform: rotate(-90deg);
    }

    .timer-inner {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1px;
    }

    .timer-digits {
      font-size: 15px;
      font-weight: 800;
      font-family: 'Inter', monospace;
      letter-spacing: 0.5px;
      color: var(--quiz-accent);
      line-height: 1;
      transition: color 0.3s;
    }

    .timer-label {
      font-size: 8px;
      font-weight: 700;
      color: var(--text2);
      text-transform: uppercase;
      letter-spacing: 1px;
      line-height: 1;
    }

    #timerRingBg {
      stroke: rgba(255,255,255,0.06);
    }

    #timerRingCircle {
      stroke: var(--quiz-accent);
      stroke-dasharray: 207.3;
      stroke-dashoffset: 0;
      stroke-linecap: round;
      transition: stroke-dashoffset 1s linear, stroke 0.3s;
      filter: drop-shadow(0 0 5px var(--quiz-accent-glow));
    }

    .timer.danger .timer-digits { color: var(--red); }
    .timer.danger #timerRingCircle {
      stroke: var(--red);
      filter: drop-shadow(0 0 6px rgba(255,0,110,0.6));
      animation: timerPulse 1s infinite;
    }
    @keyframes timerPulse {
      0%,100% { opacity: 1; }
      50%      { opacity: 0.6; }
    }

    @media (max-width: 480px) {
      .timer { width: 64px; height: 64px; }
      .timer-digits { font-size: 12px; }
    }

    /* ── Toast Notifications ─────────── */
    #toastContainer {
      position: fixed;
      bottom: 80px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 9999;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      pointer-events: none;
    }
    .toast {
      background: rgba(30,36,60,0.97);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 14px;
      padding: 12px 20px;
      font-size: 14px;
      font-weight: 600;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
      animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
      pointer-events: auto;
      white-space: nowrap;
    }
    .toast.out { animation: toastOut 0.3s ease forwards; }
    .toast.success { border-color: rgba(57,255,20,0.3); }
    .toast.error { border-color: rgba(255,0,110,0.3); }
    .toast.warning { border-color: rgba(255,107,53,0.3); }
    .toast.info { border-color: rgba(99,102,241,0.3); }
    @keyframes toastIn {
      from { opacity:0; transform:translateY(20px) scale(0.9); }
      to   { opacity:1; transform:translateY(0) scale(1); }
    }
    @keyframes toastOut {
      to { opacity:0; transform:translateY(10px) scale(0.95); }
    }

    /* ── More Menu (card) ─────────────── */
    .more-menu-wrap { position: relative; flex: 0 0 auto !important; }
    .btn-more {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px;
      color: var(--text2);
      cursor: pointer;
      padding: 8px 10px;
      font-size: 16px;
      transition: all 0.2s;
      display: flex; align-items: center; justify-content: center;
      font-family: inherit;
    }
    .btn-more:hover { background: rgba(255,255,255,0.1); color: #fff; }
    .more-dropdown {
      display: none;
      position: absolute;
      bottom: calc(100% + 6px);
      right: 0;
      background: rgba(20,24,48,0.98);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 14px;
      padding: 8px;
      min-width: 160px;
      z-index: 200;
      box-shadow: 0 16px 40px rgba(0,0,0,0.5);
      animation: dropIn 0.2s cubic-bezier(0.34,1.56,0.64,1);
    }
    .more-dropdown.open { display: block; }
    @keyframes dropIn {
      from { opacity:0; transform:scale(0.9) translateY(8px); }
      to   { opacity:1; transform:scale(1) translateY(0); }
    }
    .more-dropdown button {
      width: 100%;
      background: transparent;
      border: none;
      color: var(--text2);
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      padding: 9px 14px;
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: all 0.15s;
      text-align: left;
    }
    .more-dropdown button:hover { background: rgba(255,255,255,0.07); color: #fff; }
    .more-dropdown button.danger { color: var(--red); }
    .more-dropdown button.danger:hover { background: rgba(255,0,110,0.1); }
    .more-dropdown hr { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 4px 0; }

    /* ── Skeleton Loading ─────────────── */
    .skeleton-card {
      background: linear-gradient(160deg, rgba(30,36,60,0.7), rgba(18,22,45,0.6));
      border: 1px solid rgba(255,255,255,0.05);
      border-left: 3px solid rgba(99,102,241,0.2);
      border-radius: 20px;
      padding: 22px 24px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .skel {
      border-radius: 8px;
      background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
      background-size: 200% 100%;
      animation: shimmer 1.5s infinite;
    }
    @keyframes shimmer {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }
    .skel-title { height: 22px; width: 65%; }
    .skel-sub { height: 14px; width: 85%; }
    .skel-actions { height: 38px; width: 100%; border-radius: 10px; }

    /* ── Empty State ──────────────────── */
    .empty-state {
      grid-column: 1/-1;
      text-align: center;
      padding: 60px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }
    .empty-state-icon {
      font-size: 64px;
      color: rgba(99,102,241,0.4);
      animation: float 4s ease-in-out infinite alternate;
    }
    .empty-state h3 { font-size: 22px; font-weight: 700; color: var(--text); }
    .empty-state p { font-size: 14px; color: var(--text2); max-width: 280px; line-height: 1.6; }

    /* ── Category Color Chips ─────────── */
    .cat-chip {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
      border: 1px solid;
      opacity: 0.85;
    }

    /* ── Ripple Effect ────────────────── */
    .option-btn {
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: stretch;
      width: 100%;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--radius-sm);
      margin-bottom: 12px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      min-height: 50px;
    }

    .option-btn:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.15);
      transform: translateX(4px);
    }

    .option-btn.selected {
      background: rgba(99, 102, 241, 0.15);
      border-color: var(--quiz-accent);
      box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    }

    .option-btn.correct {
      border-color: var(--green);
      background: rgba(57, 255, 20, 0.1);
      color: var(--green);
    }

    .option-btn.wrong {
      border-color: var(--red);
      background: rgba(255, 0, 110, 0.1);
      color: var(--red);
    }

    .shortcut-hint {
      display: inline-block;
      font-size: 11px;
      background: rgba(255, 255, 255, 0.1);
      padding: 2px 8px;
      border-radius: 4px;
      font-family: monospace;
      color: var(--text2);
      margin-right: 5px;
    }

    .explanation {
      margin-top: 24px;
      padding: 20px;
      border-radius: 14px;
      background: rgba(10, 14, 39, 0.5);
      border-left: 4px solid var(--quiz-accent);
      display: none;
      animation: fadeIn 0.4s;
    }

    .explanation h4 {
      margin: 0 0 8px 0;
      color: var(--quiz-accent);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .quiz-footer {
      margin-top: 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid var(--border);
      padding-top: 20px;
    }

    /* Review List */
    .review-card {
      background: rgba(0, 0, 0, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 20px;
      text-align: left;
    }

    .review-card h4 {
      font-size: 16px;
      margin-bottom: 15px;
      color: #fff;
      line-height: 1.5;
      white-space: pre-wrap;
    }

    .review-option {
      padding: 10px 14px;
      border-radius: 10px;
      font-size: 14px;
      margin-bottom: 8px;
      border: 1px solid rgba(255, 255, 255, 0.05);
      background: rgba(255, 255, 255, 0.02);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .review-option.correct {
      background: rgba(57, 255, 20, 0.1);
      border-color: var(--green);
      color: var(--green);
    }

    .review-option.wrong {
      background: rgba(255, 0, 110, 0.1);
      border-color: var(--red);
      color: var(--red);
    }

    .review-option i {
      font-size: 18px;
    }

    /* Visual Editor */
    .form-group {
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      font-size: 14px;
      color: var(--text2);
    }

    .input-field {
      width: 100%;
      padding: 14px 18px;
      background: rgba(20, 20, 25, 0.6);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--text);
      font-size: 15px;
      font-family: inherit;
      transition: var(--transition);
      outline: none;
    }

    .input-field:focus {
      border-color: var(--quiz-accent);
      background: rgba(30, 30, 40, 0.8);
      box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    }

    .group-card {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      padding: 24px;
      margin-bottom: 24px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .group-card h3 {
      color: #fff;
      margin-bottom: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .editor-question-card {
      background: rgba(20, 20, 25, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.04);
      border-radius: var(--radius-md);
      padding: 20px;
      margin-bottom: 16px;
      transition: var(--transition);
      position: relative;
    }
    
    .editor-question-card:hover {
      border-color: rgba(255,255,255,0.1);
      background: rgba(30, 30, 40, 0.6);
      box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    .radio-custom {
      width: 22px;
      height: 22px;
      cursor: pointer;
      accent-color: var(--quiz-accent);
      flex-shrink: 0;
    }

    /* Category Filter */
    .category-filters {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      margin-bottom: 24px;
      padding-bottom: 15px;
      scrollbar-width: thin;
      scrollbar-color: var(--quiz-accent) rgba(0, 0, 0, 0.2);
    }

    .category-filters::-webkit-scrollbar {
      height: 6px;
    }

    .category-filters::-webkit-scrollbar-thumb {
      background: var(--quiz-accent);
      border-radius: 10px;
    }

    .category-chip {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--text2);
      padding: 8px 18px;
      border-radius: 30px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .category-chip:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .category-chip.active {
      background: rgba(99, 102, 241, 0.15);
      border-color: var(--quiz-accent);
      color: #fff;
      box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    }

    .category-chip.active i {
      color: var(--quiz-accent);
    }

    .category-chip i {
      font-size: 16px;
      transition: var(--transition);
    }

    /* Custom Dropdown for Category */
    .custom-dropdown {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      right: 0;
      background: rgba(15, 15, 20, 0.95);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-sm);
      z-index: 100;
      max-height: 250px;
      overflow-y: auto;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
      display: none;
    }

    .custom-dropdown.active {
      display: flex;
      opacity: 1;
      transform: translateY(0);
    }

    .dropdown-item {
      padding: 12px 16px;
      color: var(--text2);
      cursor: pointer;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      transition: var(--transition);
    }

    .dropdown-item:last-child {
      border-bottom: none;
    }

    .dropdown-item:hover {
      background: rgba(99, 102, 241, 0.1);
      color: #fff;
      padding-left: 20px;
      border-left: 3px solid var(--quiz-accent);
    }

    .dropdown-item i {
      color: var(--quiz-accent);
      font-size: 18px;
    }

    /* Player specific */
    .btn-flag {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text2);
      padding: 8px;
      border-radius: 8px;
      cursor: pointer;
      transition: var(--transition);
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .btn-flag:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
    }

    .btn-flag.active {
      background: rgba(255, 170, 0, 0.15);
      border-color: #ffaa00;
      color: #ffaa00;
    }

    body.focus-mode .tracker-navbar,
    body.focus-mode .bg-orbs,
    body.focus-mode header {
      display: none !important;
    }

    body.focus-mode .container {
      padding-top: 20px;
      max-width: 800px;
    }

    body.focus-mode .glass-panel {
      background: transparent;
      border: none;
      box-shadow: none;
      padding: 0;
    }

    body.focus-mode .player-question-card {
      background: rgba(0, 0, 0, 0.5);
    }

    .hide-mobile {
      display: inline-block;
    }

    /* Analytics specific */
    .stat-card {
      background: rgba(20, 20, 25, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.04);
      padding: 24px;
      border-radius: var(--radius-md);
      text-align: center;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }
    
    .stat-card:hover {
      transform: translateY(-4px);
      background: rgba(30, 30, 40, 0.6);
      border-color: rgba(255, 255, 255, 0.1);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    .stat-card i {
      font-size: 32px;
      margin-bottom: 10px;
    }

    .stat-val {
      font-size: 28px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 5px;
    }

    .stat-label {
      font-size: 14px;
      color: var(--text2);
    }

    .heatmap-container {
      display: flex;
      gap: 4px;
      overflow-x: auto;
      padding: 10px 0;
    }

    .heatmap-day {
      width: 15px;
      height: 15px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.1);
      position: relative;
      cursor: pointer;
      transition: 0.2s;
      flex-shrink: 0;
    }

    .heatmap-day:hover {
      transform: scale(1.2);
      z-index: 10;
      border: 1px solid #fff;
    }

    .heatmap-day[data-level="1"] {
      background: rgba(99, 102, 241, 0.3);
    }

    .heatmap-day[data-level="2"] {
      background: rgba(99, 102, 241, 0.6);
    }

    .heatmap-day[data-level="3"] {
      background: rgba(99, 102, 241, 0.9);
    }

    .badges-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      gap: 15px;
    }

    .badge-card {
      background: rgba(20, 20, 25, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.04);
      padding: 20px 15px;
      border-radius: var(--radius-md);
      text-align: center;
      opacity: 0.4;
      filter: grayscale(1);
      transition: var(--transition);
    }

    .badge-card.unlocked {
      opacity: 1;
      filter: grayscale(0);
      border-color: rgba(99, 102, 241, 0.3);
      background: rgba(99, 102, 241, 0.08);
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }
    .badge-card.unlocked:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 25px rgba(99, 102, 241, 0.15);
    }

    .badge-card i {
      font-size: 40px;
      margin-bottom: 10px;
    }

    .badge-card .badge-title {
      font-size: 13px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 4px;
    }

    .badge-card .badge-desc {
      font-size: 11px;
      color: var(--text2);
    }

    .history-attempt {
      background: rgba(20, 20, 25, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.04);
      padding: 16px 20px;
      border-radius: var(--radius-md);
      margin-bottom: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: var(--transition);
    }
    .history-attempt:hover {
      background: rgba(30, 30, 40, 0.6);
      border-color: rgba(255, 255, 255, 0.1);
    }

    .history-attempt .score {
      font-size: 18px;
      font-weight: 800;
      color: var(--green);
    }

    .history-attempt .date {
      font-size: 13px;
      color: var(--text2);
    }

    /* Modals */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(8px);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .modal-overlay.active {
      display: flex;
      animation: fadeIn 0.3s;
    }

    .modal-content {
      background: var(--surface-solid);
      padding: 32px;
      border-radius: var(--radius);
      max-width: 650px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
      position: relative;
    }

    .prompt-box {
      background: rgba(15, 15, 20, 0.8);
      border: 1px solid rgba(255, 255, 255, 0.05);
      padding: 20px;
      border-radius: var(--radius-md);
      font-family: 'Consolas', 'Monaco', monospace;
      font-size: 14px;
      color: #a5b4fc;
      margin: 20px 0;
      user-select: all;
      text-align: left;
      white-space: pre-wrap;
      line-height: 1.6;
      max-height: 40vh;
      overflow-y: auto;
      box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
    }

    textarea.code-input {
      width: 100%;
      height: 250px;
      background: rgba(0, 0, 0, 0.4);
      border: 1px solid var(--border);
      color: #a5b4fc;
      padding: 16px;
      border-radius: 12px;
      font-family: monospace;
      font-size: 14px;
      resize: vertical;
      line-height: 1.5;
    }

    textarea.code-input:focus {
      outline: none;
      border-color: var(--quiz-accent);
      box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .tracker-navbar {
        padding: 12px 0;
      }

      .tracker-nav-inner {
        padding: 0 16px;
        flex-direction: column;
        gap: 12px;
      }

      .tracker-nav-logo {
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
      }

      .tracker-nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
      }

      .tracker-nav-links a {
        padding: 8px 14px;
        font-size: 0.85rem;
      }

      .container {
        padding: 16px 16px 80px;
        margin: 0 auto;
      }

      .glass-panel {
        padding: 20px;
      }

      .header-top {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        width: 100%;
      }

      .logo {
        flex-direction: column;
        align-items: center;
        width: 100%;
      }

      .header-sub {
        text-align: center;
      }

      .header-actions {
        flex-direction: column;
        width: 100%;
      }

      .header-actions button {
        width: 100%;
        justify-content: center;
      }

      .quiz-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }

      .quiz-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
      }

      .quiz-footer button {
        width: 100%;
        justify-content: center;
      }

      .modal-content {
        padding: 20px;
      }

      .prompt-box {
        font-size: 12px;
        padding: 15px;
      }

      .group-card {
        padding: 15px;
      }

      .editor-question-card {
        padding: 15px;
      }

      .player-question-card {
        padding: 15px;
      }

      .hide-mobile {
        display: none !important;
      }

      .editor-actions-btns {
        flex-direction: column;
      }

      .editor-header {
        flex-direction: column;
        align-items: stretch !important;
        gap: 16px;
      }

      .editor-header h2 {
        text-align: center;
        margin: 0;
      }

      .editor-header-actions {
        width: 100%;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }

      .editor-header-actions button {
        flex: 1;
        min-width: calc(33.333% - 6px);
        justify-content: center;
        font-size: 13px !important;
        padding: 8px 10px !important;
      }

      #editorDownloadPdfBtn {
        flex: 1;
        min-width: calc(25% - 6px);
      }

      .group-card h3 {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
      }

      .group-card h3 > div:last-child {
        justify-content: flex-end;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
      }

      .group-card h3 > div:last-child button {
        flex: 1;
        justify-content: center;
        padding: 8px 10px !important;
      }

      .editor-question-header {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
      }

      .editor-question-header h4 {
        justify-content: space-between;
      }

      .editor-question-actions {
        width: 100%;
        justify-content: flex-end;
        display: flex;
        gap: 8px;
      }

      .editor-bottom-bar button {
        width: 100%;
        justify-content: center;
      }
    }

    .app-footer {
      text-align: center;
      padding: 30px 0 10px;
      margin-top: 40px;
      border-top: 1px solid var(--border);
      font-size: 14px;
      color: var(--text2);
    }

    .app-footer a {
      color: var(--quiz-accent);
      text-decoration: none;
      font-weight: 600;
      transition: color 0.2s, text-shadow 0.2s;
    }

    .app-footer a:hover {
      color: #fff;
      text-shadow: 0 0 8px var(--quiz-accent);
    }

    .app-footer i {
      vertical-align: middle;
      font-size: 16px;
    }

    /* Drive Quiz Loading Overlay */
    #driveLoadingOverlay {
      position: fixed;
      inset: 0;
      background: rgba(10, 14, 39, 0.96);
      backdrop-filter: blur(12px);
      z-index: 500;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
      animation: fadeIn 0.4s ease;
    }

    #driveLoadingOverlay.hidden {
      display: none;
    }

    .drive-loader-icon {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, var(--quiz-accent), var(--accent2));
      border-radius: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 36px;
      box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
      animation: pulse-loader 2s infinite ease-in-out;
    }

    @keyframes pulse-loader {

      0%,
      100% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
        transform: scale(1);
      }

      50% {
        box-shadow: 0 0 60px rgba(99, 102, 241, 0.7);
        transform: scale(1.05);
      }
    }

    .drive-loader-spinner {
      width: 48px;
      height: 48px;
      border: 4px solid rgba(99, 102, 241, 0.2);
      border-top-color: var(--quiz-accent);
      border-radius: 50%;
      animation: spin 0.9s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .drive-loader-text {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      text-align: center;
    }

    .drive-loader-sub {
      font-size: 14px;
      color: var(--text2);
      text-align: center;
      max-width: 320px;
      line-height: 1.5;
    }

    .drive-loader-error {
      background: rgba(255, 0, 110, 0.12);
      border: 1px solid rgba(255, 0, 110, 0.35);
      border-radius: 14px;
      padding: 18px 24px;
      color: var(--red);
      font-size: 14px;
      max-width: 380px;
      text-align: center;
      line-height: 1.5;
    }

    .drive-loader-error a {
      color: var(--accent2);
      text-decoration: underline;
      cursor: pointer;
    }

    /* Professional Code Blocks & Syntax Highlighting Styles */
    .quiz-code-block-wrapper {
      margin: 10px 0;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid rgba(0, 217, 255, 0.12);
      box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.35);
      background: #0d0f22;
      font-family: 'Inter', sans-serif;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .quiz-code-block-wrapper:hover {
      border-color: rgba(0, 217, 255, 0.22);
      box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(0, 217, 255, 0.03);
    }

    /* Mac-style traffic light dots */
    .quiz-code-header {
      background: linear-gradient(135deg, rgba(26, 31, 55, 0.98), rgba(18, 22, 44, 0.98));
      padding: 6px 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid rgba(0, 217, 255, 0.07);
      flex-shrink: 0;
      position: relative;
      z-index: 1;
    }

    .quiz-code-header-left {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .quiz-code-dots {
      display: flex;
      gap: 5px;
      align-items: center;
    }

    .quiz-code-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      transition: opacity 0.2s;
    }

    .quiz-code-dot:nth-child(1) { background: #FF5F56; }
    .quiz-code-dot:nth-child(2) { background: #FFBD2E; }
    .quiz-code-dot:nth-child(3) { background: #27C93F; }

    .quiz-code-lang {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.3px;
      color: rgba(0, 217, 255, 0.6);
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .quiz-code-lang::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(0, 217, 255, 0.3);
      box-shadow: 0 0 5px rgba(0, 217, 255, 0.2);
    }

    .quiz-code-header-right {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .quiz-code-lines-badge {
      font-size: 9px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.12);
      font-variant-numeric: tabular-nums;
    }

    .quiz-code-copy-btn {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.06);
      color: var(--text2);
      cursor: pointer;
      font-size: 10px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
      transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
      padding: 4px 8px;
      border-radius: 6px;
      font-family: inherit;
    }

    .quiz-code-copy-btn:hover {
      color: #fff;
      background: rgba(0, 217, 255, 0.1);
      border-color: rgba(0, 217, 255, 0.2);
      transform: translateY(-1px);
    }

    .quiz-code-copy-btn:active {
      transform: scale(0.95);
    }

    .quiz-code-scroll {
      max-height: 340px;
      overflow-y: auto;
      overflow-x: auto;
      position: relative;
      background: #0d0f22;
    }

    .quiz-code-scroll::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }

    .quiz-code-scroll::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.25);
    }

    .quiz-code-scroll::-webkit-scrollbar-thumb {
      background: rgba(0, 217, 255, 0.2);
      border-radius: 10px;
    }

    .quiz-code-scroll::-webkit-scrollbar-thumb:hover {
      background: rgba(0, 217, 255, 0.4);
    }

    .quiz-code-block-wrapper pre {
      margin: 0 !important;
      padding: 8px 14px !important;
      background: transparent !important;
      overflow: visible !important;
    }

    .quiz-code-block-wrapper code {
      font-family: 'Consolas', 'Fira Code', 'Monaco', 'Courier New', monospace !important;
      font-size: 13px !important;
      line-height: 1.55 !important;
      text-shadow: none !important;
    }

    .quiz-inline-code {
      font-family: 'Consolas', 'Fira Code', 'Monaco', 'Courier New', monospace;
      background: linear-gradient(135deg, rgba(0, 217, 255, 0.08), rgba(187, 134, 252, 0.08));
      color: var(--accent);
      border: 1px solid rgba(0, 217, 255, 0.15);
      padding: 2px 7px;
      border-radius: 5px;
      font-size: 90%;
      word-break: break-all;
    }

    /* Prism Syntax Highlighting Custom Overrides */
    code[class*="language-"],
    pre[class*="language-"] {
      color: #e5c07b !important;
    }
    
    .token.comment,
    .token.prolog,
    .token.doctype,
    .token.cdata {
      color: #5c6370 !important;
      font-style: italic;
    }

    .token.punctuation {
      color: #abb2bf !important;
    }

    .token.selector,
    .token.tag,
    .token.attr-name,
    .token.string,
    .token.char,
    .token.builtin,
    .token.inserted {
      color: #98c379 !important;
    }

    .token.operator,
    .token.entity,
    .token.url,
    .language-css .token.string,
    .style .token.string {
      color: #56b6c2 !important;
    }

    .token.atrule,
    .token.attr-value,
    .token.keyword {
      color: #c678dd !important;
    }

    .token.keyword.control {
      color: #c678dd !important;
    }

    .token.function,
    .token.class-name {
      color: #61afef !important;
    }

    .token.regex,
    .token.important,
    .token.variable {
      color: #c678dd !important;
    }
    
    .token.number,
    .token.boolean {
      color: #d19a66 !important;
    }
  

    /* Mobile Bottom Navigation */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(5, 5, 5, 0.8);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-bottom: env(safe-area-inset-bottom, 0);
      z-index: 1000;
      display: none;
    }

    .bottom-nav-inner {
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 8px 10px;
    }

    .bottom-nav-btn {
      background: none;
      border: none;
      color: var(--text2);
      font-size: 11px;
      font-weight: 600;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      cursor: pointer;
      padding: 6px 12px;
      border-radius: 12px;
      transition: all 0.3s ease;
    }

    .bottom-nav-btn i {
      font-size: 24px;
      transition: all 0.3s ease;
    }

    .bottom-nav-btn.active {
      color: var(--quiz-accent);
      background: rgba(99, 102, 241, 0.1);
    }

    .bottom-nav-btn.active i {
      transform: translateY(-2px);
      filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
    }

    .bottom-nav-btn:hover:not(.active) {
      color: #fff;
      background: rgba(255,255,255,0.05);
    }

    @media (max-width: 768px) {
      .bottom-nav {
        display: block;
      }
      .app-footer {
        padding-bottom: 80px;
      }
    }
    