@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
  --bg: #020617;
  --bg-2: #071a46;
  --panel: #0b1c45;
  --text: #f8fafc;
  --muted: #a9b8d4;
  --gold: #f0c14b;
  --gold-soft: #ffe7a0;
  --blue: #1a6bff;
  --cyan: #2ef2ff;
  --border: #274074;
  --ok: #22c55e;
  --danger: #ef4444;
  --radius: 1rem;
  --font: 'Figtree', 'Segoe UI', sans-serif;
  --display: 'Manrope', 'Segoe UI', sans-serif;
  --max: 70rem;
  --pad: 1.15rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.55;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #7db0ff;
}

a:hover {
  color: var(--gold-soft);
}

.shell {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  z-index: 100;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--gold);
  color: #111;
  padding: 0.5rem 0.75rem;
  border-radius: 0.4rem;
  text-decoration: none;
}

/* Atmosphere */
.fx {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 45% at 50% -8%, rgba(240, 193, 75, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 20%, rgba(26, 107, 255, 0.22), transparent 55%),
    linear-gradient(180deg, #071a46 0%, #030b24 42%, #01040f 100%);
}

.fx__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: drift 16s ease-in-out infinite alternate;
}

.fx__glow--gold {
  width: 22rem;
  height: 22rem;
  right: -6rem;
  top: 18%;
  background: radial-gradient(circle, rgba(240, 193, 75, 0.45), transparent 70%);
}

.fx__glow--blue {
  width: 26rem;
  height: 26rem;
  left: -8rem;
  top: 8%;
  background: radial-gradient(circle, rgba(26, 107, 255, 0.5), transparent 70%);
  animation-delay: -5s;
}

.fx__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 25%, #000 15%, transparent 75%);
  animation: grid-shift 30s linear infinite;
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid rgba(240, 193, 75, 0.22);
  background: linear-gradient(90deg, #050d24, #0a1b45, #050d24);
}

