/* assets/styles.css
   أكاديمية عايد — دورة STEP المكثفة 2026
   تصميم: Minimal + Glass + Accent Yellow + Mobile First
*/

:root{
  --bg: #070a12;
  --bg2:#0a0f1f;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.55);
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --accent: #fbbf24;
  --accent2:#f59e0b;
  --good:#22c55e;
  --bad:#ef4444;
  --warn:#f97316;

  --radius: 18px;
  --radius2: 26px;

  --container: 1120px;
  --gap: 18px;

  --page-accent: var(--accent);
  --page-glow: rgba(251,191,36,.18);

  --font: "Tajawal","Cairo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(251,191,36,.10), transparent 55%),
    radial-gradient(900px 700px at 90% 20%, rgba(56,189,248,.10), transparent 55%),
    radial-gradient(900px 700px at 40% 90%, rgba(168,85,247,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
  direction:rtl;
}

body::after{
  content: attr(data-watermark);
  position:fixed;
  inset:-40% -40%;
  z-index:0;
  pointer-events:none;
  color:rgba(255,255,255,.06);
  font-size: clamp(56px, 7vw, 110px);
  font-weight:800;
  letter-spacing: .06em;
  transform:rotate(-18deg);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  mix-blend-mode:overlay;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button,input,select,textarea{font-family:var(--font)}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin-inline:auto;
  position:relative;
  z-index:1;
}

.sep{height:1px; background:var(--border); margin:22px 0}

.hidden{display:none !important}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(10,12,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.brand .logo{
  width:40px;height:40px;border-radius:14px;
  background: radial-gradient(circle at 30% 30%, rgba(251,191,36,.45), rgba(251,191,36,.10) 60%, rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 25px rgba(251,191,36,.12);
  display:grid; place-items:center;
}
.brand .logo svg{width:22px;height:22px; opacity:.95}
.brand .titles{line-height:1.05}
.brand .titles .academy{font-weight:800; font-size:14px}
.brand .titles .course{font-weight:700; font-size:12px; color:var(--muted)}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.nav a{
  padding:10px 12px;
  border-radius: 12px;
  color:var(--muted);
  border:1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  font-weight:600;
  font-size:13px;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
  color:var(--text);
  border-color: rgba(255,255,255,.10);
}
.nav a.active{
  background: rgba(251,191,36,.12);
  border-color: rgba(251,191,36,.22);
  color: var(--text);
}

.header-cta{display:flex; gap:10px; align-items:center}
.icon-btn{
  width:42px;height:42px;border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  display:grid; place-items:center;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease;
}
.icon-btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.08)}
.icon-btn svg{width:18px;height:18px; opacity:.9}

.menu-btn{display:none}

/* Mobile drawer */
.drawer-backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  z-index:80;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
}
.drawer{
  position:fixed;
  top:0; bottom:0;
  right:0;
  width:min(360px, 88vw);
  background: rgba(14,18,30,.92);
  border-left: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  z-index:90;
  transform: translateX(105%);
  transition: transform .20s ease;
  display:flex; flex-direction:column;
}
.drawer.open{transform: translateX(0)}
.drawer-backdrop.open{opacity:1; pointer-events:auto}
.drawer header{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.drawer nav{display:flex; flex-direction:column; padding:12px}
.drawer nav a{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  margin-bottom:10px;
  color:var(--text);
  font-weight:700;
}
.drawer nav a small{display:block; color:var(--muted); font-weight:600; margin-top:2px}

/* Hero */
.hero{
  padding: 40px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 20px;
  align-items:stretch;
}
.hero-card{
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(251,191,36,.14), rgba(255,255,255,.06));
  border:1px solid rgba(251,191,36,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  overflow:hidden;
  position:relative;
}
.hero-card::before{
  content:"";
  position:absolute; inset:-1px;
  background:
    radial-gradient(800px 260px at 15% 20%, rgba(251,191,36,.22), transparent 60%),
    radial-gradient(900px 320px at 85% 30%, rgba(56,189,248,.14), transparent 60%),
    radial-gradient(900px 500px at 55% 90%, rgba(168,85,247,.12), transparent 60%);
  opacity:.95;
  pointer-events:none;
}
.hero-card .inner{position:relative; z-index:1; padding:26px}
.kicker{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  font-weight:700;
  font-size:12px;
}
.kicker .dot{
  width:8px;height:8px;border-radius:999px;
  background: var(--page-accent);
  box-shadow: 0 0 0 6px rgba(251,191,36,.12);
}
h1{
  margin:14px 0 10px;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height:1.1;
  letter-spacing: -.02em;
}
.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size: 15px;
  line-height:1.9;
}
.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}

