/* ==========================================================================
   NAME ARENA — Spor Merkezi Tanıtım Sitesi
   Tasarım sistemi: koyu zemin + yüksek enerjili neon aksanlar
   Palet mantığı:
     volt  (#CCFF00) -> enerji, hareket, patlayıcı güç
     aqua  (#00E5C8) -> sağlık, nefes, toparlanma / stres atma
     flame (#FF4D2E) -> yoğunluk, rekabet, yarışma
     violet(#7B5CFF) -> ödül, rozet, başarı
   ========================================================================== */

/* --------------------------------------------------------------- Tokenlar */
:root {
  /* Yüzeyler */
  --ink-900: #161C28;
  --ink-850: #1A2030;
  --ink-800: #1E2433;
  --ink-750: #232A3A;
  --ink-700: #283040;
  --ink-600: #343D51;
  /* Zemin açıldığı için kenar çizgileri bir tık güçlendirildi */
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);

  /* Aksanlar */
  --volt: #CCFF00;
  --volt-dim: #A3CC00;
  --aqua: #00E5C8;
  --aqua-dim: #00B49D;
  --flame: #FF4D2E;
  --violet: #7B5CFF;

  /* Metin */
  --fg: #F2F6FC;
  --fg-soft: #C3CDDD;
  --muted: #9DAABF;
  --muted-dim: #8A97AC;

  /* Parlak aksanların (volt, aqua, CTA) üstündeki metin.
     Zemin açılsa da bu koyu kalmalı — kontrast oradan geliyor. */
  --on-accent: #0A0F17;

  /* Gradyanlar */
  --grad-volt: linear-gradient(112deg, var(--volt) 0%, var(--aqua) 100%);
  --grad-flame: linear-gradient(112deg, var(--flame) 0%, var(--volt) 100%);
  --grad-cool: linear-gradient(112deg, var(--aqua) 0%, var(--violet) 100%);

  /* Tipografi */
  --font-display: "Anton", "Arial Black", Impact, sans-serif;
  --font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Ölçü */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shell: 1220px;
  --gutter: 24px;

  /* Gölgeler */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow: 0 18px 40px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 40px 80px -32px rgba(0, 0, 0, .85);
  --glow-volt: 0 0 0 1px rgba(204, 255, 0, .35), 0 12px 44px -12px rgba(204, 255, 0, .45);
  --glow-aqua: 0 0 0 1px rgba(0, 229, 200, .32), 0 12px 44px -12px rgba(0, 229, 200, .4);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--volt); color: var(--on-accent); }

/* İnce, karanlık kaydırma çubuğu */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink-850); }
::-webkit-scrollbar-thumb {
  background: var(--ink-600);
  border-radius: 99px;
  border: 3px solid var(--ink-850);
}
::-webkit-scrollbar-thumb:hover { background: #3F4A60; }

/* ------------------------------------------------------------- Tipografi */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  /* Türkçe büyük harfler (İ noktası, Ç/Ş kuyruğu) sıkı satırda çakışıyor;
     .88 yerine .96 ile üst üste binme önlenir */
  line-height: .96;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.d1 { font-size: clamp(3.2rem, 11vw, 8.5rem); }
.d2 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
.d3 { font-size: clamp(1.8rem, 4vw, 2.9rem); }

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--fg-soft);
  line-height: 1.7;
  max-width: 58ch;
}

.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

/* Metin üzerinde gradyan */
.grad-text {
  background: var(--grad-volt);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text--flame { background-image: var(--grad-flame); }
.grad-text--cool { background-image: var(--grad-cool); }

/* İçi boş (outline) başlık — vurgu için */
.hollow {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .28);
}

/* --------------------------------------------------------------- Düzenler */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(72px, 11vw, 140px) 0;
}

.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head__text { max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.eyebrow--aqua { color: var(--aqua); }
.eyebrow--flame { color: var(--flame); }
.eyebrow--violet { color: var(--violet); }

.stack { display: grid; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.row--wrap { flex-wrap: wrap; }
.push { margin-left: auto; }

/* ---------------------------------------------------------------- Butonlar */
.btn {
  --btn-bg: var(--ink-700);
  --btn-fg: var(--fg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 99px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              background-color .25s ease, border-color .25s ease, color .25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--volt);
  --btn-fg: var(--on-accent);
  box-shadow: 0 10px 30px -12px rgba(204, 255, 0, .6);
}
.btn--primary:hover { box-shadow: 0 18px 44px -14px rgba(204, 255, 0, .8); }

.btn--aqua {
  --btn-bg: var(--aqua);
  --btn-fg: #04120F;
  box-shadow: 0 10px 30px -12px rgba(0, 229, 200, .55);
}

.btn--ghost {
  --btn-bg: transparent;
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .3);
}

.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: .82rem; }
.btn--block { width: 100%; }

.btn__icon { width: 18px; height: 18px; flex: none; }

/* Ok işareti hover'da kayar */
.btn--arrow .btn__icon { transition: transform .35s var(--ease-out); }
.btn--arrow:hover .btn__icon { transform: translateX(4px); }

/* ------------------------------------------------------------------ Rozet */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--fg-soft);
  white-space: nowrap;
}

