/* Kriddox single page: "Broadcast Arena" look of the GHMS public site (docs/design/DESIGN_SYSTEM.md), static CSS only.
   Colours: the design tokens (packages/tokens) with Kriddox's brand primary as the action colour. */
:root {
  --c-canvas: #0b0d10;
  --c-surface: #14171c;
  --c-surface-2: #1c2027;
  --c-line: #2b313b;
  --c-line-strong: #6b7380;
  --c-ink: #f2f3f5;
  --c-muted: #9ba3af;
  --c-primary: #748cd2; /* Kriddox brand primary */
  --c-primary-fg: #0b0d10;
  --c-accent: var(--c-primary); /* the brand accent fails the 4.5:1 gate, so decoration follows the primary */
  --c-live: #3df58a;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans: "Barlow", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 72rem;
  --logo: 76px; /* the logo size chosen in Brand */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0;
  background: var(--c-canvas);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--c-primary); color: var(--c-primary-fg); }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }

.display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; }
.label-caps { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--c-muted); }
.tabular { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--c-primary); color: var(--c-primary-fg); padding: 0.75rem 1rem; font-weight: 600; }
.skip:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.625rem 1.25rem;
  border: 1px solid var(--c-line-strong); border-radius: 2px; background: transparent; color: var(--c-ink);
  font-weight: 600; text-decoration: none; transition: transform 120ms ease, background-color 120ms ease;
}
.btn:hover { background: var(--c-surface-2); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--c-primary); color: var(--c-primary-fg); border-color: var(--c-primary);
  font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.01em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); /* the one 12° cut */
}
.btn-primary:hover { background: var(--c-primary); filter: brightness(1.08); }
.btn .icon { width: 1.125rem; height: 1.125rem; fill: currentColor; flex-shrink: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--c-canvas); border-bottom: 1px solid var(--c-line); padding-top: env(safe-area-inset-top); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-block: 0.5rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-size: 1.75rem; min-height: 44px; }
.brand img { width: var(--logo); height: var(--logo); object-fit: contain; }
.nav { display: none; align-items: center; }
.nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 0.75rem; color: var(--c-muted); text-decoration: none; transition: color 120ms; }
.nav a:hover { color: var(--c-ink); }
.menu { position: relative; }
.menu summary { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding-inline: 1rem; border: 1px solid var(--c-line-strong); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; width: 16rem; max-width: calc(100vw - 2rem); padding: 0.75rem; border: 1px solid var(--c-line); background: var(--c-surface); box-shadow: 0 20px 40px rgb(0 0 0 / 0.5); }
.menu nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 0.75rem; color: var(--c-muted); text-decoration: none; }
.menu nav a:hover { color: var(--c-ink); }
@media (min-width: 1024px) { .nav { display: flex; } .menu { display: none; } }
/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--c-line); }
.hero::after { /* the diagonal band */
  content: ""; position: absolute; inset: 0 0 0 auto; width: 34%; background: var(--c-surface);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  background-image: repeating-linear-gradient(90deg, transparent 0 55px, rgb(255 255 255 / 0.03) 55px 56px);
}
.hero .container { position: relative; z-index: 1; padding-block: clamp(4rem, 10vw, 8rem); }
.index { color: var(--c-accent); margin: 0 0 0.75rem; }
.hero h1 { margin: 0; font-size: clamp(3rem, 2rem + 6vw, 6.5rem); max-width: 14ch; }
.hero h1 .hl { color: var(--c-accent); display: block; }
.hero p.lead { margin: 1.5rem 0 0; max-width: 34rem; font-size: 1.125rem; color: var(--c-muted); }
.hero .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.facts { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--c-line); }
.facts > div { padding: 1.25rem 1rem; border-top: 1px solid var(--c-line); }
.facts dt { margin: 0 0 0.25rem; color: var(--c-muted); }
.facts dd { margin: 0; font-weight: 600; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts > div { border-top: 0; border-left: 1px solid var(--c-line); padding-inline: 1.5rem; } .facts > div:first-child { border-left: 0; } }

/* ---------- sections ---------- */
section.band { padding-block: clamp(4rem, 10vw, 8rem); }
section.band.surface { background: var(--c-surface); }
section.band h2 { margin: 0; font-size: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem); }
section.band .intro { margin: 1rem 0 0; max-width: 40rem; font-size: 1.125rem; color: var(--c-muted); }
section.band .content { margin-top: 2.5rem; }

