
  :root{
    --blue:#0E3A5B;         /* deep elegant blue */
    --blue-ink:#0A2540;
    --gold:#D7C387;
    --text:#0f172a;         /* slate-900 */
    --muted:#475569;        /* slate-600 */
    --ring1:#FFD56A; --ring2:#B88A2F;
    --w1:#FDB913; --w2:#00A651; --w3:#EC008C;
    --w4:#F36F21; --w5:#0072BC; --w6:#662D91;
  }
  *{box-sizing:border-box}
  html,body{margin:0}
  body{font-family:ui-sans-serif,system-ui,Segoe UI,Roboto,Inter,Arial; color:var(--text); background:#fff;}
  a{color:inherit;text-decoration:none}

  .container{max-width:1100px;margin:0 auto;padding:0 20px}

  /* NAV */
  header.topnav{background:var(--blue);color:#fff;position:sticky;top:0;z-index:50}
  .nav-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
  .brand{display:flex;align-items:center;gap:8px;font-weight:800;letter-spacing:-.3px}
  .brand-badge{width:20px;height:20px;border-radius:50%;background:conic-gradient(from 0deg,var(--w1),var(--w2),var(--w3),var(--w4),var(--w5),var(--w6),var(--w1));border:2px solid #fff}
  .links{display:none;gap:20px}
  .links a{opacity:.9}
  .links a:hover{opacity:1}
  .burger{background:transparent;border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:10px;padding:6px 10px}
  .mobile-menu{display:none;background:var(--blue);border-top:1px solid rgba(255,255,255,.15)}
  .mobile-menu a{display:block;padding:10px 20px;color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}

  @media(min-width:768px){
    .burger{display:none}
    .links{display:flex}
    .mobile-menu{display:none!important}
  }

  /* Featured banner */
  .featured{position:relative;isolation:isolate;margin:5px 0}
  .featured .halo{position:absolute;inset:-20px;z-index:-1;filter:blur(28px);opacity:.9;background:conic-gradient(from 0deg,var(--w1),var(--w2),var(--w3),var(--w4),var(--w5),var(--w6),var(--w1));border-radius:24px}
  .featured .haloha{position:absolute;inset:-20px;z-index:-1;filter:blur(28px);opacity:.9;background:conic-gradient( from 0deg, #008751, #ffffff, #008751, #ffffff, #008751);border-radius:24px}

  .featured-wrap{display:grid;gap:18px;align-items:center;padding:22px;border-radius:22px;color:#fff;
    background:none;
  }
  @media(min-width:900px){.featured-wrap{grid-template-columns:1.1fr .9fr}}

  /* Cards */
  .section{padding:40px 0}
  .grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
  .card{position:relative;border-radius:20px;overflow:hidden;background:#fff;border:2px solid transparent;transition:transform .25s, box-shadow .25s, border-color .25s;box-shadow:0 6px 14px rgba(0,0,0,.06)}
  .card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(2,8,23,.2)}
  .accent1{border-image:linear-gradient(45deg,var(--w1),transparent) 1}
  .accent2{border-image:linear-gradient(45deg,var(--w2),transparent) 1}
  .accent3{border-image:linear-gradient(45deg,var(--w3),transparent) 1}
  .accent4{border-image:linear-gradient(45deg,var(--w4),transparent) 1}
  .accent5{border-image:linear-gradient(45deg,var(--w5),transparent) 1}
  .accent6{border-image:linear-gradient(45deg,var(--w6),transparent) 1}

  .thumb{height:170px;background:#eee;display:grid;place-items:end;overflow:hidden}
  .thumb img{width:100%;height:100%;object-fit:cover;display:block}
  .label{position:absolute;top:10px;left:10px;background:rgba(0,0,0,.55);color:#fff;padding:6px 10px;border-radius:999px;font-size:12px}
  .meta{padding:14px;background:#ffffff !important;border-radius:0 0 18px 18px;box-shadow:0 -1px 0 #e5e7eb inset}
  .title{margin:0 0 6px;font-weight:800;font-size:18px}
  .muted{color:var(--muted);font-size:14px;margin:0}

  /* Chips */
  .chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
  .chip{font-size:12px;padding:6px 10px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;color:#000}

  /* Sticky bottom bar */
  .stickybar{position:sticky;bottom:0;z-index:30;background:#ffffffea;border-top:1px solid #e2e8f0;backdrop-filter:saturate(150%) blur(6px)}
.panel{border-radius:22px;padding:32px;box-shadow:0 16px 40px rgba(2,8,23,.12), 0 2px 6px rgba(2,8,23,.06);position:relative;overflow:hidden;/* NEW: soft gradient + ultra‑light stripes behind content */background-image:linear-gradient(180deg,#ffffff 0%,#f6f8ff 60%,#f3f6ff 100%),repeating-linear-gradient(135deg, rgba(0,0,0,.035) 0 6px, transparent 6px 12px);}
.panel::before{content:"";position:absolute;inset:-2px;border-radius:24px;z-index:-1;filter:blur(26px);opacity:.38;background:conic-gradient(from 0deg,var(--w1),var(--w2),var(--w3),var(--w4),var(--w5),var(--w6),var(--w1))}
.panel h2{position:relative;font-weight:800;letter-spacing:-.3px}
.panel h2::after{content:"";position:absolute;left:0;bottom:-10px;height:6px;width:160px;border-radius:999px;background:linear-gradient(90deg,var(--w1),var(--w2),var(--w3),var(--w4),var(--w5),var(--w6));box-shadow:0 6px 18px rgba(2,8,23,.18)}
.panel .chips{margin-top:0}
/* subtle diagonal texture inside panel */
.panel::after{content:"";position:absolute;inset:-2px;border-radius:24px;z-index:0;filter:blur(24px);opacity:.28;background:conic-gradient(from 0deg,var(--w1),var(--w2),var(--w3),var(--w4),var(--w5),var(--w6),var(--w1))}
/* animated underline for section title */
.panel h2::after{content:"";position:absolute;left:0;bottom:-10px;height:6px;width:180px;border-radius:999px;background:linear-gradient(90deg,var(--w1),var(--w2),var(--w3),var(--w4),var(--w5),var(--w6),var(--w1));background-size:300% 100%;box-shadow:0 6px 18px rgba(2,8,23,.18);animation:barShift 8s linear infinite}
@keyframes barShift{0%{background-position:0% 50%}100%{background-position:100% 50%}}
.panel > *{position:relative;z-index:1}
/* Leaderboards
.lb-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.lb-card{background:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(2,8,23,.08);border:1px solid #e2e8f0;padding:14px 14px 8px;position:relative}
.lb-card::before{content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;width:6px;border-radius:16px 0 0 16px;background:var(--accent,#e5e7eb)}
.lb-card h3{margin:0 0 8px;font-size:16px;display:flex;align-items:center;gap:8px}
.lb-dot{width:10px;height:10px;border-radius:999px;background:var(--accent)}
.lb-list{list-style:none;margin:0;padding:0}
.lb-list li{display:flex;justify-content:space-between;align-items:center;padding:8px 6px;border-top:1px solid #eef2f7}
.lb-list li:first-child{border-top:none;background:linear-gradient(90deg,rgba(253,185,19,.15),transparent)}
.lb-score{font-weight:700;color:#0f172a}
/* accent helpers
.color-w1{--accent:var(--w1)}
.color-w2{--accent:var(--w2)}
.color-w3{--accent:var(--w3)}
.color-w4{--accent:var(--w4)}
.color-w5{--accent:var(--w5)}
.color-w6{--accent:var(--w6)}
*//*

/* ✅ Correct answers badge */
.badge.ok {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #16a34a;
  font-weight: 700;
  border-radius: 8px;
  padding: 3px 10px;
  box-shadow: 0 0 6px rgba(22,163,74,0.25);
}

/* ❌ Wrong answers badge */
.badge.bad {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
  font-weight: 700;
  border-radius: 8px;
  padding: 3px 10px;
  box-shadow: 0 0 6px rgba(239,68,68,0.25);
}

/* Separator dot */
.dotsep {
  color: rgba(0,0,0,0.3);
  margin: 0 0px;
}


--- 🏆 Top Players Box --- */
.leaderboard-box {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  min-height: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.leaderboard-box h3 {
  margin: 0 0 0.8rem 0;
  font-weight: 800;
  color: var(--blue-ink);
  text-align: left;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow-y: auto;
}

.lb-player {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
}

.lb-player:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Rank badges */
.rank {
  margin-right: 8px;
  font-size: 1.2rem;
}

.rank.gold { color: #f4c542; }
.rank.silver { color: #c0c0c0; }
.rank.bronze { color: #d29a6d; }

.score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;   /* ← align right */
  justify-content: flex-start;
  gap: 10px;
}


.lb-player:nth-child(1) {
  background: linear-gradient(135deg, #fff8dc, #ffe57f);
  box-shadow: 0 0 20px rgba(253,185,19,0.6);
}

.lb-player:nth-child(2) {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  box-shadow: 0 0 20px rgba(180,180,180,0.5);
}

.lb-player:nth-child(3) {
  background: linear-gradient(135deg, #f9e0c0, #f0c49a);
  box-shadow: 0 0 20px rgba(210,154,109,0.5);
}



  .nigeria-trivia {
    background: linear-gradient(145deg, #004d1a, #006b2d);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 255, 128, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .nigeria-trivia:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(0, 255, 128, 0.8);
  }

  .nigeria-trivia h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .nigeria-trivia p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .nigeria-trivia img {
    width: 80px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
  }

  .play-nigeria {
    background: #ffcc00;
    color: #003300;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
  }

  .play-nigeria:hover {
    background: #ffee33;
    transform: scale(1.05);
  }
  @keyframes glow {
0% { box-shadow: 0 0 10px #00ff80, 0 0 20px #00ff80; }
50% { box-shadow: 0 0 20px #00ff80, 0 0 40px #00ff80; }
100% { box-shadow: 0 0 10px #00ff80, 0 0 20px #00ff80; }
}

.nigeria-trivia {
animation: glow 3s ease-in-out infinite;
}
  /* TRIVIA SLIDER (wider multi-card version) */
  #trivia-slider {
    background:#f5f1e8;
    padding:60px 0;
    text-align:center;
    overflow:hidden;
  }

  #trivia-slider h2 {margin-bottom:8px;}
  #trivia-slider p.sub {margin-bottom:28px;}

  .slider {
    width:100%;
    max-width:1100px;       /* same width as your .container */
    margin:auto;
    overflow:hidden;
    border-radius:16px;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
    position:relative;
  }

  .slide-track {
    display:flex;
    gap:16px;
    width:calc((200px + 16px) * 8); /* each image + gap */
    animation:scroll 45s linear infinite;
  }

  .slide {
    flex:0 0 200px;
    height:300px;
  }

  .slide img {
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,0.2);
  }

  @keyframes scroll {
    0% {transform:translateX(0);}
    100% {transform:translateX(-50%);}
  }

  .slider:hover .slide-track {
    animation-play-state:paused;
  }

  /* Responsive tweak */
  @media(max-width:600px){
    .slide {
      flex:0 0 160px;
      height:240px;
    }
    .slide-track {
      width:calc((160px + 16px) * 8);
    }
  }

  /* pause on hover */
  .slider:hover .slide-track {animation-play-state:paused;}

  /* HERO */
  .hero{position:relative;background:var(--blue);overflow:hidden}
  .hero-gradient{position:absolute;inset:0;opacity:.35;background:
    radial-gradient(1000px 600px at 20% -10%, #1a5f99, transparent),
    radial-gradient(800px 400px at 90% 120%, #8ec5ff, transparent)}
  .hero-inner{position:relative;padding:22px 0 48px}
  h1{margin:0;font-size:clamp(36px,8vw,60px);line-height:1.05;color:#fff;text-shadow:0 8px 24px rgba(0,0,0,.25)}
  .lead{color:#e2e8f0;max-width:42rem;font-size:1.05rem;line-height:1.6;margin-top:10px}
  .cta-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
  .pill{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);
    color:#fff;border-radius:999px;padding:6px 12px;font-size:12px;margin-top:10px}

  .btn{display:inline-flex;align-items:center;gap:.5rem;border-radius:14px;padding:.85rem 1.1rem;font-weight:600;border:none;cursor:pointer}
  .btn-primary{font:Arial; font-size: 12px;  background:#fff;color:#0e172a;box-shadow:0 10px 30px rgba(0,0,0,.15)}
  .btn-outline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.35)}

  .hero-grid{display:grid;gap:24px}
  /* Ensure equal height panels inside leaderboard grid */
#leaderboards .hero-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch; /* ✅ makes both panels same height */
}

/* Make .panel expand to full height */
#leaderboards .panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Optional: make image scale nicely in right panel */
#leaderboards .panel img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

  @media(min-width:900px){.hero-grid{grid-template-columns:1.1fr .9fr;align-items:center}}

  .token-wrap{position:relative;display:grid;place-items:center}
  .token-glow{position:absolute;filter:blur(28px);inset:-32px;border-radius:999px;opacity:.7;
    background:conic-gradient(from 0deg,var(--w1),var(--w2),var(--w3),var(--w4),var(--w5),var(--w6),var(--w1))}
  svg.token{position:relative}

  /* Sections */
  section{padding:40px 0}
  section h2{font-size:clamp(24px,5vw,38px);margin:20px 0 8px}
  section p.sub{color:var(--muted);margin:0 0 16px}

  /* Categories */
  .cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
  .card{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px;box-shadow:0 6px 14px rgba(2,8,23,.04);transition:transform .25s, box-shadow .25s}
  .card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(2,8,23,.12)}
  .card {
cursor: pointer;
transition: transform 0.1s;
}
.card:hover {
transform: scale(1.03);
}
  .dot{width:34px;height:34px;border-radius:999px}
  .row{display:flex;align-items:center;gap:12px}
  .muted{color:var(--muted)}

  /* Leaderboard */
  .panel{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px}
  .rank{width:28px;height:28px;border-radius:999px;color:#fff;display:grid;place-items:center;font-weight:700}
  .list{list-style:none;margin:0;padding:0;display:grid;gap:10px}

  /* Pricing */
  .pricing{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
  .price-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;display:flex;flex-direction:column}
  .price{font-size:28px;font-weight:800}

  /* Footer */
  footer{background:#0b1220;color:#cbd5e1;margin-top:32px}
  .footer-grid{display:grid;gap:20px;padding:32px 0}
  @media(min-width:900px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
  .badge{display:inline-flex;align-items:center;gap:8px;font-weight:800}
  @media (max-width: 768px) {
.hero-inner {
  padding-top: 32px !important; /* reduce top padding */
}
.hero {
  margin-top: 0 !important;
}
header.topnav {
  margin-bottom: 0 !important;
}
}
@media (max-width: 768px) {
.container,
.hero-inner,
section,
.panel,
.pricing,
footer .container {
padding-left: 20px !important;
padding-right: 20px !important;
}
}
/* --- Leaderboard Equal Height Layout --- */
/* Leaderboard grid layout */
.leaderboard-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  align-items: center;        /* ✅ no stretching */
  justify-content: center;
  width: 100%;
}

/* Panels */
.leaderboard-grid .panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: auto;              /* ✅ shrink naturally */
  min-height: 240px;         /* ✅ good compact height */
  overflow: hidden;          /* ✅ prevent image overflow */
}

/* Titles */
.leaderboard-grid .panel h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

/* Leaderboard list */
.leaderboard-grid .list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  text-align: left;
  max-width: 220px;
  line-height: 1.6;
}

/* Availability section */
.leaderboard-grid .availability-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

/* World map image */
.leaderboard-grid .availability-wrapper img {
  width: 50%;
  max-width: 200px;      /* ✅ keeps it compact */
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.blackcolor {
  color: #000000;
}
.contact-section {
  padding: 60px 20px;
  background-color: #ffffff; /* white background */
  color: #1a1a1a; /* dark text for headings & body */
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.contact-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form label {
  text-align: left;
  font-weight: bold;
  margin-bottom: 5px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 8px; /* rounded corners */
  font-size: 1rem;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00b050; /* accent green on focus */
  outline: none;
}
.contact-button {
  padding: 15px;
  background-color: #00b050; /* bright green accent (matching checkmark) */
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-button:hover {
  background-color: #009640;
}

/* --- Difficulty Modal Styling --- */
.modal.hidden { display: none; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
}

.modal-content {
  background: #fff;
  color: var(--text);
  padding: 36px 40px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  max-width: 420px;
  width: 90%;
  text-align: center;
  border: 1px solid #e2e8f0;
  animation: popIn 0.25s ease-out;
}

/* Title */
.modal-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 22px;
}

.modal-content .options {
display: flex;
flex-direction: column;
align-items: center; /* center the entire block */
margin: 0 auto 20px;
}

.modal-content label {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 10px;
width: 160px; /* ✅ ensures all radios start at same x-position */
text-align: left;
padding-left: 20px; /* creates uniform indentation */
margin: 6px 0;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
}
.modal-content input[type="radio"] {
accent-color: var(--blue);
transform: scale(1.2);

}


.modal-content form,
.modal-content .options {
display: flex;
flex-direction: column;

margin: 0 auto 10px;
width: fit-content;
}


.modal-content input[type="radio"] {
  accent-color: var(--blue);
  transform: scale(1.2);
}

/* Buttons row */
.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* Buttons */
.modal-content button {
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#startTrivia {
  background: var(--blue);
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(14,58,91,0.3);
}
#startTrivia:hover {
  background: var(--blue-ink);
  transform: translateY(-2px);
}

#cancelTrivia {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue);
}
#cancelTrivia:hover {
  background: var(--blue);
  color: #fff;
}

/* Animation */
@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.promotions-box {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  min-height: 100%;          /* ✅ fill the entire colored background */
  height: auto;              /* ✅ allows it to grow with content */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.promotions-list {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  margin-top: 0.5rem;
}

.promo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.8);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.promo-item:hover {
  transform: scale(1.02);
  background: rgba(255,255,255,0.95);
}

.promo-btn {
  background: #ffb300;
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: background 0.2s ease;
}

.promo-btn:hover {
  background: #ff9800;
}

.promo-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-ink);
}

.promo-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.2rem 0;
  line-height: 1.3;
}

.promo-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

.promotions-box h3 {
  font-weight: 800;
  color: var(--blue-ink);
  margin-top:0px;
  margin-bottom: 0.4rem;
}

.promotions-list::-webkit-scrollbar {
  width: 6px;
}

.promotions-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
/*TRIVIA PLAYING PAGE*/
/* LAYOUT */
.play-wrap{display:grid;gap:16px;padding:20px 0}
@media(min-width:1000px){.play-wrap{grid-template-columns:1.3fr .7fr}}

/* BOARD (token + progress) */
.board-card{background:#fff;border-radius:20px;box-shadow:0 16px 40px rgba(2,8,23,.12),0 2px 6px rgba(2,8,23,.06);padding:20px;margin-top:0px;position:relative}
.board-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr; /* Left = question + timer | Right = token */
  align-items: start;
  gap: 20px;
  padding: 10px 0;
}
.score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
.score .points{font-size:28px;font-weight:800}
.streak{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid #e2e8f0;background:#fff}

.token {
  width: 160px;
  height: 160px;
  justify-self: center;
}
.wedges{display:flex;gap:8px}
.wedge{width:16px;height:16px;border-radius:4px;opacity:.25;border:2px solid rgba(0,0,0,.15)}
.wedge.active{opacity:1}

.timer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.timer .circle {
  --p: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: conic-gradient(var(--w1) calc(var(--p)*1%), #e5e7eb 0);
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 700;
}
.timer small{color:var(--muted)}

/* QUESTION CARD */
.q-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px 28px;
  border: 1px solid rgba(0,0,0,0.06);
}
.q-head{padding:16px 18px;border-bottom:1px solid #eef2f7;display:flex;justify-content:space-between;align-items:center}
.q-head .cat{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.q-head .cat .dot{width:12px;height:12px;border-radius:999px;background:var(--w5)}
.q-body{padding:18px}
.q{font-size:20px;font-weight:800;line-height:1.3;margin:0 0 14px}
.opts{display:grid;gap:10px}
/* --- Answer option buttons --- */
.opt {
  display: block;
  width: 100%;
  padding: 14px 14px;
  margin: 4px 0;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  background: #f9fafb;
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease-in-out;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* --- Hover effect --- */
.opt:hover {
  background: #e2e8f0;
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* --- When clicked (feedback state) --- */
.opt:active {
  transform: scale(0.98);
}

/* --- Correct / wrong states --- */
.opt.correct {
  background: #dcfce7;
  border-color: #22c55e;
  color: #14532d;
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
}

.opt.wrong {
  background: #fee2e2;
  border-color: #ef4444;
  color: #7f1d1d;
  box-shadow: 0 0 6px rgba(239,68,68,0.4);
}

/* --- Disabled / answered state --- */
.opt.answered {
  opacity: 0.8;
  cursor: not-allowed;
}

.lifelines{padding:12px 18px;border-top:1px dashed #e5e7eb;display:flex;gap:8px;flex-wrap:wrap}
/* --- Lifeline Buttons (consistent with header/footer blue) --- */
.lifelines .pill {
  background: var(--blue);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(14, 58, 91, 0.25);
}

/* Hover / focus states */
.lifelines .pill:hover {
  background: var(--blue-ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(14, 58, 91, 0.3);
}

/* Disabled state */
.lifelines .pill:disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  opacity: 0.8;
  box-shadow: none;
}

/* Optional: add soft glass tint on light backgrounds */
.lifelines {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 12px 18px;
  border-radius: 0 0 20px 20px;
}


/* SIDEBAR */
.side{display:grid;gap:16px}
.panel{background:linear-gradient(180deg,#ffffff 0%,#f6f8ff 60%,#f3f6ff 100%);border-radius:22px;padding:20px;box-shadow:0 16px 40px rgba(2,8,23,.12),0 2px 6px rgba(2,8,23,.06);position:relative}
.panel h3{margin:0 0 10px}
.mini-leader li{display:flex;justify-content:space-between;padding:8px 0;border-top:1px solid #eef2f7}
.mini-leader li:first-child{border-top:none;background:linear-gradient(90deg,rgba(253,185,19,.12),transparent)}

.cta-row{display:flex;gap:10px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:.6rem;border-radius:14px;padding:.9rem 1.2rem;font-weight:700;border:1px solid rgba(0,0,0,.12);background:#fff;cursor:pointer}

/* FOOTER */
footer{background:#0A2540;color:#fff;margin-top:24px}
.footer-grid{display:grid;gap:20px;padding:32px 20px}
@media(min-width:900px){.footer-grid{grid-template-columns:1.5fr 1fr 1fr 1fr}}





/*TRIVIA PLAYING PAGE*/








/* --- 🔥 Active Promotion Fire Icon --- */
.promo-icon {
  color: #ff4500;
  margin-left: 6px;
  font-size: 1.2em;
  vertical-align: middle;
  animation: flamePulse 1.5s infinite ease-in-out;
}

@keyframes flamePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.75; }
}

/* --- ✨ Difficulty Selection Highlight --- */
.options label.selected {
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  transition: 0.25s ease-in-out;
}

.options label.selected input[type="radio"] {
  accent-color: #fff;
}
/* --- 📱 Trivia Page Responsive Layout Fixes --- */
@media (max-width: 900px) {
  /* Reduce top space and center content */
  .page-title-bar .container {
    padding: 20px 12px;
  }
  #gameTitle {
    font-size: 22px !important;
  }
  #gameSubtitle {
    font-size: 14px !important;
  }

  /* Stack main layout vertically */
  .play-wrap {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* Ensure board takes full width */
  .board-card {
    padding: 16px;
  }
  .board-top {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .score {
    align-items: center;
  }

  .timer {
    justify-content: center;
    margin-top: 6px;
  }

  .token {
    width: 120px;
    height: 120px;
    margin: 0 auto;

  }

  /* Question card readability */
  .q-card {
    margin-top: 12px;
    border-radius: 16px;
  }
  .q {
    font-size: 18px;
    text-align: center;
  }
  .opt {
    font-size: 15px;
    padding: 12px;
  }

  /* Lifelines wrap neatly */
  .lifelines {
    justify-content: center;
  }

  /* Sidebar panels go below game area */
  .side {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 20px;
  }
  .mini-leader li {
    font-size: 15px;
  }



  /* Footer spacing for mobile */
  footer {
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
}

/* --- 🔧 Align the board card and right panel perfectly --- */

/* Ensure both grid children start at the same visual line */
.play-wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: flex-start;
  gap: 20px;
}

/* Remove any hidden top offset */
.play-wrap > section,
.play-wrap > aside {
  margin-top: 0;
  padding-top: 0;
}

/* Force visual top alignment (compensate for box-shadow spread) */
.board-card {
  transform: translateY(3px);   /* Try 2–4px depending on your browser */
}

/* --- 📊 Responsive Board Header Layout (refined alignment + timer under question) --- */
.board-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left | token | right */
  align-items: start;
  gap: 20px;
}

/* --- LEFT COLUMN --- */
.board-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
}
.board-left {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 4px 10px rgba(2,8,23,0.06);
}


/* Question counter */
.board-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.board-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.2px;
  font-size: 18px;
  color: var(--blue-ink);
}

/* Correct / Wrong badges */
.mini-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- TIMER (now below the question meta) --- */
.timer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.timer .circle {
  --p: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: conic-gradient(var(--w1) calc(var(--p)*1%), #e5e7eb 0);
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 700;
}

/* --- TOKEN CENTER --- */
.token {
  justify-self: center;
  width: 160px;
  height: 160px;
}

/* --- RIGHT COLUMN (Streak + Points) --- */
.score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}
.score .points {
  font-size: 28px;
  font-weight: 800;
}
.streak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

/* --- Responsive behavior --- */
@media (max-width: 900px) {
  .board-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .board-left,
  .score {
    align-items: center;
  }

  .token {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .timer {
    justify-content: center;
  }
}

/* Keep sidebar flush */
.side .panel:first-child {
  transform: translateY(3px);
}

/* --- Ultra-small devices (phones <480px) --- */
@media (max-width: 480px) {
  #gameTitle {
    font-size: 20px !important;
  }
  .page-title-bar .container {
    padding: 18px 10px;
  }
  .q {
    font-size: 17px;
  }
  .opt {
    font-size: 14px;
    padding: 10px;
  }
  .timer .circle {
    width: 48px;
    height: 48px;
  }
  .board-top {
    gap: 16px;
  }
  .streak {
    font-size: 13px;
  }
  .points {
    font-size: 24px;
  }
}
/* === INTRO OVERLAY (Centered Modal Style) === */
.intro-overlay{
  position:fixed; inset:0;
  background: rgba(10,37,64,.45); /* translucent backdrop */
  backdrop-filter: blur(4px);
  display:flex; align-items:center; justify-content:center;
  z-index:9999; animation:fadeIn .6s ease forwards; text-align:center;
}

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  padding: 40px 60px;
  border-radius: 28px;
  box-shadow: 0 8px 30px rgba(14,58,91,0.15);
  backdrop-filter: blur(10px);
}

/* Spinning token */
.token-intro {
  width: 180px;
  height: 180px;
  animation: spin 3.5s linear infinite;
  filter: drop-shadow(0 6px 14px rgba(14,58,91,0.15));
}

/* Text + countdown */
.intro-text {
  font-size: 22px;
  font-weight: 800;
  margin-top: 28px;
  color: var(--blue-ink);
  transition: opacity 0.3s ease;
}

/* Buttons row */
.intro-buttons {
  margin-top: 22px;
  display: flex;
  gap: 14px;
}

/* Use your global button style */
.intro-buttons .btn {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(14, 58, 91, 0.25);
  transition: all 0.25s ease;
}
.intro-buttons .btn:hover {
  background: var(--blue-ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 58, 91, 0.35);
}

/* Animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .intro-inner {
    width: 90%;
    padding: 30px 20px;
  }
  .token-intro {
    width: 130px;
    height: 130px;
  }
  .intro-text {
    font-size: 18px;
  }
  .intro-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .intro-buttons .btn {
    width: 140px;
    justify-content: center;
  }
}
.token-intro {
  width: 160px;
  height: 160px;
  display: block;
  margin: 0 auto 16px;
  animation: spin 6s linear infinite;
}

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

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
.intro-info {
  margin-top: 10px;
  font-size: 16px;
  color: var(--blue-ink);
  text-align: center;
  line-height: 1.6;
}
.intro-info p {
  margin: 4px 0;
  font-weight: 600;
}
.intro-info strong {
  color: var(--blue);
}

/* === LOGIN MODAL === */
#loginOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#loginModal {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 22px;
  text-align: center;
  padding: 36px 48px;
  max-width: 360px;
  width: 90%;
  font-family: system-ui, -apple-system, 'Inter', sans-serif;
  animation: popIn 0.25s ease;
}

#loginModal h2 {
  font-weight: 800;
  color: var(--blue-ink);
  margin-top: 0;
}

#loginModal p {
  color: #475569;
  margin-bottom: 12px;
}

#loginModal input {
  width: 80%;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.2);
  margin-bottom: 12px;
  outline: none;
  transition: all 0.2s;
}

#loginModal input:focus {
  border-color: var(--w4);
  box-shadow: 0 0 0 3px rgba(147,197,253,0.4);
}

#loginModal button {
  background: var(--blue-btn, #0f3b73);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

#loginModal button:hover {
  transform: scale(1.03);
  background: #174c91;
}

#loginModal #loginError {
  color: #e11d48;
  font-weight: 500;
  margin-top: 8px;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.promo-active {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  font-size: 14px;
}

.promo-title {
  font-weight: 700;
  color: #ef4444;
  margin: 0 0 6px;
}

.promo-progress {
  margin: 6px 0;
}

.progress-bar {
  background: #e2e8f0;
  height: 8px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 4px;
}

.progress-bar .fill {
  background: linear-gradient(90deg, #22c55e, #10b981);
  height: 100%;
  width: 0%;
  transition: width 0.3s linear;
}

.promo-bonus {
  font-size: 13px;
  color: #0ea5e9;
  margin: 4px 0 0;
}
#promoBox {
   font-size: 14px;
   line-height: 1.4;
   margin-top: 8px;
   width: 240px;           /* or 260px if you want even wider */
   max-width: none;
   align-self: flex-end;   /* ← force right alignment */
   background: #fff;
   border-radius: 14px;
   box-shadow: 0 4px 12px rgba(0,0,0,0.06);
   border: 1px solid rgba(0,0,0,0.05);
   padding: 16px 18px;
}

/* =========================
   MY ACCOUNT DASHBOARD
   ========================= */
.user-info{
  margin: 8px 0 14px;
  font-weight: 700;
}

.account-stats-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:12px 0 18px;
}
.account-stat-card{
  background:#fff;
  border-radius:16px;
  padding:14px 16px;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
  border:1px solid #e2e8f0;
}
.label-sm{font-size:.9rem;color:var(--muted);font-weight:700;}
.value-lg{font-size:1.7rem;font-weight:900;color:var(--blue-ink);margin-top:4px;}

.account-percentile{
  margin-top:8px;
  color:var(--blue-ink);
}
.percentile-big{
  font-size:1.6rem;
  font-weight:900;
  margin:6px 0 6px;
}
.percentile-sub{
  font-size:.95rem;
  color:var(--muted);
  font-weight:700;
}

.decile-strip{
  display:grid;
  grid-template-columns:repeat(10,1fr);
  gap:5px;
  margin-top:10px;
}
.decile{
  height:10px;
  border-radius:999px;
  background:rgba(14,58,91,.12);
}
.decile.active{
  background:var(--ring1);
  box-shadow:0 0 10px rgba(255,213,106,.8);
}
.decile-legend{
  margin-top:6px;
  font-size:.85rem;
  color:var(--muted);
  font-weight:700;
}

.account-cat-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:10px;
}
.account-cat-card{
  background:#fff;
  border-radius:16px;
  padding:14px 16px;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
  border:1px solid #e2e8f0;
}
.cat-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.cat-name{
  font-weight:900;
  font-size:1.05rem;
  color:var(--blue-ink);
}
.cat-acc{
  font-weight:900;
  font-size:1.1rem;
}
.cat-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
}
.pill-mini{
  background:#f2f4f7;
  border-radius:999px;
  padding:4px 8px;
  font-weight:800;
  font-size:.8rem;
}
.pill-mini.ok{ background:#dcfce7; color:#166534; }
.pill-mini.bad{ background:#fee2e2; color:#991b1b; }

.cat-bar{
  height:8px;
  background:#eef1f5;
  border-radius:999px;
  overflow:hidden;
  margin-top:10px;
}
.cat-bar > div{
  height:100%;
  background:linear-gradient(90deg,var(--w5),var(--w1));
  width:0%;
}

/* Responsive */
@media(min-width:700px){
  .account-stats-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .account-cat-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(min-width:1000px){
  .account-cat-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.options label {
  padding: 8px 14px;
  border-radius: 10px;
  transition: 0.25s ease-in-out;
}

.options label.selected {
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
}