.badge--volt { background: rgba(204, 255, 0, .12); border-color: rgba(204, 255, 0, .3); color: var(--volt); }
.badge--aqua { background: rgba(0, 229, 200, .12); border-color: rgba(0, 229, 200, .3); color: var(--aqua); }
.badge--flame { background: rgba(255, 77, 46, .12); border-color: rgba(255, 77, 46, .32); color: #FF7A61; }
.badge--violet { background: rgba(123, 92, 255, .14); border-color: rgba(123, 92, 255, .32); color: #A691FF; }

/* Nabız atan canlı noktası */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
  position: relative;
}
.dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  animation: pulse-ring 2s var(--ease-out) infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(.6); opacity: .9; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ------------------------------------------------------------------- Kart */
.card {
  position: relative;
  background: linear-gradient(160deg, var(--ink-750) 0%, var(--ink-850) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: border-color .4s ease, transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}

/* Üstte ince renkli çizgi */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  color: var(--volt);
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--aqua { color: var(--aqua); }
.card__icon--flame { color: var(--flame); }
.card__icon--violet { color: var(--violet); }

.card__title {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.card__text { color: var(--muted); font-size: .94rem; line-height: 1.7; }

/* -------------------------------------------------------- Arkaplan dokusu */
/* Işıklı leke — bölümlerin arkasına atmosfer katar */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .26;
  pointer-events: none;
  z-index: 0;
}
.glow--volt { background: radial-gradient(circle, rgba(204, 255, 0, .5), transparent 70%); }
.glow--aqua { background: radial-gradient(circle, rgba(0, 229, 200, .5), transparent 70%); }
.glow--flame { background: radial-gradient(circle, rgba(255, 77, 46, .45), transparent 70%); }
.glow--violet { background: radial-gradient(circle, rgba(123, 92, 255, .5), transparent 70%); }

/* İnce ızgara deseni */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

/* Film grenli doku — dijital düzlüğü kırar */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell, .section > .container { position: relative; z-index: 1; }

/* ============================================================== ÜST BAR */
.topbar {
  background: var(--ink-850);
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 38px;
  overflow: hidden;
}
.topbar__item { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__item strong { color: var(--fg-soft); font-weight: 700; }
@media (max-width: 860px) { .topbar__item--hide { display: none; } }

/* ============================================================== HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(22, 28, 40, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(22, 28, 40, .90);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--grad-volt);
  color: var(--on-accent);
  box-shadow: 0 6px 20px -8px rgba(204, 255, 0, .8);
}
.logo__mark svg { width: 21px; height: 21px; }
.logo__text {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}
.logo__text span { color: var(--volt); }
.logo__sub {
  display: block;
  font-family: var(--font-ui);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--muted-dim);
  margin-top: 3px;
}

/* Navigasyon */
.nav { display: flex; align-items: center; gap: 4px; margin-left: 18px; }
.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: .89rem;
  font-weight: 600;
  color: var(--fg-soft);
  transition: color .25s ease, background-color .25s ease;
}
.nav__link:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.nav__link.is-active { color: var(--volt); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--volt);
  border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Header içindeki canlı doluluk hapı */
.live-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 99px;
  background: rgba(0, 229, 200, .09);
  border: 1px solid rgba(0, 229, 200, .26);
  color: var(--aqua);
  font-size: .8rem;
  font-weight: 700;
}
.live-pill__num { font-family: var(--font-mono); font-size: .92rem; }
.live-pill__label { color: var(--muted); font-weight: 600; }

/* Mobil menü düğmesi */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  place-items: center;
  flex: none;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s ease;
}
.burger span + span { margin-top: 4px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobil çekmece */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--ink-900);
  padding: 96px var(--gutter) 40px;
  display: grid;
  align-content: start;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .4s var(--ease-out), visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__link {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--fg-soft);
}
.drawer__link.is-active { color: var(--volt); }
.drawer__actions { display: grid; gap: 10px; margin-top: 26px; }

@media (max-width: 1040px) {
  .nav, .header__actions .btn, .live-pill { display: none; }
  .burger { display: grid; }
  .header__actions .btn--primary { display: inline-flex; }
}
@media (max-width: 620px) {
  .header__actions .btn--primary { display: none; }
}

/* ================================================================= HERO */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding: clamp(60px, 9vw, 100px) 0 0;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__glow-1 { top: -14%; left: -8%; width: 620px; height: 620px; }
.hero__glow-2 { bottom: -22%; right: -10%; width: 700px; height: 700px; opacity: .28; }
.hero__glow-3 { top: 34%; left: 46%; width: 420px; height: 420px; opacity: .2; }

/* Arkada yavaşça dönen konik ışık */
.hero__sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140vmax;
  height: 140vmax;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg,
    transparent 0deg, rgba(204, 255, 0, .05) 40deg, transparent 90deg,
    transparent 180deg, rgba(0, 229, 200, .05) 220deg, transparent 270deg);
  animation: sweep 28s linear infinite;
  pointer-events: none;
}
@keyframes sweep { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  /* Not: .shell'in genişliğini ezmemek için width tanımlanmaz */
}