.ticker__track {
  display: inline-flex;
  gap: 2rem;
  padding: 0.45rem 0;
  white-space: nowrap;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  animation: ticker 32s linear infinite;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ticker__dot {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: pulse 1.3s ease-in-out infinite;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(2, 6, 23, 0.82);
  border-bottom: 1px solid rgba(240, 193, 75, 0.16);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.6rem;
  position: relative;
}

.brand {
  display: inline-flex;
  max-width: min(68vw, 11.5rem);
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 0.55rem;
  padding: 0.5rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--gold-soft);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: calc(100% - 1px) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    background: rgba(7, 26, 70, 0.98);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .btn {
    width: 100%;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.8rem 1.15rem;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.btn--lg {
  width: 100%;
  padding: 0.95rem 1.25rem;
}

@media (min-width: 520px) {
  .btn--lg {
    width: auto;
    min-width: 11.5rem;
  }
}

.btn--download {
  background: linear-gradient(135deg, #0b3d1a, #15803d 45%, #22c55e);
  color: #ecfdf5;
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.28);
}

.btn--download svg {
  width: 1.1rem;
  height: 1.1rem;
}

.btn--gold {
  background: linear-gradient(135deg, #b8860b, var(--gold) 45%, var(--gold-soft));
  color: #1a1200;
  box-shadow: 0 0 28px rgba(240, 193, 75, 0.32);
}

.btn--ghost {
  background: rgba(12, 31, 77, 0.55);
  border-color: var(--border);
  color: var(--text);
}

.btn--primary {
  background: linear-gradient(135deg, #145dff, #2878ff 55%, #2ef2ff);
  color: #fff;
}

.btn.is-disabled,
.btn[aria-disabled='true'],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 2.25rem 0 2.75rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: auto 10% -35% 10%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(240, 193, 75, 0.2), transparent 70%);
  filter: blur(12px);
  animation: breathe 5s ease-in-out infinite;
}

.hero__inner {
  position: relative;
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__logo {
  width: min(100%, 17.5rem);
  margin: 0 auto 1.15rem;
  filter: drop-shadow(0 0 26px rgba(40, 120, 255, 0.35));
  animation: logo-glow 3.6s ease-in-out infinite;
}

.hero h1 {
  margin: 0 auto 0.8rem;
  max-width: 18ch;
  font-family: var(--display);
  font-size: clamp(1.85rem, 7.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 auto 1.35rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: clamp(1rem, 3.5vw, 1.15rem);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

@media (min-width: 520px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-board {
  margin: 0 auto;
  width: min(100%, 26rem);
  padding: 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(240, 193, 75, 0.35);
  background:
    linear-gradient(180deg, rgba(127, 29, 29, 0.35), rgba(2, 6, 23, 0.92));
  box-shadow:
    0 0 40px rgba(185, 28, 28, 0.22),
    0 18px 40px rgba(0, 0, 0, 0.35);
  animation: float-in 900ms ease both;
}

.hero-board__label {
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fecaca;
}

.hero-board__row {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1fr;
  gap: 0.45rem;
}

.hero-cell {
  padding: 0.7rem 0.35rem;
  border-radius: 0.65rem;
  background: #020617;
  border: 1px solid #334155;
  text-align: center;
}

.hero-cell span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.hero-cell strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  color: #fef08a;
  letter-spacing: 0.02em;
}

.hero-cell--jodi {
  border-color: rgba(245, 158, 11, 0.65);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.2), #020617);
}

.hero-cell--jodi strong {
  color: #fdba74;
}

/* Sections */
.section {
  padding: 2.4rem 0;
}

.section--panel {
  background: linear-gradient(180deg, rgba(7, 26, 70, 0.55), rgba(6, 20, 51, 0.3));
  border-block: 1px solid rgba(240, 193, 75, 0.12);
}

.section__head {
  margin-bottom: 1.35rem;
  max-width: 40rem;
}

.section__head--spaced {
  margin-top: 2rem;
}

.section__head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  line-height: 1.2;
}

.section__head p,
.note,
.muted {
  margin: 0;
  color: var(--muted);
}

.note {
  margin-top: 0.85rem;
  font-size: 0.92rem;
}

/* Flow steps */
.flow {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.flow > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(3, 11, 36, 0.65);
}

.flow__n {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold-soft);
  background: rgba(240, 193, 75, 0.14);
  border: 1px solid rgba(240, 193, 75, 0.35);
}

.flow h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.ojc {
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 193, 75, 0.28);
  background: rgba(7, 26, 70, 0.5);
  margin-bottom: 0.5rem;
}

.ojc h3 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.ojc__grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .ojc__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ojc__grid p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.tag {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--open {
  color: #ecfdf5;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.tag--jodi {
  color: #fff7ed;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.tag--close {
  color: #e0f2fe;
  background: rgba(26, 107, 255, 0.2);
  border: 1px solid rgba(91, 155, 255, 0.5);
}

/* Games */
.game-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-tile {
  padding: 1.05rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(12, 31, 77, 0.85), rgba(3, 11, 36, 0.75));
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.game-tile:hover {
  border-color: rgba(240, 193, 75, 0.55);
  transform: translateY(-2px);
}

.game-tile__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.45rem;
  margin-bottom: 0.65rem;
  border-radius: 0.65rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.9rem;
  color: #e0f2fe;
  background: linear-gradient(145deg, rgba(26, 107, 255, 0.4), rgba(7, 26, 70, 0.9));
  border: 1px solid rgba(91, 155, 255, 0.4);
}

.game-tile__mark--gold {
  color: #fff7ed;
  background: linear-gradient(145deg, rgba(240, 193, 75, 0.35), rgba(7, 26, 70, 0.9));
  border-color: rgba(240, 193, 75, 0.5);
}

.game-tile__mark--cyan {
  color: #ecfeff;
  background: linear-gradient(145deg, rgba(46, 242, 255, 0.25), rgba(7, 26, 70, 0.9));
  border-color: rgba(46, 242, 255, 0.4);
}

.game-tile h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.08rem;
}

.game-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Install */
.install-cta {
  margin-bottom: 1.25rem;
}

.install-steps {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  counter-reset: install;
  display: grid;
  gap: 0.75rem;
}

.install-steps > li {
  counter-increment: install;
  position: relative;
  padding: 1rem 1rem 1rem 3.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(3, 11, 36, 0.65);
}

.install-steps > li::before {
  content: counter(install);
  position: absolute;
  left: 0.85rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-soft);
  background: rgba(240, 193, 75, 0.14);
  border: 1px solid rgba(240, 193, 75, 0.35);
}

