/* ─────────────────────────────────────────────────────────────────
   Elo Circle — elowords.online
   Görsel dil: "kontrol kulesi" landing kalıbı (beyaz duyuru-panosu hero →
   gece moru oyun salonu), Elo Circle paletine uyarlanmış.
   - Tek eylem rengi: Elo Mor (#5b2fd1)  ·  Tek dönüşüm rengi: Altın (#f7be00)
   - Gövde/başlık: system-ui (cihazın kendi yazısı) · Marka: Fredoka (self-host)
   - Gölgeler fısıltı inceliğinde (0.02–0.04), radius: hap 999px, kart 16–20px
   ───────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Fredoka";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Fredoka_700Bold.ttf") format("truetype");
}

:root {
  /* Renkler */
  --elo-violet: #5b2fd1;       /* eylem — birincil buton, link, odak */
  --elo-violet-2: #7a4cf0;
  --gold: #f7be00;             /* dönüşüm — indirme butonu, merkez jeton */
  --gold-soft: #ffd84d;
  --deep-indigo: #0d0021;      /* koyu bölüm zemini, duyuru bandı */
  --midnight: #05010d;         /* koyu kart yüzeyi */
  --white: #ffffff;
  --black: #000000;
  --carbon: #333333;
  --slate: #595959;
  --steel: #737373;
  --silver: #cfcfcf;
  --linen: #faf8f7;
  --mint: #12b76a;
  --alert: #d92d20;

  /* Tipografi */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  --font-brand: "Fredoka", var(--font);

  /* Ölçü */
  --max: 1200px;
  --r-card: 16px;
  --r-float: 20px;
  --pill: 999px;

  /* Gölgeler */
  --shadow-card: rgba(0,0,0,.04) 0 0 0 1px, rgba(0,0,0,.02) 0 1px 1px .5px, rgba(0,0,0,.02) 0 3px 3px 1.5px,
                 rgba(0,0,0,.02) 0 6px 6px -3px, rgba(0,0,0,.02) 0 12px 12px -6px, rgba(0,0,0,.02) 0 24px 24px -12px;
  --shadow-nav:  rgba(0,0,0,.03) 0 1px 1px .5px, rgba(0,0,0,.03) 0 3px 3px 1.5px, rgba(0,0,0,.03) 0 6px 6px -3px,
                 rgba(0,0,0,.03) 0 12px 12px -6px, rgba(0,0,0,.03) 0 24px 24px -12px;
  --shadow-phone: rgba(13,0,33,.04) 0 159px 3px 10px, rgba(13,0,33,.10) 0 89px 54px 5px,
                  rgba(13,0,33,.17) 0 40px 40px 0, rgba(13,0,33,.19) 0 10px 22px 0;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -.01em; color: var(--black); background: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: var(--elo-violet); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--elo-violet); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { margin: 0; font-weight: 700; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Duyuru bandı ─────────────────────────── */
.announce { background: var(--deep-indigo); color: var(--white); font-size: 13px; font-weight: 500; text-align: center; padding: 9px 16px; }
.announce a { color: var(--gold); font-weight: 600; text-decoration: none; margin-left: 6px; }
.announce a:hover { text-decoration: underline; }

/* ── Yüzen menü hapı ──────────────────────── */
.nav-shell { position: sticky; top: 12px; z-index: 50; padding: 14px 0 0; }
.nav { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: calc(100% - 24px); margin-inline: auto;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid rgba(0,0,0,.06); border-radius: var(--pill); box-shadow: var(--shadow-nav); padding: 7px 7px 7px 14px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--black); text-decoration: none; font-family: var(--font-brand); font-weight: 700; font-size: 19px; letter-spacing: 0; margin-right: 10px; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { color: var(--black); text-decoration: none; font-size: 15px; font-weight: 500; padding: 7px 12px; border-radius: var(--pill); white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(0,0,0,.05); }
.nav .lang { font-size: 13px; font-weight: 600; color: var(--steel); text-decoration: none; padding: 7px 10px; border-radius: var(--pill); }
.nav .lang:hover { color: var(--black); background: rgba(0,0,0,.05); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ── Butonlar ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--pill); padding: 12px 24px; font: 600 15px/1.2 var(--font); letter-spacing: -.005em; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--elo-violet); color: var(--white); }
.btn-primary:hover { background: var(--elo-violet-2); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--black); border-color: rgba(0,0,0,.5); }
.btn-ghost:hover { background: rgba(0,0,0,.04); }
.btn-ghost-dark { background: var(--midnight); color: var(--white); border-color: rgba(255,255,255,.18); font-weight: 500; }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.4); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:active { transform: none; }