.hero__title { margin: 20px 0 26px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  animation: rise 1s var(--ease-out) backwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: .05s; }
.hero__title .line:nth-child(2) > span { animation-delay: .16s; }
.hero__title .line:nth-child(3) > span { animation-delay: .27s; }

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

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Hero altındaki mini istatistikler */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: 46px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}
.hero__stat { background: var(--ink-850); padding: 18px 20px; }
.hero__stat dt {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 6px;
}
.hero__stat dd {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
  margin: 0;
}

/* --- Hero görsel paneli: turnike + QR ------------------------------- */
.hero__visual { position: relative; }

.gate {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(204, 255, 0, .1), transparent 55%),
    linear-gradient(165deg, var(--ink-750), var(--ink-900));
  padding: 26px;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.gate__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.gate__title { font-weight: 800; font-size: .95rem; letter-spacing: -.01em; }

/* QR kod alanı */
.qr {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
  padding: 14px;
  border-radius: 18px;
  background: #F2F6FC;
  box-shadow: 0 0 0 1px rgba(204, 255, 0, .3), 0 0 60px -14px rgba(204, 255, 0, .55);
}
.qr canvas { width: 100%; height: 100%; image-rendering: pixelated; }

/* Köşe çerçeveleri */
.qr__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--volt);
}
.qr__corner--tl { top: -7px; left: -7px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.qr__corner--tr { top: -7px; right: -7px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.qr__corner--bl { bottom: -7px; left: -7px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.qr__corner--br { bottom: -7px; right: -7px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

/* Tarama çizgisi */
.qr__scan {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--volt), transparent);
  box-shadow: 0 0 14px 2px rgba(204, 255, 0, .9);
  animation: scan 2.6s var(--ease-in-out) infinite;
}
@keyframes scan {
  0%, 100% { top: 12px; opacity: 0; }
  10%      { opacity: 1; }
  50%      { top: calc(100% - 15px); opacity: 1; }
  60%      { opacity: 0; }
}

/* Turnike durum satırı */
.gate__status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(0, 229, 200, .08);
  border: 1px solid rgba(0, 229, 200, .24);
}
.gate__status-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--aqua);
  color: #04120F;
  flex: none;
}
.gate__status-icon svg { width: 18px; height: 18px; }
.gate__status-text { font-size: .86rem; font-weight: 700; }
.gate__status-sub { font-size: .74rem; color: var(--muted); font-weight: 500; }

.gate__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.gate__meta-item {
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
}
.gate__meta-item dt { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dim); font-weight: 700; }
.gate__meta-item dd { margin: 3px 0 0; font-size: .9rem; font-weight: 700; }

/* Yüzen mini kartlar */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(26, 32, 48, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card--1 { top: -13%; left: -6%; animation-delay: .8s; }
.float-card--2 { bottom: -9%; right: -5%; animation-delay: 1.8s; }
.float-card__icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 9px;
  flex: none;
}
.float-card__icon svg { width: 16px; height: 16px; }
.float-card__val { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; }
.float-card__lab { font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .float-card--1 { left: -4%; }
  .float-card--2 { right: -2%; }
}
@media (max-width: 540px) {
  .hero__stats { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .gate { padding: 20px; }
}

/* ============================================================== TİCKER */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background: var(--volt);
  color: var(--on-accent);
  border-block: 1px solid rgba(0, 0, 0, .2);
}
.ticker--dark { background: var(--ink-800); color: var(--fg); border-color: var(--line); }
.ticker--aqua { background: var(--aqua); color: #04120F; }

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }

.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  white-space: nowrap;
}
.ticker__item::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
  flex: none;
}

/* ============================================== BENTO / ÖZELLİK IZGARASI */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.bento > * { grid-column: span 2; }
.bento__wide { grid-column: span 3; }
.bento__full { grid-column: span 6; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento__wide, .bento__full { grid-column: span 2; }
}

/* Kartın üzerinde imleci takip eden ışık */
.card--spot { --mx: 50%; --my: 50%; }
.card--spot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(204, 255, 0, .09), transparent 65%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.card--spot:hover::after { opacity: 1; }

/* ======================================================= CANLI DOLULUK */
.occupancy {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 900px) { .occupancy { grid-template-columns: 1fr; } }