.install-steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.02rem;
}

.install-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.callout {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(127, 29, 29, 0.22);
}

.callout h3 {
  margin: 0 0 0.35rem;
  color: #fecaca;
  font-size: 1rem;
}

.callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Short steps */
.steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(15, 40, 90, 0.9), rgba(6, 20, 51, 0.75));
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  font-weight: 800;
  color: var(--gold-soft);
  background: rgba(240, 193, 75, 0.16);
  border: 1px solid rgba(240, 193, 75, 0.35);
}

.step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* CTA */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.15rem;
  border-radius: calc(var(--radius) + 0.2rem);
  border: 1px solid rgba(240, 193, 75, 0.35);
  background:
    linear-gradient(120deg, rgba(240, 193, 75, 0.16), rgba(26, 107, 255, 0.22) 55%, rgba(46, 242, 255, 0.1)),
    #0a1a44;
  box-shadow: 0 0 50px rgba(240, 193, 75, 0.12);
}

.cta-band__eyebrow {
  margin: 0 0 0.3rem;
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  line-height: 1.25;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.cta-band .hero__actions {
  margin: 0;
}

/* Footer */
.site-footer {
  margin-top: 1.5rem;
  padding: 2.25rem 0 1.75rem;
  border-top: 1px solid rgba(240, 193, 75, 0.14);
  background: rgba(1, 4, 15, 0.88);
}

.site-footer__inner {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 0.95rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.footer-copy {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

/* Live results — mobile app reference (lane cards + OJC boards) */
.accent-pill {
  display: inline-block;
  width: 0.28rem;
  height: 1.05rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-right: 0.45rem;
}

.accent-pill--gold {
  background: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}

.accent-pill--danger {
  background: #dc2626;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.45);
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.results-head__eyebrow {
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.results-head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 4.5vw, 2rem);
}

.results-head__sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.results-head__clock {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.results-head__clock strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--gold-soft);
}

.results-head__clock span {
  color: var(--muted);
  font-size: 0.82rem;
}

.matka-marquee {
  overflow: hidden;
  margin-bottom: 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: #0a162f;
  color: #e8d48a;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0;
}

.matka-marquee__inner {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee 32s linear infinite;
}

.results-toolbar--app {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.results-status {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.results-status[data-tone='ok'] {
  color: #86efac;
}

.results-status[data-tone='error'] {
  color: #fca5a5;
}

.results-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.results-countdown {
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.results-list {
  display: grid;
  gap: 0.75rem;
}

.results-list--lanes {
  gap: 0.65rem;
}

.results-list--boards {
  gap: 1rem;
}

@media (min-width: 900px) {
  .results-list--boards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* App RoundLaneCard */
.lane-card {
  display: grid;
  grid-template-columns: 4px 1fr;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, #102653, #071a46 55%, #030b24);
  border: 1px solid #20345f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  animation: deal 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lane-card__accent {
  background: #c4a86a;
}

.lane-card--inplay {
  box-shadow:
    0 0 0 1px rgba(220, 38, 38, 0.25),
    0 12px 30px rgba(220, 38, 38, 0.18);
}

.lane-card--inplay .lane-card__accent,
.lane-card--inplay .result-board__accent {
  background: #dc2626;
}

.lane-card--upcoming .lane-card__accent,
.lane-card--upcoming .result-board__accent {
  background: #00d9ff;
}

.lane-card--finished .lane-card__accent,
.lane-card--finished .result-board__accent {
  background: #c4a86a;
}

.lane-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.85rem 0.95rem;
}

.lane-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}

.lane-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  color: #e8d48a;
}

.lane-card__badge {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9d2e4;
  background: rgba(26, 51, 102, 0.85);
  border: 1px solid #20345f;
}

.lane-card--inplay .lane-card__badge {
  color: #fecaca;
  border-color: rgba(220, 38, 38, 0.45);
  background: rgba(220, 38, 38, 0.14);
}

.lane-card__schedule {
  margin: 0.35rem 0 0;
  color: #c9d2e4;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* App RoundResultTriple: ABC MN XYZ */
.result-triple {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;
  white-space: nowrap;
  color: #f5f7fb;
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
}

.result-triple__jodi {
  margin: 0 0.28rem;
  font-size: 1.18em;
  font-weight: 800;
  color: #d4af37;
  letter-spacing: 0.1em;
}

.result-triple--footer {
  margin-top: 0.85rem;
  text-align: center;
  opacity: 0.92;
}

/* App _ResultBoard */
.result-board {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(165deg, #12284f 0%, #030b24 48%, #071428 100%);
  box-shadow:
    0 0 28px rgba(212, 175, 55, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.35);
  animation: deal 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.result-board__hero {
  display: grid;
  grid-template-columns: 5px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 0.95rem;
  background: linear-gradient(90deg, rgba(16, 38, 83, 0.95), rgba(7, 26, 70, 0.75));
  border-bottom: 1px solid #20345f;
}

.result-board__accent {
  align-self: stretch;
  border-radius: 999px;
  background: #c4a86a;
}

.result-board__title {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #e8d48a;
}

.result-board__schedule {
  margin: 0;
  color: #c9d2e4;
  font-size: 0.82rem;
}

.result-board__panel {
  margin: 0.85rem;
  padding: 0.95rem 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(7, 26, 70, 0.55);
  border: 1px solid rgba(32, 52, 95, 0.95);
}

.result-board__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.85rem;
  color: #c9d2e4;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-board__status strong {
  color: #e8d48a;
  font-weight: 800;
}

.result-board__dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.result-board__scores {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: end;
  justify-items: center;
}

.score-panel {
  text-align: center;
  min-width: 4.5rem;
}

.score-panel__value {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.55rem, 5.5vw, 2.1rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #f5f7fb;
  line-height: 1;
}

.score-panel--jodi .score-panel__value {
  font-size: clamp(1.9rem, 6.5vw, 2.55rem);
  color: #d4af37;
  letter-spacing: 0.08em;
}

.score-panel__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9d2e4;
}

.empty-panel {
  padding: 1.25rem;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 0.85rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .lane-card__body {
    flex-direction: column;
    align-items: flex-start;
  }

  .result-triple {
    width: 100%;
    text-align: left;
  }

  .results-toolbar--app {
    flex-direction: column;
    align-items: stretch;
  }

  .results-toolbar__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .results-countdown {
    grid-column: 1 / -1;
  }
}

/* Legal docs */
.page--doc {
  padding: 2rem 0 3.5rem;
}

.page--doc main {
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  color: var(--gold-soft);
}

.doc-brand {
  margin: 0 0 1rem;
}

.doc-brand img {
  width: min(100%, 11rem);
}

.page--doc h1 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 5vw, 2.4rem);
}

.doc-meta {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.doc-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(32, 52, 95, 0.7);
}

.doc-section:last-of-type {
  border-bottom: 0;
}

.doc-section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--gold-soft);
}