/* ── Hero (beyaz) ─────────────────────────── */
.hero { text-align: center; padding: 72px 0 0; overflow: hidden; }
.chip { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--pill); padding: 7px 14px 7px 8px; font-size: 13px; font-weight: 600; background: var(--linen); box-shadow: var(--shadow-card); color: var(--carbon); }
.chip .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); font: 700 12px/1 var(--font-brand); color: var(--black); }
.display { font-size: clamp(40px, 7vw, 72px); line-height: 1; letter-spacing: -.025em; margin: 22px auto 0; max-width: 14ch; }
.display .accent { color: var(--elo-violet); }
.sub { font-size: clamp(17px, 2vw, 19px); line-height: 1.5; color: var(--carbon); max-width: 46ch; margin: 18px auto 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.note { font-size: 13px; color: var(--steel); margin-top: 12px; }

/* Sahne: telefon + etrafında yüzen kartlar */
.stage { position: relative; height: 720px; margin-top: 56px; }
.stage::before { content: ""; position: absolute; left: 50%; bottom: -160px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(91,47,209,.22), rgba(91,47,209,0)); pointer-events: none; }
.phone { position: absolute; left: 50%; top: 0; width: 320px; height: 660px; margin-left: -160px; border-radius: 52px; background: #111; padding: 12px; box-shadow: var(--shadow-phone), inset 0 0 0 2px #2a2a2a; }
.screen { position: relative; height: 100%; border-radius: 41px; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 70% at 50% 0%, #2a1170 0%, transparent 60%), linear-gradient(180deg, #160540, var(--deep-indigo)); }
.island { position: absolute; top: 10px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: var(--pill); background: #000; z-index: 2; }
.statusbar { display: flex; justify-content: space-between; padding: 14px 26px 0; font-size: 13px; font-weight: 600; }
.hud { display: flex; justify-content: space-between; align-items: center; padding: 22px 18px 0; font-size: 12px; font-weight: 600; color: #c9bff2; }
.hud b { display: block; font: 700 20px/1 var(--font-brand); color: var(--white); letter-spacing: 0; }
.timer { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 700 16px/1 var(--font-brand); color: var(--white);
  background: conic-gradient(var(--gold) 0 72%, rgba(255,255,255,.12) 0); -webkit-mask: radial-gradient(circle, transparent 17px, #000 18px); mask: radial-gradient(circle, transparent 17px, #000 18px); }
.timer-wrap { position: relative; width: 46px; height: 46px; }
.timer-wrap span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 15px/1 var(--font-brand); color: var(--white); }

/* Harf çemberi */
.ring { position: relative; width: 252px; height: 252px; margin: 18px auto 0; }
.ring .t { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; display: grid; place-items: center;
  font: 700 12px/1 var(--font-brand); color: #fff; background: radial-gradient(circle at 35% 30%, var(--elo-violet-2), var(--elo-violet));
  transform: rotate(calc(var(--i) * 13.846deg)) translateY(-112px) rotate(calc(var(--i) * -13.846deg)); }
.ring .t.done { background: radial-gradient(circle at 35% 30%, #4be3a4, var(--mint)); }
.ring .t.miss { background: radial-gradient(circle at 35% 30%, #ff7a70, var(--alert)); }
.ring .t.on { background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold)); color: var(--black); box-shadow: 0 0 18px rgba(247,190,0,.85); }
@media (prefers-reduced-motion: no-preference) { .ring .t.on { animation: glow 1.8s ease-in-out infinite; } }
@keyframes glow { 50% { box-shadow: 0 0 30px rgba(247,190,0,1); } }
.ring .core { position: absolute; inset: 66px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold) 50%, #f29a00); color: var(--deep-indigo); box-shadow: 0 0 44px rgba(247,190,0,.4); }
.ring .core b { display: block; font: 700 46px/1 var(--font-brand); letter-spacing: 0; }
.ring .core small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.clue { margin: 16px 18px 0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 12px 14px; text-align: left; }
.clue small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.clue p { margin: 4px 0 0; font-size: 14px; line-height: 1.35; }
.boxes { display: flex; justify-content: center; gap: 5px; margin-top: 14px; }
.boxes i { width: 30px; height: 36px; border-radius: 9px; display: grid; place-items: center; font: 700 17px/1 var(--font-brand); font-style: normal; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.boxes i.f { background: var(--white); color: var(--deep-indigo); border-color: var(--white); }
.boxes i.c { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(247,190,0,.35); }
.jokers { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.jokers span { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }

/* Yüzen bildirim kartları */
.float { position: absolute; z-index: 3; width: 264px; display: flex; gap: 12px; align-items: flex-start; text-align: left; background: var(--white); border-radius: var(--r-float); padding: 14px 16px; box-shadow: var(--shadow-card), 0 18px 40px -18px rgba(13,0,33,.18); }
.float .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: var(--linen); }
.float b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.float span { display: block; font-size: 13px; line-height: 1.35; color: var(--steel); margin-top: 2px; }
.float.accent-gold { border-left: 3px solid var(--gold); }
.float.accent-violet { border-left: 3px solid var(--elo-violet); }
.float.accent-mint { border-left: 3px solid var(--mint); }
.f1 { left: calc(50% - 470px); top: 40px;  transform: rotate(-3deg); }
.f2 { left: calc(50% - 440px); top: 300px; transform: rotate(2deg); }
.f3 { left: calc(50% + 200px); top: 90px;  transform: rotate(3deg); }
.f4 { left: calc(50% + 230px); top: 350px; transform: rotate(-2deg); }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 7s ease-in-out infinite; }
  .f2 { animation-delay: -2s; } .f3 { animation-delay: -4s; } .f4 { animation-delay: -5.5s; }
}
@keyframes bob { 50% { translate: 0 -8px; } }
@media (max-width: 1000px) {
  .stage { height: 630px; }
  .phone { transform: scale(.88); transform-origin: top center; }
  .f1, .f2 { left: calc(50% - 360px); } .f3, .f4 { left: calc(50% + 110px); }
  .f2, .f4 { display: none; }
}
@media (max-width: 720px) {
  .stage { height: 580px; margin-top: 40px; }
  .phone { transform: scale(.8); }
  .float { width: 220px; padding: 11px 13px; }
  .float .ic { width: 28px; height: 28px; font-size: 15px; }
  .float b { font-size: 14px; } .float span { font-size: 12px; }
  .f1 { left: 8px; top: 400px; } .f3 { left: auto; right: 8px; top: -18px; }
}

/* ── Koyu bölümler (gece moru) ────────────── */
.dark { background: var(--deep-indigo); color: var(--white); }
.dark .sub { color: var(--silver); }
.band { padding: 112px 0 96px; position: relative; overflow: hidden; }
.band + .band { padding-top: 32px; }
.band.glow::before { content: ""; position: absolute; left: 50%; top: -120px; width: 1100px; height: 700px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(91,47,209,.45), rgba(37,1,96,.15) 55%, transparent); }
.band > .wrap { position: relative; }
.h-section { font-size: clamp(34px, 5vw, 56px); line-height: 1; letter-spacing: -.025em; text-align: center; max-width: 18ch; margin-inline: auto; }
.h-section + .sub { text-align: center; }
.eyebrow { display: block; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }

/* Nasıl oynanır — 3 adım */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.step { background: var(--midnight); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-card); padding: 28px 24px; }
.step .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 700 16px/1 var(--font-brand); background: var(--gold); color: var(--black); }
.step h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; margin-top: 18px; }
.step p { color: var(--silver); margin: 8px 0 0; font-size: 16px; }
.step .ex { margin-top: 18px; font-size: 14px; color: #e9e3ff; background: rgba(255,255,255,.05); border-radius: 12px; padding: 10px 12px; }
.step .ex b { color: var(--gold); font-weight: 600; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Özellik karoları (4×2) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.tile { background: var(--midnight); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-card); padding: 26px 22px 24px; }
.tile .ic { font-size: 26px; line-height: 1; }
.tile h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-top: 16px; }
.tile p { color: #a9a3bd; font-size: 15px; margin: 6px 0 0; line-height: 1.45; }
.tile.wide { grid-column: span 2; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile.wide { grid-column: auto; } }

/* Sayılar */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.stat { border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-card); padding: 28px 16px; text-align: center; }
.stat b { display: block; font: 700 clamp(30px, 4vw, 44px)/1 var(--font-brand); color: var(--white); letter-spacing: 0; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: #a9a3bd; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Kapanış */
.closer { text-align: left; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; border-top: 1px solid rgba(255,255,255,.08); padding-top: 64px; }
.closer h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -.025em; }
.closer p { color: var(--silver); margin: 14px 0 0; max-width: 48ch; }
.closer .cta-row { justify-content: flex-end; margin: 0; }
@media (max-width: 860px) { .closer { grid-template-columns: 1fr; } .closer .cta-row { justify-content: flex-start; } }

/* ── Footer ───────────────────────────────── */
.footer { background: var(--deep-indigo); color: #a9a3bd; font-size: 14px; padding: 40px 0 56px; }
.light-page .footer { background: var(--white); color: var(--steel); border-top: 1px solid rgba(0,0,0,.06); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--white); }
.light-page .footer a:hover { color: var(--black); }

/* ── Doküman sayfaları (beyaz, okuma odaklı) ─ */
.doc { padding: 64px 0 80px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1; letter-spacing: -.025em; }
.doc .updated { color: var(--steel); font-size: 15px; margin: 14px 0 0; }
.doc .intro { font-size: 19px; color: var(--carbon); margin: 28px 0 0; }
.doc h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; margin: 52px 0 0; }
.doc h3 { font-size: 19px; letter-spacing: -.01em; margin: 28px 0 0; }
.doc p, .doc li { color: var(--carbon); }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--elo-violet); }
.toc { margin-top: 32px; background: var(--linen); border-radius: var(--r-card); padding: 18px 22px; box-shadow: var(--shadow-card); }
.toc ol { margin: 6px 0 0; padding-left: 1.3em; columns: 2; column-gap: 28px; font-size: 15px; }
.toc a { color: var(--black); text-decoration: none; }
.toc a:hover { color: var(--elo-violet); }
.toc strong { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--steel); }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.table-wrap { overflow-x: auto; margin-top: 16px; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #eee; }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: var(--linen); font-weight: 600; color: var(--black); }
.doc td { color: var(--carbon); }
.callout { margin-top: 24px; background: var(--linen); border-left: 3px solid var(--gold); border-radius: 12px; padding: 14px 18px; }
.callout p { margin: 0; }
.contact-card { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--deep-indigo); color: var(--white); border-radius: var(--r-float); padding: 24px 26px; }
.contact-card p { color: var(--silver); margin: 4px 0 0; font-size: 15px; }
.contact-card b { font-size: 19px; }
.faq { margin-top: 20px; }
.faq details { border-bottom: 1px solid #eee; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; padding: 18px 32px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--steel); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; }
.faq details > div p:first-child { margin-top: 0; }
.toc li { margin: 0 0 4px; break-inside: avoid; }