/* Yarım daire gösterge */
.gauge { position: relative; text-align: center; }
.gauge__svg { width: 100%; max-width: 340px; margin-inline: auto; overflow: visible; }
.gauge__track { stroke: var(--ink-600); }
.gauge__fill {
  stroke: url(#gaugeGrad);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s var(--ease-out);
  filter: drop-shadow(0 0 10px rgba(204, 255, 0, .45));
}
/* Kadran: sayı bloğu yalnızca bu kutuya göre konumlanır,
   böylece altındaki seviye rozetinin üstüne binmez */
.gauge__dial { position: relative; }

.gauge__center {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
}
.gauge__num {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 4.8rem);
  line-height: .9;
  letter-spacing: -.02em;
}
.gauge__unit { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.gauge__cap { margin-top: 12px; font-size: .84rem; color: var(--muted); }
.gauge__cap b { color: var(--fg); }

.gauge__level {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 7px 16px;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.gauge__level[data-level="sakin"]  { background: rgba(0, 229, 200, .14); color: var(--aqua); border: 1px solid rgba(0, 229, 200, .3); }
.gauge__level[data-level="normal"] { background: rgba(204, 255, 0, .14); color: var(--volt); border: 1px solid rgba(204, 255, 0, .3); }
.gauge__level[data-level="yogun"]  { background: rgba(255, 77, 46, .14); color: #FF7A61; border: 1px solid rgba(255, 77, 46, .32); }

/* Saatlik yoğunluk grafiği */
.density { display: grid; gap: 20px; }
.density__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.density__title { font-weight: 800; font-size: 1.02rem; }

.density__chart {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: end;
  gap: 5px;
  height: 168px;
  padding-top: 8px;
}
.density__bar {
  position: relative;
  border-radius: 6px 6px 3px 3px;
  background: var(--ink-600);
  min-height: 5px;
  transform-origin: bottom;
  animation: grow-bar .9s var(--ease-out) backwards;
  transition: filter .25s ease;
  cursor: default;
}
@keyframes grow-bar { from { transform: scaleY(0); opacity: 0; } }

.density__bar[data-tone="low"]  { background: linear-gradient(180deg, var(--aqua), rgba(0, 229, 200, .35)); }
.density__bar[data-tone="mid"]  { background: linear-gradient(180deg, var(--volt), rgba(204, 255, 0, .3)); }
.density__bar[data-tone="high"] { background: linear-gradient(180deg, var(--flame), rgba(255, 77, 46, .3)); }
.density__bar.is-now { box-shadow: 0 0 0 2px var(--fg), 0 0 20px rgba(255, 255, 255, .35); }
.density__bar:hover { filter: brightness(1.25); }

/* Sütun üstünde beliren ipucu */
.density__bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--ink-600);
  border: 1px solid var(--line-strong);
  font-size: .7rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.density__bar:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

.density__axis {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 5px;
  font-size: .64rem;
  color: var(--muted-dim);
  text-align: center;
  font-family: var(--font-mono);
}

/* Alan durumu listesi */
.zones { display: grid; gap: 10px; }
.zone {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
}
.zone__name { font-size: .88rem; font-weight: 700; }
.zone__meter {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 99px;
  background: var(--ink-600);
  overflow: hidden;
}
.zone__meter i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--grad-volt);
  transition: width 1.2s var(--ease-out);
}
.zone__val { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); }

/* ============================================================== DOLAP */
.lockers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
@media (max-width: 900px) { .lockers { grid-template-columns: 1fr; } }

.locker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  gap: 10px;
}

.locker {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--ink-700), var(--ink-850));
  display: grid;
  place-content: center;
  gap: 5px;
  text-align: center;
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
/* Dolap kapağındaki menteşe çizgisi */
.locker::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12%;
  bottom: 12%;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .07);
}
.locker__num { font-family: var(--font-mono); font-size: .84rem; font-weight: 700; }
.locker__icon { width: 15px; height: 15px; margin-inline: auto; opacity: .75; }

.locker[data-state="bos"] { cursor: pointer; }
.locker[data-state="bos"]:hover {
  transform: translateY(-3px);
  border-color: rgba(204, 255, 0, .5);
  box-shadow: var(--glow-volt);
}
.locker[data-state="bos"] .locker__num { color: var(--fg-soft); }

.locker[data-state="dolu"] {
  background: linear-gradient(160deg, #3A2029, #261A21);
  border-color: rgba(255, 77, 46, .28);
  color: #FF7A61;
  cursor: not-allowed;
}

.locker[data-state="benim"] {
  background: linear-gradient(160deg, rgba(204, 255, 0, .22), rgba(204, 255, 0, .05));
  border-color: var(--volt);
  color: var(--volt);
  box-shadow: var(--glow-volt);
  cursor: pointer;
}
.locker[data-state="benim"] .locker__num { color: var(--volt); }

.locker[data-state="bakim"] { opacity: .35; cursor: not-allowed; }

.locker-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; font-size: .78rem; color: var(--muted); }
.locker-legend span { display: flex; align-items: center; gap: 7px; }
.locker-legend i { width: 11px; height: 11px; border-radius: 4px; display: block; }

/* Dolap yan paneli */
.locker-panel { position: sticky; top: 96px; }
.pin-display {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 20px 0;
}
.pin-display span {
  width: 46px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink-850);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--volt);
}
.pin-display span.is-empty { color: var(--muted-dim); border-style: dashed; }

/* ====================================================== ÖLÇÜ TAKİBİ */
.tracker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
@media (max-width: 980px) { .tracker { grid-template-columns: 1fr; } }

/* Sekmeler */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 99px;
  background: var(--ink-850);
  border: 1px solid var(--line);
  width: fit-content;
  max-width: 100%;
}
.tab {
  padding: 9px 18px;
  border-radius: 99px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color .3s ease, color .3s ease;
}
.tab:hover { color: var(--fg-soft); }
.tab.is-active { background: var(--volt); color: var(--on-accent); }

