/* GolBil web — night-stadium theme shared by the landing page and the legal pages.
   All motion runs on transform, opacity and clip-path, so layout never moves (CLS 0), and every
   animation stops under prefers-reduced-motion. */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-semibold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-bold.woff2") format("woff2"); }
@font-face { font-family: "Caveat Brush"; font-weight: 400; font-display: swap; src: url("/assets/fonts/caveat-brush.woff2") format("woff2"); }

:root {
  --night: #060a28;
  --night-2: #0b1250;
  --blue: #2c45de;
  --sky: #2c9ede;
  --gold-1: #ffe9a8;
  --gold-2: #ffc23d;
  --gold-3: #f09a17;
  --red: #e51c44;
  --on-night: #eef1ff;
  --on-night-muted: #a3acdc;
  --glass: rgba(255, 255, 255, .05);
  --glass-line: rgba(255, 255, 255, .11);

  --paper: #ffe7a3;
  --cream: #fff0c2;
  --chalk: #f3f0e6;

  /* Reading surfaces (legal pages) */
  --ink: #152484;
  --text: #1f2440;
  --muted: #5a6078;
  --accent: #e51c44;
  --surface: #ffffff;
  --page: #eef2fb;
  --line: #dde3ef;

  --radius: 22px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --script: "Caveat Brush", "Marker Felt", "Comic Sans MS", cursive;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #aab8ff;
    --text: #e6e9f5;
    --muted: #a6acc4;
    --accent: #ff5577;
    --surface: #10153a;
    --page: #070b26;
    --line: #262d5c;
  }
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease-in both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body > main { overflow-x: clip; }
img, video { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: var(--accent); }
::selection { background: var(--gold-2); color: var(--night); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 760px; margin: 0 auto; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.gold {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Brand + language pill ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
.brand::before {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: url("/assets/icon.webp") center / cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}

a.lang {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  border-radius: 999px;
  padding: 9px 14px;
  transition: background-color .2s, border-color .2s;
}
a.lang:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }

/* ---------- Static stadium (legal pages) ---------- */

.stadium {
  position: relative;
  isolation: isolate;
  color: var(--on-night);
  background:
    radial-gradient(90% 60% at 50% -12%, rgba(64, 96, 255, .55), transparent 70%),
    linear-gradient(180deg, var(--night-2), var(--night));
}
.stadium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(28% 40% at 6% 0%, rgba(200, 220, 255, .28), transparent 70%),
    radial-gradient(28% 40% at 94% 0%, rgba(200, 220, 255, .28), transparent 70%);
}

/* ---------- Legal / document pages ---------- */

body > header:not(.site) { padding: 22px 20px 82px; }
body > header:not(.site) .wrap { display: flex; flex-direction: column; gap: 6px; }
body > header:not(.site) .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 30px; }
body > header:not(.site) .wrap > .brand { margin-bottom: 30px; }
body > header:not(.site) h1 {
  margin: 0;
  font-size: clamp(28px, 5.2vw, 40px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}
body > header:not(.site) p { margin: 0; color: var(--on-night-muted); }

body > header:not(.site) + main { padding: 0 16px 56px; }
body > header:not(.site) + main .wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: -50px;
  padding: 34px 32px 38px;
  box-shadow: 0 30px 60px -32px rgba(10, 20, 80, .4);
}

h2 { color: var(--ink); font-size: 21px; margin: 36px 0 10px; line-height: 1.3; font-weight: 700; scroll-margin-top: 24px; }
h2:first-child { margin-top: 0; }
h3 { color: var(--ink); font-size: 17px; margin: 22px 0 6px; line-height: 1.35; font-weight: 600; }
p, li { margin: 0 0 10px; }
ul, ol { padding-left: 22px; margin: 0 0 12px; }
main li::marker { color: var(--accent); font-weight: 600; }

.note {
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 16px 0;
}
.summary {
  background: color-mix(in srgb, var(--blue) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 0 0 24px;
}
.summary ul { margin: 0; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 14px; }
dl.facts dt { color: var(--muted); font-weight: 600; }
dl.facts dd { margin: 0; }

.toc { columns: 2; column-gap: 28px; font-size: 15px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.links { list-style: none; padding: 0; display: grid; gap: 12px; }
.links a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; }
.links a span { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
  transition: background-color .2s, transform .2s var(--ease-out);
}
.button:hover { background: #f23257; }
.button:active { transform: scale(.97); }

footer { text-align: center; color: var(--muted); font-size: 14px; padding: 0 16px 36px; }
footer a { color: var(--muted); }

/* Reading progress and back-to-top (added by main.js) */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 50;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--sky), var(--blue), var(--gold-2));
  pointer-events: none;
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px -8px rgba(20, 30, 120, .8);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(.8);
  transition: opacity .3s, visibility .3s, transform .4s var(--ease-out);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* =====================================================================
   Landing page
   ===================================================================== */