.doc-section h3 {
  margin: 0.9rem 0 0.4rem;
  font-family: var(--display);
  font-size: 1rem;
}

.doc-section p,
.doc-section li {
  color: var(--muted);
}

.doc-section ul {
  padding-left: 1.15rem;
}

/* Compat aliases used by older markup */
.site-header__inner.shell,
.brand-lockup {
  /* no-op helpers */
}

.brand-lockup {
  display: inline-flex;
  max-width: min(68vw, 11.5rem);
  text-decoration: none;
}

.brand-lockup img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.section-inner {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.ambient {
  display: none;
}

/* Motion */
@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(18px, -24px, 0);
  }
}

@keyframes grid-shift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(44px);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logo-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 16px rgba(40, 120, 255, 0.28));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(240, 193, 75, 0.35));
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes deal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .fx__grid,
  .fx__glow {
    display: none;
  }

  .matka-marquee__inner {
    padding-left: 1rem;
    white-space: normal;
  }
}

/* SEO / FAQ content blocks */
.seo-block {
  max-width: 46rem;
}

.seo-block p {
  color: var(--muted);
  font-size: 1rem;
}

.seo-block h3 {
  margin: 1.35rem 0 0.45rem;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(11, 28, 69, 0.55);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--gold);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.keyword-strip a,
.keyword-strip span {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.55);
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.keyword-strip a:hover {
  color: var(--gold-soft);
  border-color: rgba(240, 193, 75, 0.45);
}