.chart-wrap { position: relative; margin-top: 26px; }
.chart-wrap svg { width: 100%; height: auto; overflow: visible; }
.chart__grid line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.chart__label { fill: var(--muted-dim); font-size: 10px; font-family: var(--font-mono); }
.chart__line { fill: none; stroke: url(#chartGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart__area { fill: url(#areaGrad); opacity: .85; }
.chart__pt { fill: var(--ink-900); stroke: var(--volt); stroke-width: 2.5; transition: r .2s ease; }
.chart__pt:hover { r: 7; }

/* Ölçü kartları */
.measures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.measure {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  transition: border-color .3s ease, background-color .3s ease;
}
.measure:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .05); }
.measure__lab { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dim); font-weight: 700; }
.measure__val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.1;
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.measure__val small { font-family: var(--font-ui); font-size: .72rem; font-weight: 700; color: var(--muted); }
.measure__delta { display: inline-flex; align-items: center; gap: 4px; font-size: .76rem; font-weight: 800; margin-top: 4px; }
.measure__delta--up { color: var(--volt); }
.measure__delta--down { color: var(--aqua); }
.measure__delta svg { width: 12px; height: 12px; }

/* Vücut haritası */
.bodymap { position: relative; }
.bodymap svg { width: 100%; max-width: 260px; margin-inline: auto; }
.bodymap__shape { fill: rgba(255, 255, 255, .04); stroke: var(--line-strong); stroke-width: 1.5; }
.bodymap__hot {
  fill: var(--volt);
  opacity: .9;
  cursor: pointer;
  transition: r .3s var(--ease-out), opacity .3s ease;
}
.bodymap__hot:hover { opacity: 1; }
.bodymap__ring { fill: none; stroke: var(--volt); stroke-width: 1.5; opacity: .35; }

/* ========================================================== SIRALAMALAR */
.board { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--ink-850); overflow: hidden; }

.board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}

.board__scroll { overflow-x: auto; }

.board table { min-width: 660px; }
.board th {
  text-align: left;
  padding: 13px 24px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.board td {
  padding: 15px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: .92rem;
  vertical-align: middle;
}
.board tbody tr { transition: background-color .25s ease; }
.board tbody tr:hover { background: rgba(255, 255, 255, .03); }
.board tbody tr:last-child td { border-bottom: 0; }

/* İlk üç sıra vurgusu */
.board tr[data-rank="1"] { background: linear-gradient(90deg, rgba(204, 255, 0, .09), transparent 55%); }
.board tr[data-rank="2"] { background: linear-gradient(90deg, rgba(255, 255, 255, .055), transparent 55%); }
.board tr[data-rank="3"] { background: linear-gradient(90deg, rgba(255, 122, 46, .07), transparent 55%); }

.rank {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  background: var(--ink-700);
  color: var(--muted);
  border: 1px solid var(--line);
}
.rank[data-medal="1"] { background: var(--volt); color: var(--on-accent); border-color: var(--volt); box-shadow: 0 0 20px -6px rgba(204,255,0,.8); }
.rank[data-medal="2"] { background: #C9D3E2; color: var(--on-accent); border-color: #C9D3E2; }
.rank[data-medal="3"] { background: #E08A4B; color: var(--on-accent); border-color: #E08A4B; }

.athlete { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: .82rem;
  color: var(--on-accent);
  flex: none;
  letter-spacing: .02em;
}
.athlete__name { font-weight: 700; line-height: 1.25; }
.athlete__meta { font-size: .74rem; color: var(--muted-dim); }

.metric { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; }
.metric small { font-family: var(--font-ui); font-size: .68rem; font-weight: 700; color: var(--muted); margin-left: 3px; }

.trend { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 800; }
.trend--up { color: var(--volt); }
.trend--down { color: #FF7A61; }
.trend--flat { color: var(--muted-dim); }
.trend svg { width: 13px; height: 13px; }

/* Podyum */
.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 34px;
}
.podium__slot { text-align: center; }
.podium__card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--ink-750), var(--ink-900));
  padding: 24px 16px 20px;
  overflow: hidden;
}
.podium__slot--1 .podium__card {
  border-color: rgba(204, 255, 0, .45);
  background: linear-gradient(170deg, rgba(204, 255, 0, .16), var(--ink-900));
  box-shadow: var(--glow-volt);
  padding-block: 36px 26px;
}
.podium__avatar {
  width: 62px; height: 62px;
  border-radius: 18px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--on-accent);
}
.podium__slot--1 .podium__avatar { width: 76px; height: 76px; font-size: 1.3rem; }
.podium__name { font-weight: 800; font-size: .95rem; }
.podium__score { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; margin-top: 6px; }
.podium__slot--1 .podium__score { font-size: 2.5rem; color: var(--volt); }
.podium__crown { position: absolute; top: 12px; right: 14px; font-size: 1.2rem; }

@media (max-width: 640px) {
  .podium { grid-template-columns: 1fr; }
  .podium__slot { order: 2; }
  .podium__slot--1 { order: 1; }
}

/* Filtre çipleri */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 15px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  transition: all .25s ease;
}
.chip:hover { color: var(--fg); border-color: var(--line-strong); }
.chip.is-active { background: var(--volt); border-color: var(--volt); color: var(--on-accent); }