/* ---------- games ---------- */
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .games { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1024px) { .games { grid-template-columns: repeat(5, minmax(0, 1fr)); } } /* 4 games + "many more" in one row */
.game { display: flex; flex-direction: column; border: 1px solid var(--c-line); background: var(--c-surface); }
.cover { aspect-ratio: 1 / 1; background-size: cover; background-position: center; background-color: var(--c-surface-2); }
/* the artwork first; if the .jpg is missing the browser shows the placeholder underneath */
.cover-gta6 { background-image: url("assets/games/gta6.jpg"); }
.cover-fc { background-image: url("assets/games/fc.jpg"); }
.cover-tekken8 { background-image: url("assets/games/tekken8.jpg"); }
.cover-forza { background-image: url("assets/games/forza.jpg"); }
.cover-more { background-image: url("assets/games/more.svg"); }
.game p { margin: 0; padding: 0.75rem; font-weight: 600; }

/* ---------- pricing ---------- */
.rates { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 640px) { .rates { grid-template-columns: 1fr 1fr; } }
.rate { border: 1px solid var(--c-line); background: var(--c-canvas); padding: 1.5rem; border-top: 3px solid var(--c-primary); }
.rate .who { color: var(--c-muted); margin: 0; }
.rate .price { margin: 0.5rem 0 0; font-size: clamp(2.75rem, 2rem + 3vw, 4rem); }
.rate .price small { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; text-transform: none; color: var(--c-muted); letter-spacing: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; padding: 1rem; color: var(--c-muted); caption-side: bottom; font-size: 0.875rem; border-top: 1px solid var(--c-line); }
th, td { padding: 0.75rem 0.625rem; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
thead th { background: var(--c-surface-2); color: var(--c-muted); }
td.num, th.num { text-align: right; white-space: nowrap; }
@media (min-width: 640px) { th, td { padding: 0.875rem 1rem; } }
.cur { text-transform: none; } /* "Rs." keeps its case inside upper-case display type */
tr.offer td { background: rgb(116 140 210 / 0.08); }
tr.offer strong { font-size: 1.125rem; }
.save { display: block; margin-top: 0.15rem; color: var(--c-live); font-size: 0.8125rem; font-weight: 600; }
.notes { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
@media (min-width: 768px) { .notes { grid-template-columns: 1fr 1fr; } }
.notes li { color: var(--c-muted); }
.notes li strong { color: var(--c-ink); }

/* ---------- booking options ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--c-primary); color: var(--c-primary); background: rgb(116 140 210 / 0.1); vertical-align: middle;
}
.tag::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
h2 .tag { margin-left: 1rem; font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.08em; transform: translateY(-0.5em); }
.options { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .options { grid-template-columns: repeat(3, 1fr); } }
.option { border: 1px dashed var(--c-line-strong); padding: 1.5rem; opacity: 0.92; }
.option h3 { margin: 0.75rem 0 0.5rem; font-size: 1.75rem; }
.option p { margin: 0; color: var(--c-muted); }
.step { color: var(--c-accent); }

/* ---------- terms ---------- */
.terms { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; max-width: 52rem; }
.terms h3 { margin: 0 0 0.75rem; font-size: 1.75rem; }
.terms ul { margin: 0; padding-left: 1.25rem; color: var(--c-muted); display: grid; gap: 0.5rem; }
.terms li strong { color: var(--c-ink); }
.terms p { margin: 0 0 0.75rem; color: var(--c-muted); }

/* ---------- visit ---------- */
.map { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--c-line); border-radius: 2px; background: var(--c-surface); }
@media (min-width: 640px) { .map { aspect-ratio: 16 / 10; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map figcaption {
  position: absolute; left: 0.75rem; top: 0.75rem; max-width: calc(100% - 1.5rem); pointer-events: none;
  display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border: 1px solid var(--c-line); border-radius: 2px;
  background: rgb(11 13 16 / 0.9); font-weight: 600; box-shadow: 0 10px 20px rgb(0 0 0 / 0.4);
}
.map figcaption svg { width: 1rem; height: 1rem; fill: var(--c-primary); flex-shrink: 0; }
.map-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--c-line); padding-block: 3rem max(3rem, env(safe-area-inset-bottom)); color: var(--c-muted); font-size: 0.875rem; }
.site-footer .container { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 640px) { .site-footer .container { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.site-footer .name { margin: 0 0 0.5rem; font-size: 1.875rem; color: var(--c-ink); }
.site-footer p { margin: 0; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 0.5rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { display: flex; align-items: center; min-height: 44px; padding-inline: 0.5rem; text-decoration: none; }
.site-footer a:hover { color: var(--c-ink); }
/* Instagram: the highlighted link in the footer */
.site-footer .ig {
  display: inline-flex; gap: 0.5rem; margin: 1rem 0; padding-inline: 1rem;
  border: 1px solid var(--c-primary); background: rgb(116 140 210 / 0.1); color: var(--c-primary);
  font-weight: 600; font-size: 0.9375rem; transition: background-color 120ms, color 120ms;
}
.site-footer .ig:hover { background: var(--c-primary); color: var(--c-primary-fg); }
.site-footer .ig svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }