:root {
  --bg: #0c0b13;
  --bg-soft: #13111d;
  --panel: #171421;
  --panel-2: #201b2c;
  --text: #fff8e8;
  --muted: #b7afc5;
  --accent: #ffb000;
  --accent-2: #ff6b2c;
  --line: rgba(255,255,255,.11);
  --max: 1180px;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 22px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -.055em;
  font-size: 1.65rem;
}
.brand-dot { color: var(--accent); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a, .footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
}
.nav a:hover, .footer-links a:hover { color: var(--text); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 132px 0 92px;
  background:
    radial-gradient(circle at 77% 40%, rgba(255,176,0,.12), transparent 34%),
    linear-gradient(180deg, #0b0a11 0%, #100d17 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(40px); opacity: .4; }
.hero-glow-one { width: 320px; height: 320px; background: #ffb000; right: 6%; top: 18%; }
.hero-glow-two { width: 220px; height: 220px; background: #ff5d35; right: 28%; bottom: 2%; opacity: .22; }
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 50px;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  font-size: .72rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff493c;
  box-shadow: 0 0 0 6px rgba(255,73,60,.12);
}
.hero h1 {
  margin: 18px 0 4px;
  font-size: clamp(5.3rem, 11vw, 9.5rem);
  line-height: .84;
  letter-spacing: -.085em;
  font-weight: 1000;
}
.hero-urdu {
  margin: 24px 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -.035em;
}
.hero-lead {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.6;
}
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.coming-soon {
  display: inline-flex;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #191009;
  font-weight: 900;
  letter-spacing: .02em;
}
.text-link { text-decoration: none; color: var(--text); font-weight: 750; }

.hero-stage {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}
.quiz-card {
  position: relative;
  width: min(100%, 480px);
  min-height: 430px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 40px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(30,25,43,.96), rgba(13,11,18,.94));
  box-shadow: 0 40px 120px rgba(0,0,0,.46), inset 0 1px rgba(255,255,255,.08);
  transform: rotateY(-5deg) rotateX(2deg);
  overflow: hidden;
}
.quiz-card:before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255,176,0,.13);
  filter: blur(28px);
  right: -40px;
  top: -40px;
}
.quiz-topline { position: relative; display: flex; justify-content: space-between; color: #d9d0e2; font-size: .69rem; font-weight: 850; letter-spacing: .12em; }
.quiz-topline span:first-child { color: #ff6659; }
.timer-ring {
  position: relative;
  margin: 56px auto 44px;
  width: 178px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #17131f 57%, transparent 58%),
    conic-gradient(var(--accent) 0 78%, rgba(255,255,255,.08) 78% 100%);
  box-shadow: 0 0 54px rgba(255,176,0,.16);
}
.timer-value { font-size: 4.5rem; line-height: .8; font-weight: 950; letter-spacing: -.06em; }
.timer-label { position: absolute; bottom: 47px; color: var(--muted); font-size: .56rem; letter-spacing: .18em; font-weight: 800; }
.answer-bars { display: grid; gap: 11px; position: relative; }
.answer-bars span { height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); }
.answer-bars span:nth-child(2) { border-color: rgba(255,176,0,.45); background: rgba(255,176,0,.08); }
.stage-beam { position: absolute; width: 180px; height: 580px; top: -100px; filter: blur(10px); opacity: .1; background: linear-gradient(to bottom, #fff4cf, transparent 80%); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); }
.beam-left { left: 3%; transform: rotate(-12deg); }
.beam-right { right: 0; transform: rotate(15deg); }
.crowd { position: absolute; bottom: -6px; width: 45%; height: 110px; opacity: .32; background: radial-gradient(circle at 12% 70%, #000 0 15px, transparent 16px), radial-gradient(circle at 32% 63%, #000 0 18px, transparent 19px), radial-gradient(circle at 53% 74%, #000 0 16px, transparent 17px), radial-gradient(circle at 77% 65%, #000 0 19px, transparent 20px); }
.crowd-left { left: -5%; }
.crowd-right { right: -5%; transform: scaleX(-1); }

.section { padding: 110px 0; background: #f6f1e7; color: #15121b; }
.section-heading { max-width: 700px; margin-bottom: 48px; }
.section h2, .operator-section h2 { margin: 10px 0 0; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: .98; letter-spacing: -.055em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { padding: 34px; min-height: 260px; border: 1px solid rgba(19,16,25,.1); border-radius: var(--radius); background: rgba(255,255,255,.58); }
.step-number { color: #9b8560; font-weight: 850; font-size: .78rem; letter-spacing: .14em; }
.step-card h3 { margin: 46px 0 12px; font-size: 1.5rem; letter-spacing: -.03em; }
.step-card p, .about-copy p, .operator-card p { color: #605967; line-height: 1.7; font-size: 1rem; }
.section-dark { background: #14111b; color: var(--text); }
.section-dark .section-kicker { color: var(--accent); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-copy p { color: var(--muted); font-size: 1.15rem; margin: 0 0 18px; }
.operator-section { padding: 94px 0; background: #1b1723; }
.operator-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; border: 1px solid var(--line); padding: 52px; border-radius: 32px; background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); }
.operator-card p { color: var(--muted); margin: 6px 0; }
.operator-card strong { color: var(--text); }

.site-footer { padding: 54px 0; border-top: 1px solid var(--line); background: #0a090f; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 40px; align-items: start; }
.footer-brand { display: inline-block; margin-bottom: 10px; }
.site-footer p { color: #8f879b; font-size: .88rem; line-height: 1.6; margin: 4px 0; }
.footer-company strong { color: #cfc7d8; }
.footer-links { display: grid; gap: 10px; text-align: right; }

.legal-main { padding: 148px 0 90px; background: #f7f3ea; color: #17131d; min-height: 70vh; }
.legal-shell { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.legal-kicker { color: #a56c00; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 850; }
.legal-main h1 { margin: 12px 0 12px; font-size: clamp(2.8rem, 7vw, 5rem); line-height: .95; letter-spacing: -.06em; }
.legal-updated { color: #766e7a; margin-bottom: 42px; }
.legal-main h2 { margin-top: 38px; font-size: 1.35rem; letter-spacing: -.02em; }
.legal-main p, .legal-main li { color: #5d5663; line-height: 1.75; }
.legal-main strong { color: #18131e; }
.contact-card { margin-top: 34px; padding: 28px; border-radius: 22px; border: 1px solid rgba(20,16,26,.1); background: #fffdf8; }
.contact-card a { color: #8c5d00; font-weight: 750; }

@media (max-width: 860px) {
  .nav a:not(:last-child) { display: none; }
  .hero { padding-top: 120px; min-height: auto; }
  .hero-inner, .about-grid, .operator-card { grid-template-columns: 1fr; }
  .hero-inner { gap: 30px; }
  .hero-stage { min-height: 440px; }
  .quiz-card { max-width: 440px; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .step-card h3 { margin-top: 28px; }
  .about-grid, .operator-card { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
}

@media (max-width: 520px) {
  .shell, .legal-shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { padding-top: 18px; }
  .brand { font-size: 1.45rem; }
  .hero { padding: 112px 0 70px; }
  .hero h1 { font-size: 5.2rem; }
  .hero-urdu { font-size: 1.72rem; }
  .hero-stage { min-height: 380px; }
  .quiz-card { min-height: 350px; border-radius: 28px; padding: 22px; transform: none; }
  .timer-ring { width: 150px; margin: 40px auto 30px; }
  .timer-value { font-size: 3.7rem; }
  .timer-label { bottom: 39px; }
  .answer-bars span { height: 34px; }
  .section { padding: 80px 0; }
  .operator-section { padding: 70px 0; }
  .operator-card { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