/* ============================================================ ETKİNLİK */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }

.event {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--ink-850);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .4s ease, box-shadow .5s var(--ease-out);
}
.event:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }

/* Etkinlik başlığı — renkli desenli alan */
.event__banner {
  position: relative;
  height: 152px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.event__banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .16) 0 12px, transparent 12px 24px);
  opacity: .55;
}
.event__banner[data-theme="sinav"]  { background: linear-gradient(135deg, #CCFF00, #6FCF00); }
.event__banner[data-theme="bench"]  { background: linear-gradient(135deg, #FF4D2E, #FF9A2E); }
.event__banner[data-theme="kardiyo"]{ background: linear-gradient(135deg, #00E5C8, #00A3E5); }
.event__banner[data-theme="deadlift"] { background: linear-gradient(135deg, #7B5CFF, #C45CFF); }
.event__banner[data-theme="yoga"]   { background: linear-gradient(135deg, #FFD84D, #FFB86B); }
.event__banner[data-theme="crossfit"] { background: linear-gradient(135deg, #FFC53D, #FF7A2E); }

.event__glyph {
  position: relative;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(5, 7, 11, .82);
  text-transform: uppercase;
  letter-spacing: -.01em;
  text-align: center;
  line-height: .9;
  padding: 0 16px;
}

.event__date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(5, 7, 11, .88);
  color: var(--fg);
  border-radius: 12px;
  padding: 8px 12px;
  text-align: center;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.event__date b { display: block; font-family: var(--font-display); font-size: 1.4rem; }
.event__date span { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.event__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  /* Banner renkleri parlak; etiket okunabilirlik için koyu zemine oturur */
  background: rgba(5, 7, 11, .86);
  border-color: rgba(255, 255, 255, .22);
  color: var(--fg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.event__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
.event__title { font-size: 1.2rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
.event__desc { font-size: .89rem; color: var(--muted); line-height: 1.65; }

.event__meta { display: grid; gap: 8px; font-size: .82rem; color: var(--fg-soft); }
.event__meta div { display: flex; align-items: center; gap: 9px; }
.event__meta svg { width: 15px; height: 15px; color: var(--muted-dim); flex: none; }

/* Kontenjan çubuğu */
.quota { margin-top: auto; }
.quota__bar { height: 6px; border-radius: 99px; background: var(--ink-600); overflow: hidden; margin-bottom: 8px; }
.quota__bar i { display: block; height: 100%; border-radius: 99px; background: var(--grad-volt); transition: width 1.2s var(--ease-out); }
.quota__bar.is-hot i { background: linear-gradient(90deg, var(--flame), #FF9A2E); }
.quota__text { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); font-weight: 600; }
.quota__text b { color: var(--fg); }

/* Geri sayım */
.countdown { display: flex; gap: 8px; }
.countdown__unit {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}
.countdown__num { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 700; line-height: 1; color: var(--volt); }
.countdown__lab { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dim); font-weight: 700; margin-top: 5px; }

/* ============================================================== FİYAT */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--ink-750), var(--ink-900));
  transition: transform .5s var(--ease-out), border-color .4s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.plan--featured {
  border-color: rgba(204, 255, 0, .5);
  background: linear-gradient(170deg, rgba(204, 255, 0, .1), var(--ink-900) 60%);
  box-shadow: var(--glow-volt);
}
.plan__flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--volt);
  color: var(--on-accent);
  padding: 5px 16px;
  border-radius: 99px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan__name { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; }
.plan__tagline { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 6px; }
.plan__amount { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; }
.plan__per { font-size: .82rem; color: var(--muted); font-weight: 600; }
.plan__note { font-size: .76rem; color: var(--muted-dim); min-height: 20px; }
.plan__list { display: grid; gap: 11px; margin: 24px 0 28px; }
.plan__list li { display: flex; gap: 10px; font-size: .88rem; color: var(--fg-soft); line-height: 1.5; }
.plan__list svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--volt); }
.plan__list li.is-off { color: var(--muted-dim); }
.plan__list li.is-off svg { color: var(--muted-dim); opacity: .5; }
.plan__cta { margin-top: auto; }

/* Aylık / yıllık anahtarı */
.switch { display: inline-flex; align-items: center; gap: 14px; }
.switch__btn {
  position: relative;
  width: 58px; height: 32px;
  border-radius: 99px;
  background: var(--ink-600);
  border: 1px solid var(--line-strong);
  transition: background-color .3s ease;
}
.switch__btn::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--fg);
  transition: transform .35s var(--ease-out), background-color .3s ease;
}
.switch__btn.is-on { background: rgba(204, 255, 0, .28); border-color: var(--volt); }
.switch__btn.is-on::after { transform: translateX(26px); background: var(--volt); }
.switch__lab { font-size: .88rem; font-weight: 700; color: var(--muted); transition: color .3s ease; }
.switch__lab.is-active { color: var(--fg); }

/* =============================================================== FORMLAR */
.field { display: grid; gap: 7px; }
.field__label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field__label i { color: var(--flame); font-style: normal; }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--ink-850);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  font-size: .92rem;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-dim); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--volt);
  box-shadow: 0 0 0 3px rgba(204, 255, 0, .16);
  background: var(--ink-800);
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.6; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238593AB' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Onay kutusu */
.check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: .84rem; color: var(--muted); line-height: 1.55; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  background: var(--ink-850);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
  transition: background-color .25s ease, border-color .25s ease;
}
.check__box svg { width: 13px; height: 13px; color: var(--on-accent); opacity: 0; transform: scale(.6); transition: all .2s var(--ease-out); }
.check input:checked + .check__box { background: var(--volt); border-color: var(--volt); }
.check input:checked + .check__box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 3px rgba(204, 255, 0, .25); }
.check a { color: var(--volt); text-decoration: underline; text-underline-offset: 2px; }

/* Radyo kart grubu — yarışma kategorisi seçimi */
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 0; height: 0; }
.pick__body {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--ink-850);
  transition: all .25s ease;
  height: 100%;
}
.pick__title { font-weight: 700; font-size: .88rem; }
.pick__sub { font-size: .74rem; color: var(--muted-dim); margin-top: 2px; }
.pick:hover .pick__body { border-color: rgba(255, 255, 255, .3); }
.pick input:checked + .pick__body {
  border-color: var(--volt);
  background: rgba(204, 255, 0, .09);
  box-shadow: 0 0 0 1px var(--volt);
}
.pick input:focus-visible + .pick__body { box-shadow: 0 0 0 3px rgba(204, 255, 0, .25); }

.field__error { font-size: .76rem; color: #FF7A61; font-weight: 600; display: none; }
.field.has-error .input, .field.has-error .select { border-color: var(--flame); }
.field.has-error .field__error { display: block; }

/* ================================================================ MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal__veil {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 19, .84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__box {
  position: relative;
  width: min(100%, 560px);
  max-height: min(88vh, 800px);
  overflow-y: auto;
  background: var(--ink-800);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.97);
  transition: transform .4s var(--ease-out);
}
.modal.is-open .modal__box { transform: none; }

.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all .25s ease;
}
.modal__close:hover { background: rgba(255, 255, 255, .07); color: var(--fg); }
.modal__close svg { width: 17px; height: 17px; }

.modal__title { font-family: var(--font-display); font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.modal__sub { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.modal__form { display: grid; gap: 16px; margin-top: 26px; }

/* Başarı ekranı */
.modal__done { text-align: center; padding: 20px 0; display: none; }
.modal__done.is-visible { display: block; animation: pop .5s var(--ease-out); }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }

.done-check {
  width: 78px; height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(204, 255, 0, .14);
  border: 2px solid var(--volt);
  color: var(--volt);
}
.done-check svg { width: 36px; height: 36px; }

/* Kayıt numarası kutusu */
.ticket {
  margin: 22px auto 0;
  padding: 16px 20px;
  max-width: 320px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  background: var(--ink-850);
}
.ticket__lab { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dim); font-weight: 800; }
.ticket__code { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: var(--volt); margin-top: 5px; letter-spacing: .06em; }