.hero-side{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero-side .inner{padding:18px 18px 16px}
.hero-side h3{margin:0 0 10px; font-size:16px}
.hero-side .mini{color:var(--muted); font-size:13px; line-height:1.75; margin:0 0 12px}
.hero-side .list{display:grid; gap:10px; margin:0}
.hero-side .list .li{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 12px;
  border-radius: 16px;
  background: rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.10);
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius: 999px;
  background: rgba(251,191,36,.10);
  border:1px solid rgba(251,191,36,.20);
  color: var(--text);
  font-weight:800;
  font-size:12px;
}
.badge small{color:var(--muted); font-weight:700}

.card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card.glass{
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.06);
}

.section{
  padding: 18px 0 34px;
}
.section .title{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
}
.section .title h2{
  margin:0;
  font-size: clamp(18px, 2.2vw, 26px);
}
.section .title p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

.grid-3{display:grid; grid-template-columns: repeat(3,1fr); gap:14px}
.grid-2{display:grid; grid-template-columns: repeat(2,1fr); gap:14px}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .nav{display:none}
  .menu-btn{display:grid}
}

.feature{
  padding:16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  position:relative;
  overflow:hidden;
}
.feature::before{
  content:"";
  position:absolute; inset:-1px;
  background: radial-gradient(380px 160px at 15% 20%, var(--page-glow), transparent 60%);
  opacity:.9;
  pointer-events:none;
}
.feature h3{margin:0 0 8px; font-size:15px}
.feature p{margin:0; color:var(--muted); font-size:13px; line-height:1.85}
.feature .icon{
  width:42px;height:42px;border-radius:16px;
  background: rgba(251,191,36,.10);
  border:1px solid rgba(251,191,36,.18);
  display:grid;place-items:center;
  margin-bottom:10px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:800;
  font-size: 14px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.08)}
.btn:active{transform: translateY(0)}
.btn.primary{
  background: linear-gradient(135deg, rgba(251,191,36,.95), rgba(245,158,11,.92));
  color:#0b0d13;
  border-color: rgba(251,191,36,.35);
  box-shadow: 0 18px 45px rgba(251,191,36,.20);
}
.btn.primary:hover{box-shadow: 0 20px 55px rgba(251,191,36,.26)}
.btn.outline{
  background: transparent;
  border-color: rgba(251,191,36,.28);
}
.btn.outline:hover{background: rgba(251,191,36,.10)}
.btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,.10);
}
.btn.small{padding:10px 12px; border-radius:14px; font-size:13px}
.btn.block{width:100%}
.btn.danger{
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.22);
}
.btn.link{border:none; background:none; padding:0; border-radius:0; font-weight:800; color:var(--accent)}
.btn.link:hover{text-decoration:underline}

/* Stats / ratings */
.stats{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap:12px;
}
.stat{
  padding:14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.stat .num{font-weight:900; font-size:22px}
.stat .lbl{color:var(--muted); font-size:12px; margin-top:4px}
@media (max-width:980px){.stats{grid-template-columns:repeat(2,1fr)}}

.stars{display:inline-flex; gap:2px; vertical-align:middle}
.stars svg{width:16px;height:16px}
.star-on{fill: var(--accent); opacity:1}
.star-off{fill: rgba(255,255,255,.22)}

.review{
  display:flex; gap:12px; align-items:flex-start;
}
.avatar{
  width:44px;height:44px;border-radius:16px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  font-weight:900;
}
.review .meta{flex:1}
.review .meta .name{font-weight:900}
.review .meta .sub{color:var(--muted); font-size:12px; margin-top:2px}
.review .text{margin:8px 0 0; color:var(--muted); font-size:13px; line-height:1.85}

/* Forms */
.form{
  display:grid;
  gap:14px;
}
.form-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 980px){.form-grid{grid-template-columns:1fr}}
.field label{
  display:block;
  margin-bottom:8px;
  color:var(--muted);
  font-size: 12px;
  font-weight:800;
}
.field input,
.field select,
.field textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
  outline:none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea{min-height:120px; resize:vertical}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(251,191,36,.35);
  box-shadow: 0 0 0 6px rgba(251,191,36,.10);
}
.hint{color:var(--muted2); font-size:12px; line-height:1.6; margin-top:6px}