.home { background: var(--night); color: var(--on-night); }
.home [id] { scroll-margin-top: 70px; }

header.site {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s;
  animation: drop-in 1s var(--ease-out) .2s both;
}
header.site.scrolled {
  background: rgba(6, 10, 40, .78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--glass-line);
}
header.site .container { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.site nav { display: flex; align-items: center; gap: 2px; }
header.site nav a:not(.lang) {
  position: relative;
  color: var(--on-night-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 13px;
  transition: color .25s;
}
header.site nav a:not(.lang)::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .45s var(--ease-out);
}
header.site nav a:not(.lang):hover { color: #fff; }
header.site nav a:not(.lang):hover::after,
header.site nav a.current::after { transform: scaleX(1); transform-origin: 0 50%; }
header.site nav a.current { color: #fff; }
header.site nav .lang { margin-left: 10px; }
.home .progress { top: 70px; height: 2px; z-index: 31; }
@media (max-width: 760px) { header.site nav a:not(.lang) { display: none; } }

@keyframes drop-in { from { opacity: 0; transform: translateY(-16px); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes line-up { from { transform: translateY(110%); } }

/* ---------- Hero: the floodlights switch on ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(80% 55% at 50% -5%, rgba(58, 88, 255, .42), transparent 70%),
    linear-gradient(180deg, #0b1252 0%, var(--night) 70%);
}
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tower { position: absolute; top: 4%; width: 120px; height: 70px; }
.tower.l { left: 4%; }
.tower.r { right: 4%; }
.bank {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: radial-gradient(circle, #fff 0 4px, rgba(255, 255, 255, 0) 5.5px) 0 0 / 20px 20px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .95)) drop-shadow(0 0 30px rgba(170, 205, 255, .9));
  opacity: 0;
  animation: lights-on 1.6s steps(1) .25s forwards;
}
.tower.r .bank { animation-delay: .55s; }
@keyframes lights-on {
  0% { opacity: 0; }
  12% { opacity: 1; }
  20% { opacity: .25; }
  32% { opacity: 1; }
  40% { opacity: .55; }
  52%, 100% { opacity: 1; }
}
.cone {
  position: absolute;
  top: 30px;
  width: 1100px;
  height: 1300px;
  background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, rgba(200, 222, 255, .2) 9deg, rgba(200, 222, 255, .06) 18deg, transparent 26deg);
  filter: blur(4px);
  transform-origin: 50% 0;
  opacity: 0;
  mix-blend-mode: screen;
}
.tower.l .cone { left: -490px; transform: rotate(-38deg); animation: beam 1.8s var(--ease-out) 1.05s forwards; }
.tower.r .cone { right: -490px; transform: rotate(38deg); animation: beam 1.8s var(--ease-out) 1.3s forwards; }
@keyframes beam { to { opacity: 1; } }

.flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 10%, rgba(220, 232, 255, .55), transparent 70%);
  opacity: 0;
  animation: flash 1.4s ease-out .9s both;
}
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }

.haze {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  animation: drift 26s ease-in-out infinite alternate;
}
.haze.one { left: -15vmax; top: 30%; background: radial-gradient(circle, rgba(44, 110, 255, .45), transparent 65%); }
.haze.two { right: -18vmax; top: 10%; background: radial-gradient(circle, rgba(44, 158, 222, .35), transparent 65%); animation-duration: 32s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate3d(8vmax, -6vmax, 0); } }

.pitch {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -46%;
  height: 72%;
  transform: perspective(700px) rotateX(66deg);
  transform-origin: 50% 0;
  background:
    radial-gradient(circle at 50% 18%, transparent 0 11%, rgba(255, 255, 255, .2) 11.2% 11.5%, transparent 11.7%),
    linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)) 50% 0 / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(44, 69, 222, .42) 0 90px, rgba(36, 56, 190, .42) 90px 180px);
  -webkit-mask-image: linear-gradient(transparent, #000 35%, #000 60%, transparent);
  mask-image: linear-gradient(transparent, #000 35%, #000 60%, transparent);
  animation: fade 2s ease-out 1.2s both;
}

.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 40px; width: 100%; }
.hero-copy { will-change: transform; transform: translate3d(0, var(--py, 0), 0); opacity: var(--fade, 1); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: rgba(255, 255, 255, .06);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--on-night);
  animation: rise 1s var(--ease-out) .5s both;
}
.chip b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.display {
  margin: 0 0 22px;
  font-size: clamp(44px, 5.3vw, 78px);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 700;
  color: #fff;
}
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.display .line { white-space: nowrap; }
.line > span { display: inline-block; animation: line-up 1.2s var(--ease-out) both; }
.display .line:nth-child(1) > span { animation-delay: .6s; }
.display .line:nth-child(2) > span { animation-delay: .72s; }
.hero .lead {
  max-width: 520px;
  margin: 0 0 34px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--on-night-muted);
  animation: rise 1s var(--ease-out) .95s both;
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; animation: rise 1s var(--ease-out) 1.08s both; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 15px;
  border-radius: 15px;
  background: #fff;
  color: #0b0f2e;
  box-shadow: 0 18px 40px -16px rgba(130, 160, 255, .6);
}
a.store { text-decoration: none; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: #59607e; }
.store strong { display: block; font-size: 17px; line-height: 1.25; }
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.arrow-link i {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  overflow: hidden;
}
.arrow-link i::before,
.arrow-link i::after {
  content: "↓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-style: normal;
  transition: transform .5s var(--ease-out);
}
.arrow-link i::after { transform: translateY(-100%); }
.arrow-link:hover i::before { transform: translateY(100%); }
.arrow-link:hover i::after { transform: none; }

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  will-change: transform;
  transform: translate3d(0, var(--py, 0), 0);
}
.hero-stage::before {
  content: "";
  position: absolute;
  width: 95%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 120, 255, .5), transparent 64%);
  z-index: -1;
  animation: fade 2s ease-out 1s both;
}
.hero-phone {
  width: min(310px, 76%, calc((100svh - 210px) / 2.17));
  min-width: 210px;
  animation: phone-in 1.6s var(--ease-out) .55s both;
}
@keyframes phone-in {
  from { opacity: 0; transform: perspective(1200px) translateY(90px) rotateX(24deg) scale(.9); }
}
.float { position: absolute; z-index: 2; pointer-events: none; }
.float img { filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)); }
.float.a { left: -2%; bottom: 5%; width: 40%; }
.float.b { right: -4%; top: 4%; width: 33%; }
.float.a > div { animation: card-in-a 1.4s var(--ease-out) 1.25s both; }
.float.b > div { animation: card-in-b 1.4s var(--ease-out) 1.4s both; }
.float.a img { transform: rotate(-9deg); animation: bob 7s ease-in-out 2.7s infinite; }
.float.b img { transform: rotate(8deg); animation: bob 8s ease-in-out 2.9s infinite reverse; }
@keyframes card-in-a { from { opacity: 0; transform: translate3d(-40px, 50px, 0) scale(.82) rotate(-10deg); } }
@keyframes card-in-b { from { opacity: 0; transform: translate3d(40px, -30px, 0) scale(.82) rotate(10deg); } }
@keyframes bob { 50% { translate: 0 -10px; } }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--on-night-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateX(-50%);
  animation: fade 1s ease-out 2s both;
}
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(rgba(255, 255, 255, .6), transparent); transform-origin: 50% 0; animation: hint 2.2s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Phone frame ---------- */

.phone {
  position: relative;
  padding: 9px;
  border-radius: 50px;
  background: linear-gradient(155deg, #4a5175, #161a30 32%, #0a0c18 70%, #2a2f48);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 60px 100px -45px rgba(0, 0, 0, .95);
}
.phone .media,
.phone .screen > img,
.phone .screen > video { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; border-radius: 41px; background: #0d1a6a; }
.phone .media { overflow: hidden; }

/* ---------- Scoreboard (LED counters) ---------- */

.board {
  position: relative;
  background: linear-gradient(180deg, #050816, #0a0f2e);
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.board::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .05) 1px, transparent 1.5px) 0 0 / 6px 6px;
  pointer-events: none;
}
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; padding: 42px 12px 38px; text-align: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: rgba(255, 255, 255, .1); }
.led {
  position: relative;
  display: block;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: var(--gold-2);
  text-shadow: 0 0 18px rgba(255, 180, 40, .55);
}
.led::after {
  content: "";
  position: absolute;
  inset: -4px -8px;
  background: radial-gradient(circle, transparent 1.15px, #070b22 1.6px) 0 0 / 4px 4px;
  pointer-events: none;
}
.stat span:last-child { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-night-muted); }

/* ---------- Section headings ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 700;
  color: #fff;
}
.sub { margin: 0; max-width: 560px; font-size: 18px; color: var(--on-night-muted); }

/* ---------- Modes: pinned story, the phone changes screen per chapter ---------- */

.modes { position: relative; padding-top: 130px; }
.modes-head { margin-bottom: 40px; }
.modes-track { position: relative; }
.js .modes-track { height: calc(100svh + 4 * 85svh); }
.modes-stage { position: relative; }
.js .modes-stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }

.glows { position: absolute; inset: 0; pointer-events: none; }
.glows i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70vmax;
  height: 70vmax;
  margin: -35vmax 0 0 -35vmax;
  border-radius: 50%;
  opacity: 0;
  transform: scale(.85);
  transition: opacity 1s ease, transform 1.4s var(--ease-out);
}
.glows i.on { opacity: 1; transform: none; }
.glows i:nth-child(1) { background: radial-gradient(circle, rgba(229, 28, 68, .26), transparent 62%); }
.glows i:nth-child(2) { background: radial-gradient(circle, rgba(255, 194, 61, .22), transparent 62%); }
.glows i:nth-child(3) { background: radial-gradient(circle, rgba(44, 158, 222, .3), transparent 62%); }
.glows i:nth-child(4) { background: radial-gradient(circle, rgba(255, 120, 40, .24), transparent 62%); }
.glows i:nth-child(5) { background: radial-gradient(circle, rgba(140, 90, 255, .28), transparent 62%); }

.modes-grid { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto 210px; align-items: center; gap: 56px; }
.modes-text { display: grid; }
.chapter { grid-area: 1 / 1; align-self: center; }
.chapter .big {
  display: block;
  margin-bottom: -18px;
  font-size: clamp(90px, 11vw, 150px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
}
.chapter h3 { margin: 0 0 16px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.015em; color: #fff; }
.chapter p { margin: 0 0 24px; max-width: 470px; font-size: 18px; color: var(--on-night-muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { margin: 0; display: flex; gap: 12px; align-items: baseline; color: var(--on-night); }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 0 10px rgba(255, 194, 61, .8); }

.js .chapter > * { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .28s ease, transform .6s var(--ease-out); }
.js .chapter.on > * { opacity: 1; transform: none; transition: opacity .7s ease .18s, transform 1s var(--ease-out) .18s; }
.js .chapter.on > :nth-child(2) { transition-delay: .24s; }
.js .chapter.on > :nth-child(3) { transition-delay: .3s; }
.js .chapter.on > :nth-child(4) { transition-delay: .36s; }
.js .chapter.past > * { transform: translate3d(0, -30px, 0); }
.chapter:not(:first-child) { display: none; }
.js .chapter:not(:first-child) { display: block; }

.modes-device { position: relative; }
.modes-device .phone { width: min(300px, calc((100svh - 150px) / 2.17)); min-width: 200px; }
.screens { display: grid; border-radius: 41px; overflow: hidden; transform: translateZ(0); }
.screen { grid-area: 1 / 1; }
.screen:not(:first-child) { display: none; }
.js .screen:not(:first-child) { display: block; }
.js .screen { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease-io); }
.js .screen > * { transform: scale(1.12); transition: transform 1.3s var(--ease-out); }
.js .screen.on { clip-path: inset(0 0 0 0); z-index: 2; }
.js .screen.on > * { transform: none; }
.js .screen.past { clip-path: inset(0 0 100% 0); }

.modes-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.modes-index li { margin: 0; }
.modes-index button {
  width: 100%;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 4px 10px;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--on-night-muted);
  font: 600 14px/1.3 var(--font);
  text-align: left;
  cursor: pointer;
  opacity: .55;
  transition: opacity .4s, color .4s;
}
.modes-index button span { font-variant-numeric: tabular-nums; color: var(--gold-2); }
.modes-index button i { grid-column: 1 / -1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.modes-index button i::before { content: ""; display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold-1)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.modes-index button:hover,
.modes-index li.on button { opacity: 1; color: #fff; }

/* ---------- GolBil Gurme ---------- */

.gurme {
  position: relative;
  padding: 150px 0 120px;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(255, 194, 61, .1), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #120c0a 22%, #0f0b08 78%, var(--night) 100%);
}
.gurme-head { text-align: center; margin: 0 auto 80px; max-width: 760px; }
.gurme-head .kicker { justify-content: center; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: .01em; }
.gurme-title { position: relative; display: inline-block; margin: 0; font-size: clamp(64px, 10vw, 132px); line-height: .95; color: #fff; }
.gurme-title .gold { padding: 0 .06em; }
.pen { position: absolute; left: 40%; right: -2%; bottom: -14px; height: 26px; width: 62%; overflow: visible; }
.pen path { fill: none; stroke: url(#gold-ink); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .gurme-head.in .pen path { transition: stroke-dashoffset 1.3s var(--ease-io) .5s; stroke-dashoffset: 0; }
.motto { margin: 26px 0 14px; font-size: clamp(30px, 3.4vw, 42px); color: var(--paper); }
.gurme-head .sub { margin: 0 auto; }

.dish {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 48px;
  padding: 56px;
  border-radius: 34px;
  overflow: hidden;
  isolation: isolate;
}
.dish + .dish { margin-top: 40px; }
.dish > * { min-width: 0; }
.dish::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dish.kesisim {
  background: linear-gradient(170deg, #4a2c0c, #2a180a 55%, #140b03);
  color: #e9dcc0;
}
.dish.kesisim::before {
  inset: 18px;
  border: 2px dashed rgba(255, 231, 163, .4);
  border-radius: 22px;
  background: repeating-linear-gradient(98deg, rgba(255, 220, 160, .025) 0 2px, transparent 2px 9px);
}
.dish.kariyer {
  background: linear-gradient(170deg, #2e4036, #1a251e 55%, #0e1511);
  color: rgba(243, 240, 230, .85);
  border: 14px solid #5b4a2a;
  border-image: linear-gradient(135deg, #7a6236, #4a3a1e 40%, #8a7040 70%, #4a3a1e) 1;
  border-radius: 6px;
}
.dish.kariyer::before { background: radial-gradient(circle, rgba(255, 255, 255, .035) 1px, transparent 1.6px) 0 0 / 7px 7px, radial-gradient(60% 50% at 30% 20%, rgba(255, 255, 255, .05), transparent 70%); }
.dish h3 { margin: 0; font-size: clamp(54px, 6vw, 80px); line-height: 1; }
.kesisim h3 { color: var(--cream); }
.kariyer h3 { color: var(--chalk); }
.dish .tagline { margin: 6px 0 18px; font-family: var(--script); font-size: 28px; color: var(--gold-2); }
.dish p.body { margin: 0 0 26px; max-width: 470px; font-size: 17px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; }
.facts li { margin: 0; padding: 8px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.facts b { font-family: var(--script); font-size: 22px; font-weight: 400; color: var(--gold-1); margin-right: 4px; }
.dish .phone { width: min(290px, 100%); justify-self: center; }

/* Kesişim demo: two clues meet, a name is typed, the stamp lands */
.demo { position: relative; max-width: 470px; padding: 22px; border-radius: 20px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .08); }
.clues { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 16px; }
.clue { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #f7ecd2; color: #3a1e00; font-weight: 700; font-size: 15px; box-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.clue i { flex: none; width: 22px; height: 22px; border-radius: 50%; }
.clue.tr i { background: radial-gradient(circle at 56% 50%, #e30a17 0 4.4px, transparent 4.9px), radial-gradient(circle at 44% 50%, #fff 0 6px, transparent 6.5px), #e30a17; }
.clue.fcb i { background: linear-gradient(90deg, #004d98 50%, #a50044 50%); }
.times { font-family: var(--script); font-size: 34px; color: var(--gold-2); line-height: 1; }
.field { position: relative; display: flex; align-items: center; height: 46px; padding: 0 14px; border-radius: 12px; background: #fff; color: #1a1a2e; font-weight: 600; }
.field .typed { white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); }
.field .caret { width: 2px; height: 22px; margin-left: 2px; background: #2c45de; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.suggest { display: flex; justify-content: space-between; margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: #1a1a2e; font-weight: 700; font-size: 15px; opacity: 0; }
.suggest small { color: #6a6f8a; font-weight: 600; }
.stamp {
  position: absolute;
  right: 18px;
  bottom: -14px;
  padding: 8px 16px;
  border: 3px solid #3fd28a;
  border-radius: 12px;
  color: #3fd28a;
  background: rgba(10, 30, 20, .85);
  font-family: var(--script);
  font-size: 26px;
  line-height: 1.1;
  opacity: 0;
  transform: rotate(-8deg) scale(1.6);
}

.demo.playing .clue.a { animation: k-a 8s var(--ease-out) infinite; }
.demo.playing .clue.b { animation: k-b 8s var(--ease-out) infinite; }
.demo.playing .times { animation: k-x 8s var(--ease-out) infinite; }
.demo.playing .typed { animation: k-type 8s steps(9) infinite; }
.demo.playing .suggest { animation: k-sug 8s var(--ease-out) infinite; }
.demo.playing .stamp { animation: k-stamp 8s var(--ease-out) infinite; }
@keyframes k-a { 0% { opacity: 0; transform: translateX(-36px); } 8%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes k-b { 0%, 4% { opacity: 0; transform: translateX(36px); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes k-x { 0%, 12% { opacity: 0; transform: scale(0) rotate(-90deg); } 18%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes k-type { 0%, 24% { clip-path: inset(0 100% 0 0); } 42%, 88% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes k-sug { 0%, 44% { opacity: 0; transform: translateY(8px); } 50% { opacity: 1; transform: none; background: rgba(255, 255, 255, .92); } 56%, 88% { opacity: 1; background: #ffe39a; } 96%, 100% { opacity: 0; } }
@keyframes k-stamp { 0%, 58% { opacity: 0; transform: rotate(-8deg) scale(1.7); } 63%, 88% { opacity: 1; transform: rotate(-8deg) scale(1); } 96%, 100% { opacity: 0; transform: rotate(-8deg) scale(1); } }

/* Kariyer demo: one club opens per tick, the points drop, the name is chalked */
.chalk-demo { padding: 22px 24px; }
.chalk-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chalk-meta span { padding: 4px 12px; border-radius: 999px; border: 1px dashed rgba(243, 240, 230, .4); font-size: 13px; font-weight: 600; }
.clubs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.clubs li { margin: 0; display: grid; grid-template-columns: 46px 22px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(243, 240, 230, .12); font-family: var(--script); font-size: 23px; color: var(--chalk); opacity: 0; }
.clubs li small { font-family: var(--font); font-size: 13px; font-weight: 600; color: rgba(243, 240, 230, .6); }
.clubs li em { font-family: var(--font); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; background: rgba(255, 194, 61, .18); color: var(--gold-1); }
.crest { width: 22px; height: 22px; border-radius: 50%; }
.c-gs { background: linear-gradient(90deg, #a90432 50%, #fdb912 50%); }
.c-man { background: linear-gradient(90deg, #2b2b2b 50%, #fff 50%); }
.c-atm { background: repeating-linear-gradient(90deg, #cb3524 0 4px, #fff 4px 8px); }
.tick { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.tick .bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(243, 240, 230, .12); overflow: hidden; }
.tick .bar::before { content: ""; display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold-1)); transform-origin: 0 50%; transform: scaleX(0); }
.points { position: relative; display: inline-grid; min-width: 84px; justify-items: end; font-family: var(--script); font-size: 24px; color: var(--gold-1); }
.points b { grid-area: 1 / 1; font-weight: 400; opacity: 0; }
.chalk-answer { position: absolute; right: 20px; bottom: -16px; font-family: var(--script); font-size: 34px; color: #fff; padding: 4px 16px; border-radius: 10px; background: rgba(14, 21, 17, .9); border: 2px solid var(--chalk); opacity: 0; transform: rotate(-4deg) scale(1.5); }

.chalk-demo.playing .clubs li:nth-child(1) { animation: c-row1 10s var(--ease-out) infinite; }
.chalk-demo.playing .clubs li:nth-child(2) { animation: c-row2 10s var(--ease-out) infinite; }
.chalk-demo.playing .clubs li:nth-child(3) { animation: c-row3 10s var(--ease-out) infinite; }
.chalk-demo.playing .clubs li:nth-child(4) { animation: c-row4 10s var(--ease-out) infinite; }
.chalk-demo.playing .tick .bar::before { animation: c-bar 10s linear infinite; }
.chalk-demo.playing .points b:nth-child(1) { animation: c-p1 10s steps(1) infinite; }
.chalk-demo.playing .points b:nth-child(2) { animation: c-p2 10s steps(1) infinite; }
.chalk-demo.playing .points b:nth-child(3) { animation: c-p3 10s steps(1) infinite; }
.chalk-demo.playing .chalk-answer { animation: c-ans 10s var(--ease-out) infinite; }
@keyframes c-row1 { 0% { opacity: 0; transform: translateX(-20px); } 4%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes c-row2 { 0%, 20% { opacity: 0; transform: translateX(-20px); } 24%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes c-row3 { 0%, 40% { opacity: 0; transform: translateX(-20px); } 44%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes c-row4 { 0%, 60% { opacity: 0; transform: translateX(-20px); } 64%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes c-bar { 0% { transform: scaleX(0); } 20% { transform: scaleX(1); } 20.01% { transform: scaleX(0); } 40% { transform: scaleX(1); } 40.01% { transform: scaleX(0); } 60% { transform: scaleX(1); } 60.01% { transform: scaleX(0); } 72% { transform: scaleX(.6); } 100% { transform: scaleX(.6); } }
@keyframes c-p1 { 0% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes c-p2 { 0% { opacity: 0; } 40% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes c-p3 { 0% { opacity: 0; } 60% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes c-ans { 0%, 72% { opacity: 0; transform: rotate(-4deg) scale(1.6); } 77%, 92% { opacity: 1; transform: rotate(-4deg) scale(1); } 98%, 100% { opacity: 0; transform: rotate(-4deg) scale(1); } }

/* ---------- Cards: holographic tilt ---------- */

.cards { position: relative; padding: 140px 0; overflow: hidden; }
.cards-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 40px; }
.card-stage { position: relative; height: min(560px, 60vw); perspective: 1200px; }
.holo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease-out);
}
.holo.one { margin-left: -16%; z-index: 2; }
.holo.two { margin-left: 18%; margin-top: 4%; width: 41%; }
.holo .face { position: relative; }
.holo.one .face { transform: rotate(-6deg); }
.holo.two .face { transform: rotate(7deg); }
.holo img { filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .6)); }
.holo .sheen {
  position: absolute;
  inset: 0;
  -webkit-mask: var(--mask) center / 100% 100% no-repeat;
  mask: var(--mask) center / 100% 100% no-repeat;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 45%, rgba(160, 220, 255, .35) 50%, transparent 62%) var(--mx, 50%) 0 / 260% 100% no-repeat;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.holo.one .sheen { --mask: url("/assets/app/tr/card-star.webp"); }
.holo.two .sheen { --mask: url("/assets/app/tr/card-player.webp"); }
:root:lang(en) .holo.one .sheen { --mask: url("/assets/app/en/card-star.webp"); }
:root:lang(en) .holo.two .sheen { --mask: url("/assets/app/en/card-player.webp"); }
.cards.auto .sheen { animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---------- GolBil Plus ---------- */

.plus-wrap { padding: 40px 0 120px; }
.plus-ring { position: relative; padding: 1.5px; border-radius: 34px; overflow: hidden; isolation: isolate; }
.plus-ring::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160%;
  aspect-ratio: 1;
  z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 55%, rgba(255, 210, 110, .95) 70%, transparent 85%);
  transform: translate(-50%, -50%);
  animation: ring 7s linear infinite;
}
.plus-ring::after { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(255, 194, 61, .22); }
@keyframes ring { to { transform: translate(-50%, -50%) rotate(360deg); } }
.plus {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 48px;
  padding: 64px;
  border-radius: 33px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 194, 61, .2), transparent 60%),
    linear-gradient(140deg, #18217a, #0c1350 60%, #0a0f3c);
}
.plus .ticks { grid-template-columns: 1fr 1fr; margin-top: 28px; }
.plus .phone { width: min(260px, 100%); justify-self: center; }

/* ---------- Support & contact ---------- */

.support-wrap { padding: 20px 0 120px; }
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.doc-links { margin: 0; padding: 0; list-style: none; border: 1px solid var(--glass-line); border-radius: 22px; overflow: hidden; }
.doc-links li { margin: 0; }
.doc-links li + li { border-top: 1px solid var(--glass-line); }
.doc-links a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  padding: 22px 24px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.doc-links a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .05); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.doc-links a:hover::before { transform: none; }
.doc-links a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; font-size: 20px; color: var(--on-night-muted); transition: transform .4s var(--ease-out), color .3s; }
.doc-links a:hover::after { transform: translateX(4px); color: #fff; }
.doc-links strong { font-size: 17px; }
.doc-links span { color: var(--on-night-muted); font-size: 14px; }

.contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border-radius: 22px;
  background: linear-gradient(150deg, #1a2aa6, #0f1764);
  border: 1px solid rgba(255, 255, 255, .14);
}
.contact h3 { margin: 0 0 6px; font-size: 24px; color: #fff; }
.contact p { margin: 0; color: var(--on-night-muted); }
.mail { display: inline-block; margin-top: 16px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  color: #fff;
  font: 600 15px/1.2 var(--font);
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.copy:hover { background: rgba(255, 255, 255, .12); }
.copy.done { border-color: rgba(80, 210, 140, .7); background: rgba(80, 210, 140, .16); }

.follow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 24px 32px;
  padding: 32px;
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  background: var(--glass);
}
.follow h3 { margin: 0 0 6px; font-size: 24px; color: #fff; }
.follow p { margin: 0; color: var(--on-night-muted); }
.socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.socials li { margin: 0; }
.socials a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0 12px;
  padding: 16px;
  border: 1px solid var(--glass-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  text-decoration: none;
  transition: background-color .25s, border-color .25s, transform .4s var(--ease-out);
}
.socials a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 194, 61, .55); transform: translateY(-3px); }
.socials svg { grid-row: 1 / span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: #fff; }
.socials .instagram svg { background: linear-gradient(45deg, #f9a43a, #e1306c 50%, #833ab4); }
.socials .tiktok svg, .socials .x svg { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.socials strong { font-size: 16px; line-height: 1.3; }
.socials span { color: var(--on-night-muted); font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */

.site-footer { position: relative; overflow: hidden; padding: 60px 0 36px; border-top: 1px solid var(--glass-line); color: var(--on-night-muted); font-size: 14px; text-align: left; }
.sign { margin: 0 0 40px; font-family: var(--script); font-size: clamp(64px, 13vw, 190px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 194, 61, .35); white-space: nowrap; }
:root:lang(en) .sign { font-size: clamp(48px, 8.4vw, 130px); }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--on-night-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .social-icons { gap: 6px; }
.social-icons a { display: inline-flex; padding: 8px; border-radius: 10px; }
.social-icons a:hover { background: var(--glass); }
.social-icons svg { width: 20px; height: 20px; }

/* ---------- Scroll reveals ---------- */

.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s ease, transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="scale"] { transform: scale(.94) translate3d(0, 30px, 0); }
.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-mask] .line > span { animation: none; transform: translateY(110%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-mask] .line:nth-child(2) > span { transition-delay: calc(var(--d, 0s) + .1s); }
.js [data-mask].in .line > span { transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .modes-grid { grid-template-columns: 1fr auto; }
  .modes-index { display: none; }
}

@media (max-width: 900px) {
  .container { padding: 0 22px; }
  .hero { padding: 150px 0 80px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-phone { width: min(270px, 66%); }
  .float.a { left: 4%; width: 34%; }
  .float.b { right: 2%; width: 28%; }
  .tower { top: 82px; width: 70px; height: 42px; }
  .bank { background-size: 14px 14px; background-image: radial-gradient(circle, #fff 0 2.6px, rgba(255, 255, 255, 0) 4px); }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }

  .js .modes-stage { align-items: flex-start; padding-top: 84px; }
  .modes-grid { grid-template-columns: 1fr; gap: 22px; justify-items: center; text-align: center; }
  .modes-device { order: -1; }
  .modes-device .phone { width: min(230px, calc((100svh - 400px) / 2.17)); min-width: 150px; padding: 6px; border-radius: 34px; }
  .phone .screen > img, .phone .screen > video { border-radius: 29px; }
  .screens { border-radius: 29px; }
  .chapter .big { display: none; }
  .chapter h3 { font-size: 28px; margin-bottom: 10px; }
  .chapter p { margin: 0 auto; font-size: 16px; }
  .js .chapter .ticks { display: none; }
  .chapter .ticks { justify-items: center; margin-top: 16px; }

  .dish { grid-template-columns: minmax(0, 1fr); padding: 40px 24px 48px; gap: 40px; }
  .dish.kariyer { border-width: 8px; }
  .dish.kesisim::before { inset: 10px; }
  .dish .phone { width: min(250px, 72%); }
  .cards-grid { grid-template-columns: 1fr; }
  .card-stage { height: 110vw; max-height: 560px; }
  .plus { grid-template-columns: 1fr; padding: 40px 26px; }
  .support { grid-template-columns: 1fr; }
  .follow { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .display { font-size: clamp(38px, 10.6vw, 56px); }
  .display .line { white-space: normal; }
  .led { font-size: 38px; }
  .stat { padding: 30px 8px 26px; }
  .plus .ticks { grid-template-columns: 1fr; }
  .clue { padding: 10px; font-size: 13px; gap: 8px; }
  .clue i { width: 18px; height: 18px; }
  .clubs li { grid-template-columns: 38px 20px 1fr auto; font-size: 20px; }
  .contact { padding: 26px 22px; }
  .follow { padding: 26px 22px; }
  .socials { grid-template-columns: 1fr; }
  .copy { min-width: 0; }
  .phone { padding: 7px; border-radius: 40px; }
  .phone .media { border-radius: 33px; }
  dl.facts { grid-template-columns: 1fr; gap: 0; }
  dl.facts dd { margin-bottom: 8px; }
  body > header:not(.site) + main .wrap { padding: 24px 18px 28px; }
  .toc { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .bank, .cone, .js [data-reveal], .js .chapter > *, .suggest, .stamp, .clubs li, .chalk-answer, .points b:last-child { opacity: 1 !important; }
  .js [data-reveal], .js .chapter > *, .js [data-mask] .line > span { transform: none !important; }
  .field .typed { clip-path: none; }
  .tick .bar::before { transform: scaleX(.6); }
}