/* ================================================================== SSS */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--ink-850);
  overflow: hidden;
  transition: border-color .3s ease;
}
.faq__item.is-open { border-color: rgba(204, 255, 0, .35); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  text-align: left;
  font-weight: 700;
  font-size: .98rem;
  transition: color .25s ease;
}
.faq__q:hover { color: var(--volt); }
.faq__icon {
  width: 26px; height: 26px;
  flex: none;
  margin-left: auto;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--volt);
  transition: transform .35s var(--ease-out), background-color .3s ease;
}
.faq__icon svg { width: 14px; height: 14px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--volt); color: var(--on-accent); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 22px; color: var(--muted); font-size: .92rem; line-height: 1.75; }

/* ================================================================== CTA */
.cta {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 7vw, 76px);
  overflow: hidden;
  background: linear-gradient(135deg, #CCFF00 0%, #8FE800 45%, #00E5C8 100%);
  color: var(--on-accent);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, .07) 0 14px, transparent 14px 28px);
}
.cta__inner { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; }
.cta__title { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 4.2rem); text-transform: uppercase; line-height: .92; }
.cta__text { max-width: 52ch; font-size: 1.02rem; color: rgba(5, 7, 11, .78); font-weight: 500; }
.cta .btn--primary { --btn-bg: var(--on-accent); --btn-fg: var(--volt); box-shadow: 0 12px 34px -12px rgba(0, 0, 0, .6); }
.cta .btn--ghost { --btn-fg: var(--on-accent); border-color: rgba(5, 7, 11, .3); }
.cta .btn--ghost:hover { background: rgba(5, 7, 11, .08); border-color: rgba(5, 7, 11, .5); }

/* =============================================================== FOOTER */
.footer {
  background: var(--ink-850);
  border-top: 1px solid var(--line);
  padding-top: clamp(52px, 7vw, 80px);
  margin-top: clamp(60px, 8vw, 110px);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__about { max-width: 34ch; color: var(--muted); font-size: .89rem; line-height: 1.7; margin-top: 18px; }
.footer__title { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dim); margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; }
.footer__list a { font-size: .89rem; color: var(--fg-soft); transition: color .25s ease; }
.footer__list a:hover { color: var(--volt); }