.checks{
  display:grid; gap:10px;
}
.check{
  display:flex; align-items:flex-start; gap:10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.check input{margin-top:3px; accent-color: var(--accent)}
.check p{margin:0; color:var(--muted); font-size:12.5px; line-height:1.7}

.inline-actions{display:flex; gap:10px; flex-wrap:wrap}
.pills{display:flex; gap:8px; flex-wrap:wrap}
.pill{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

/* Toasts */
.toast-container{
  position:fixed;
  bottom:16px;
  left:16px;
  z-index:120;
  display:grid;
  gap:10px;
  max-width:min(360px, calc(100% - 32px));
}
.toast{
  border-radius: 18px;
  background: rgba(12,15,24,.88);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 45px rgba(0,0,0,.35);
  padding: 12px 12px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  backdrop-filter: blur(14px);
}
.toast .bubble{
  width:36px;height:36px;border-radius:16px;
  background: rgba(251,191,36,.14);
  border:1px solid rgba(251,191,36,.20);
  display:grid; place-items:center;
}
.toast p{margin:0; color:var(--text); font-size:12.5px; line-height:1.7}
.toast small{display:block; color:var(--muted2); margin-top:2px; font-weight:800}

/* Modal */
.modal-backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(7px);
  z-index:140;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
}
.modal{
  position:fixed;
  inset: 0;
  z-index:150;
  display:grid;
  place-items:center;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
  padding: 16px;
}
.modal.open,
.modal-backdrop.open{
  opacity:1;
  pointer-events:auto;
}
.modal .panel{
  width: min(820px, 100%);
  max-height: min(86vh, 720px);
  overflow:auto;
  border-radius: 22px;
  background: rgba(14,18,30,.92);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.modal .panel header{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
  position:sticky;
  top:0;
  background: rgba(14,18,30,.96);
}
.modal .panel header h3{margin:0; font-size:15px}
.modal .panel .content{padding: 14px 16px 18px}
.modal .content p, .modal .content li{
  color:var(--muted);
  font-size:13px;
  line-height:1.95;
}
.modal .content h4{
  margin: 10px 0 8px;
  font-size: 13.5px;
}

/* Assistant */
.assistant-fab{
  position:fixed;
  bottom: 18px;
  right: 18px;
  z-index:160;
  width: 56px;height:56px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(34,197,94,.95), rgba(16,185,129,.95));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 55px rgba(16,185,129,.20);
  cursor:pointer;
  display:grid; place-items:center;
  overflow:hidden;
}
.assistant-fab::after{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.32), transparent 55%);
  transform: rotate(25deg);
  animation: shimmer 2.6s linear infinite;
  opacity:.55;
}
@keyframes shimmer{
  0%{transform:translateX(-20%) rotate(25deg)}
  50%{transform:translateX(20%) rotate(25deg)}
  100%{transform:translateX(-20%) rotate(25deg)}
}
.assistant-fab svg{width:22px;height:22px; position:relative; z-index:1}

.assistant-panel{
  position:fixed;
  bottom: 86px;
  right: 18px;
  z-index:170;
  width: min(420px, calc(100% - 36px));
  border-radius: 24px;
  background: rgba(14,18,30,.92);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transform: translateY(10px);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  overflow:hidden;
}
.assistant-panel.open{opacity:1; pointer-events:auto; transform: translateY(0)}
.assistant-panel header{
  padding: 12px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.assistant-panel header .who{display:flex; gap:10px; align-items:center}
.assistant-panel header .who .avatar{
  width:38px;height:38px;border-radius:16px;
  background: rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.24);
}
.assistant-panel header .who .name{font-weight:900; font-size:13px}
.assistant-panel header .who .hint{margin:0; font-size:11.5px}
.assistant-panel header .close{border:none; background:transparent; cursor:pointer; color:var(--muted); font-weight:900}
.assistant-panel .body{padding:12px}
.quick-actions{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px}
.chip{
  padding:10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color:var(--text);
  font-weight:800;
  font-size:12px;
  cursor:pointer;
}
.chip:hover{background: rgba(255,255,255,.07)}
.chat{
  display:grid; gap:10px;
  max-height: 320px;
  overflow:auto;
  padding-left:4px;
}
.bubble{
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  font-size: 12.8px;
  line-height:1.75;
}
.bubble.me{
  justify-self:end;
  background: rgba(251,191,36,.10);
  border-color: rgba(251,191,36,.20);
  color: rgba(255,255,255,.92);
}
.assistant-panel .composer{
  display:flex; gap:8px; margin-top:10px;
}
.assistant-panel .composer input{
  flex:1;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
}
.assistant-panel .composer button{white-space:nowrap}

/* Install banner */
.install-banner{
  position:fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 160;
  width: min(980px, calc(100% - 28px));
  border-radius: 22px;
  background: rgba(14,18,30,.92);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 12px 12px;
  display:none;
}
.install-banner.show{display:flex; align-items:center; justify-content:space-between; gap:12px}
.install-banner .txt{display:flex; gap:10px; align-items:flex-start}
.install-banner .txt .i{
  width:42px;height:42px;border-radius:18px;
  background: rgba(251,191,36,.12);
  border:1px solid rgba(251,191,36,.18);
  display:grid; place-items:center;
}
.install-banner .txt .t h4{margin:0; font-size:14px}
.install-banner .txt .t p{margin:3px 0 0; color:var(--muted); font-size:12.5px; line-height:1.6}
.install-banner .actions{display:flex; gap:8px; align-items:center; flex-wrap:wrap}

/* Page themes (to avoid "same look") */
body.page-home{ --page-accent: #fbbf24; --page-glow: rgba(251,191,36,.18) }
body.page-guide{ --page-accent: #38bdf8; --page-glow: rgba(56,189,248,.18) }
body.page-content{ --page-accent: #a855f7; --page-glow: rgba(168,85,247,.18) }
body.page-test{ --page-accent: #fb923c; --page-glow: rgba(251,146,60,.18) }
body.page-results{ --page-accent: #22c55e; --page-glow: rgba(34,197,94,.16) }
body.page-register{ --page-accent: #fbbf24; --page-glow: rgba(251,191,36,.18) }
body.page-faq{ --page-accent: #60a5fa; --page-glow: rgba(96,165,250,.16) }
body.page-testimonials{ --page-accent: #f472b6; --page-glow: rgba(244,114,182,.16) }
body.page-support{ --page-accent: #34d399; --page-glow: rgba(52,211,153,.16) }
body.page-legal{ --page-accent: #e5e7eb; --page-glow: rgba(229,231,235,.10) }

/* Test UI */
.test-shell{
  display:grid;
  grid-template-columns: 1fr 340px;
  gap:14px;
}
@media (max-width:980px){
  .test-shell{grid-template-columns:1fr}
}
.question-card{
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  padding: 16px;
}
.q-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
}
.q-head .prog{color:var(--muted); font-weight:800; font-size:12px}
.progressbar{
  height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  margin-top:10px;
}
.progressbar > div{
  height:100%;
  width:0%;
  background: linear-gradient(135deg, var(--page-accent), rgba(255,255,255,.40));
}
.q-text{
  margin: 12px 0 10px;
  font-size: 15px;
  line-height:1.85;
}
.options{display:grid; gap:10px}
.option{
  text-align:right;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(0,0,0,.16);
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  color: var(--text);
  font-weight:800;
}
.option:hover{transform: translateY(-1px); background: rgba(255,255,255,.06)}
.option.selected{border-color: rgba(251,191,36,.26); background: rgba(251,191,36,.08)}
.option.correct{border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.10)}
.option.wrong{border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.10)}
.explain{
  margin-top:12px;
  padding: 12px 12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size: 12.8px;
  line-height:1.85;
}
.side-panel{
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  padding: 14px;
}
.q-grid{
  display:grid;
  grid-template-columns: repeat(5,1fr);
  gap:8px;
}
.qnum{
  border-radius: 14px;
  padding: 10px 0;
  text-align:center;
  font-weight:900;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  cursor:pointer;
  color: var(--muted);
}
.qnum.answered{color: var(--text); border-color: rgba(251,191,36,.22); background: rgba(251,191,36,.08)}
.qnum.current{outline: 3px solid rgba(251,191,36,.20); color: var(--text)}

/* Footer */
.site-footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding: 22px 0 36px;
  margin-top: 14px;
  background: rgba(0,0,0,.14);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
@media (max-width:980px){.footer-grid{grid-template-columns:1fr}}
.footer-grid h4{margin:0 0 8px; font-size:14px}
.footer-grid p, .footer-grid a{
  margin:0;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.85;
}
.footer-links{display:grid; gap:8px}
.footer-links a:hover{color:var(--text)}