.socials { display: flex; gap: 9px; margin-top: 22px; }
.social {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all .25s ease;
}
.social:hover { background: var(--volt); border-color: var(--volt); color: var(--on-accent); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted-dim);
}

/* Footer'daki dev logo yazısı */
.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 15vw, 12rem);
  line-height: .8;
  text-transform: uppercase;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  padding-bottom: 18px;
  user-select: none;
}

/* ======================================================== ANİMASYONLAR */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Sıralı gecikme — ızgara içindeki kartlar art arda belirir */
.js [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
[data-reveal-stagger].is-in > *:nth-child(1) { transition-delay: .04s; }
[data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: .1s; }
[data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: .16s; }
[data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: .22s; }
[data-reveal-stagger].is-in > *:nth-child(5) { transition-delay: .28s; }
[data-reveal-stagger].is-in > *:nth-child(6) { transition-delay: .34s; }
[data-reveal-stagger].is-in > *:nth-child(7) { transition-delay: .4s; }
[data-reveal-stagger].is-in > *:nth-child(8) { transition-delay: .46s; }

/* Yukarı çık düğmesi */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 400;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--volt);
  color: var(--on-accent);
  box-shadow: 0 10px 30px -10px rgba(204, 255, 0, .7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .35s var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 19px; height: 19px; }

/* Sayfa başlığı şeridi (alt sayfalar) */
.pagehead {
  position: relative;
  padding: clamp(56px, 8vw, 92px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pagehead__glow { top: -60%; left: 50%; transform: translateX(-50%); width: 700px; height: 560px; opacity: .3; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: var(--muted-dim); margin-bottom: 18px; }
.crumb a:hover { color: var(--volt); }
.crumb svg { width: 13px; height: 13px; }

/* Erişilebilirlik: hareketi azalt tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; }
}

/* Yardımcılar */
.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;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 48px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ======================================================= EK DÜZELTMELER */

/* Onay kutusu hata durumu */
.check.has-error .check__box { border-color: var(--flame); background: rgba(255, 77, 46, .1); }
.check.has-error { color: #FF7A61; }

/* Öne çıkan etkinlik: dar ekranda tek sütuna insin */
@media (max-width: 820px) {
  .feature-event,
  .section .card > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .feature-event .event__banner,
  .card .event__banner {
    border-left: 0 !important;
    border-top: 1px solid var(--line);
    min-height: 180px !important;
  }
}

/* Geri sayım dar ekranda taşmasın */
@media (max-width: 420px) {
  .countdown { gap: 6px; }
  .countdown__unit { padding: 8px 3px; }
  .countdown__num { font-size: 1.05rem; }
  .countdown__lab { font-size: .55rem; letter-spacing: .08em; }
}

/* Podyum kartlarındaki küçük birim yazısı */
.podium__score .small { font-size: .7rem; font-weight: 700; color: var(--muted); }

/* Sıralama tablosunda gizlenen satırlar */
.board tbody tr[hidden] { display: none; }

/* Ölçüm kartı ızgarası dar ekranda tek sütun */
@media (max-width: 420px) { .measures { grid-template-columns: 1fr; } }

/* Sekmeler dar ekranda kaydırılabilir olsun */
@media (max-width: 560px) {
  .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
  .tab { flex: none; }
}

/* ====================================================== GELİŞİM YARIŞI */
/* Birden çok sporcunun aynı eksende karşılaştırıldığı çok serili grafik */
.race__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.race__legend { display: flex; flex-wrap: wrap; gap: 8px; }

.race__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: .8rem;
  font-weight: 700;
  color: var(--fg-soft);
  cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, opacity .25s ease;
}
.race__chip:hover { border-color: var(--line-strong); }
/* Söndürülmüş seri */
.race__chip.is-off { opacity: .4; }
.race__chip i {
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: currentColor;
  flex: none;
}
.race__chip b { font-family: var(--font-mono); font-weight: 700; color: var(--fg); }

.race__chart { position: relative; margin-top: 14px; }
.race__chart svg { width: 100%; height: auto; overflow: visible; }

.race__grid line { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.race__axis { fill: var(--muted-dim); font-size: 10px; font-family: var(--font-mono); }

.race__line {
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity .3s ease;
}
.race__dot { stroke-width: 2.2; transition: opacity .3s ease; }
/* Son noktayı büyüt — bugünkü değer */
.race__dot--last { stroke-width: 3; }

.race__band { transition: opacity .3s ease; }

.race__serie.is-off .race__line,
.race__serie.is-off .race__dot,
.race__serie.is-off .race__band,
.race__serie.is-off .race__tag { opacity: .12; }

/* Çizginin ucundaki isim etiketi */
.race__tag {
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-ui);
  transition: opacity .3s ease;
}

.race__foot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.race__stat { display: grid; gap: 3px; }
.race__stat dt {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dim);
  font-weight: 800;
}
.race__stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
}
.race__stat dd small {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  margin-left: 3px;
}

@media (max-width: 560px) {
  .race__head { flex-direction: column; align-items: stretch; }
  .race__legend { justify-content: flex-start; }
}
