/* =========================================================
   Eşit Ağırlık — tanıtım sitesi
   Fontlar: Baloo 2 + Nunito (SIL OFL 1.1, @fontsource-variable), latin + latin-ext
   ========================================================= */

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("../fonts/baloo-2-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("../fonts/baloo-2-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("../fonts/nunito-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0B1638;
  --bg-deep: #060D24;
  --panel: #13245A;
  --panel-2: #1C3478;
  --border: #2B4A9E;
  --gold: #F5C542;
  --gold-d: #C9971C;
  --gold-t: #3A2A00;
  --text: #fff;
  --text-2: #D7DFF8;
  --dim: #A9B8E6;
  --green: #2ECC71;
  --red: #E74C3C;
  --cyan: #3FC1F0;
  --cyan-d: #1E8FBF;
  --tile: #F7F3E3;
  --tile-t: #0B1638;
  --joker: #8E44AD;
  --me: #3FC1F0;
  --opp: #FF7A59;

  --font-d: "Baloo 2", ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-b: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 32px);
  --radius: 24px;
  --header-h: 64px;
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1100px 680px at 78% -8%, rgba(63, 193, 240, .20), transparent 62%),
    radial-gradient(900px 620px at -6% 6%, rgba(245, 197, 66, .13), transparent 60%),
    linear-gradient(180deg, #0B1638 0%, #091433 45%, #060D24 100%);
  background-repeat: no-repeat;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::after {
  /* ince gren dokusu */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-d); line-height: 1.1; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #7fd7f7; }
strong, b { font-weight: 800; }
code { font-size: .9em; background: var(--panel); padding: 2px 6px; border-radius: 6px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.text-gold { color: var(--gold); }
.text-cyan { color: var(--cyan); }
.inline-dim { color: var(--dim); font-weight: 600; font-size: .8em; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--gold-t);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 13, 36, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(43, 74, 158, .45);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { background: rgba(6, 13, 36, .9); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.site-header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand__mark { width: 40px; height: 40px; }
.brand__name { font-family: var(--font-d); font-weight: 800; font-size: 1.3rem; letter-spacing: .01em; padding-top: 3px; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
@media (max-width: 719px) {
  .hide-sm { display: none; }
  .site-nav a { padding: 8px 6px; font-size: .9rem; }
  .brand__name { font-size: 1.12rem; }
  .brand__mark { width: 34px; height: 34px; }
}
@media (max-width: 379px) { .site-nav { display: none; } .site-header .btn { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn {
  --b-top: var(--panel-2);
  --b-bot: #0f1d4b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px 13px;
  border: 0;
  border-radius: 14px;
  font: 800 1.05rem/1 var(--font-d);
  color: var(--text);
  text-decoration: none;
  background: var(--b-top);
  box-shadow: inset 0 -4px 0 var(--b-bot), 0 8px 18px -8px rgba(0, 0, 0, .6);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); color: var(--text); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 var(--b-bot), 0 4px 10px -6px rgba(0, 0, 0, .6); }
.btn--gold { --b-top: var(--gold); --b-bot: var(--gold-d); color: var(--gold-t); }
.btn--gold:hover { color: var(--gold-t); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--border); }
.btn--sm { min-height: 40px; padding: 8px 18px 11px; font-size: 1rem; border-radius: 12px; }

/* ---------- store buttons ---------- */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 182px;
  min-height: 58px;
  padding: 8px 20px 10px 16px;
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(180deg, #0c142f, #050a1c);
  box-shadow: inset 0 0 0 1.5px rgba(169, 184, 230, .35), inset 0 -4px 0 rgba(0, 0, 0, .55), 0 10px 24px -12px rgba(0, 0, 0, .8);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store-btn:hover { color: var(--text); transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--gold), inset 0 -4px 0 rgba(0, 0, 0, .55), 0 14px 28px -12px rgba(245, 197, 66, .35); }
.store-btn__glyph { flex-shrink: 0; color: #fff; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.05; }
.store-btn__text small { font-size: .74rem; font-weight: 700; color: var(--dim); letter-spacing: .02em; }
.store-btn__text strong { white-space: nowrap; font-family: var(--font-d); font-size: 1.32rem; font-weight: 700; padding-top: 2px; }
.store-btn.is-soon { cursor: default; opacity: .72; box-shadow: inset 0 0 0 1.5px rgba(169, 184, 230, .22); }
.store-btn.is-soon .store-btn__text small { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.store-btn.is-soon:hover { transform: none; }
@media (max-width: 420px) {
  .store-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .store-btn { min-width: 0; padding: 8px 10px 10px; gap: 8px; }
  .store-btn__text strong { font-size: 1.08rem; }
}
@media (max-width: 379px) {
  .store-btn { padding-inline: 8px; }
  .store-btn__glyph { width: 22px; height: 22px; }
  .store-btn__text strong { font-size: 1rem; }
}

/* ---------- game tiles (3B kabartma) ---------- */
.tile {
  --ts: 44px;
  --t-top: var(--tile);
  --t-bot: #CFC39A;
  --t-ink: var(--tile-t);
  position: relative;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  min-width: var(--ts);
  height: var(--ts);
  padding: 0 calc(var(--ts) * .14) calc(var(--ts) * .1);
  border-radius: calc(var(--ts) * .24);
  background: var(--t-top);
  color: var(--t-ink);
  font: 800 calc(var(--ts) * .56) / 1 var(--font-d);
  box-shadow: inset 0 calc(var(--ts) * -.1) 0 var(--t-bot), 0 calc(var(--ts) * .1) calc(var(--ts) * .2) -2px rgba(0, 0, 0, .45);
  user-select: none;
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 7% 8% 48% 8%;
  border-radius: calc(var(--ts) * .17);
  background: rgba(255, 255, 255, .22);
  pointer-events: none;
}
.tile--gold { --t-top: var(--gold); --t-bot: var(--gold-d); --t-ink: var(--gold-t); }
.tile--cyan { --t-top: var(--cyan); --t-bot: var(--cyan-d); --t-ink: #fff; }
.tile--letter { --t-top: var(--tile); --t-bot: #CFC39A; --t-ink: var(--tile-t); }
.tile--joker { --t-top: var(--joker); --t-bot: #5C2672; --t-ink: #fff; }
.tile--num { --t-top: #2E55B8; --t-bot: #1A3480; --t-ink: #fff; }
.tile--res { --t-top: var(--cyan); --t-bot: var(--cyan-d); --t-ink: #fff; }
.tile--xs { --ts: 26px; }
.tile--lg { --ts: 72px; }
.tile.is-used { opacity: .25; transform: translateY(2px) scale(.94); filter: saturate(.4); }

/* ---------- typography blocks ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); position: relative; }
.section__head { max-width: 720px; margin: 0 auto clamp(28px, 5vw, 48px); text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.kicker {
  display: inline-block;
  margin-bottom: 12px;
  font: 800 .82rem/1 var(--font-b);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.h2 { font-size: clamp(2rem, 5.2vw, 3.3rem); letter-spacing: -.01em; }
.h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
.lead { margin-top: 16px; font-size: clamp(1.06rem, 1.9vw, 1.22rem); color: var(--text-2); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(19, 36, 90, .7);
  box-shadow: inset 0 0 0 1px rgba(63, 193, 240, .35);
  font-weight: 800;
  font-size: .9rem;
  color: var(--text-2);
}
.eyebrow__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(46, 204, 113, .2); animation: pulse 2s ease-in-out infinite; }
.link-arrow { font-weight: 800; color: var(--gold); text-decoration: none; font-size: 1.05rem; }
.link-arrow:hover { color: #ffd76b; text-decoration: underline; }
.link-arrow span { display: inline-block; transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 7vw, 88px); overflow: clip; }
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 420px at 72% 46%, rgba(63, 193, 240, .22), transparent 70%),
    radial-gradient(380px 300px at 60% 70%, rgba(245, 197, 66, .12), transparent 70%);
}
.hero::before {
  /* ızgara */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(169, 184, 230, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 184, 230, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; display: grid; gap: clamp(36px, 6vw, 56px); align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.hero__title { font-size: clamp(2.7rem, 9vw, 5.1rem); line-height: .98; letter-spacing: -.015em; }
.hero__lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--text-2); max-width: 34em; }
.hero__lead strong { color: var(--text); }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--dim); font-weight: 700; font-size: .95rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero__facts svg { color: var(--green); }
.hero__art { position: relative; display: grid; place-items: center; padding: 20px 0 10px; min-height: 520px; }

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .hero__art { min-height: 640px; }
}

/* floating tiles */
.float-tile { position: absolute; --ts: clamp(48px, 9vw, 68px); z-index: 3; animation: float 6s ease-in-out infinite alternate; }
.float-tile--a { left: 4%; top: 8%; rotate: -12deg; }
.float-tile--b { right: 2%; bottom: 16%; rotate: 10deg; animation-delay: -2s; }
.float-tile--c { left: 0; bottom: 10%; --ts: clamp(38px, 6vw, 50px); rotate: 8deg; animation-delay: -4s; }
.float-tile--d { right: 10%; top: 2%; --ts: clamp(34px, 5vw, 44px); rotate: -6deg; animation-delay: -1s; z-index: 0; }
@media (max-width: 600px) {
  .float-tile--a { left: -2%; top: -1%; --ts: 46px; }
  .float-tile--c { left: -2%; }
  .float-tile--b { right: -1%; }
}

/* ---------- phone mockups ---------- */
.phone {
  --pw: 300px;
  position: relative;
  margin: 0;
  width: var(--pw);
  aspect-ratio: 300 / 620;
  padding: calc(var(--pw) * .036);
  border-radius: calc(var(--pw) * .155);
  background: linear-gradient(150deg, #34488c 0%, #111c47 18%, #070d26 60%, #1a2758 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .12),
    0 0 0 1px #02040d,
    0 50px 90px -30px rgba(0, 0, 0, .85),
    0 0 80px -10px rgba(63, 193, 240, .25);
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: calc(var(--pw) * .06);
  left: 50%;
  width: 30%;
  height: calc(var(--pw) * .07);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #02040d;
}
.phone__screen {
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--pw) * .12);
  background:
    radial-gradient(120% 55% at 50% 0%, #1C3478 0%, rgba(11, 22, 56, 0) 70%),
    linear-gradient(180deg, #0B1638, #060D24);
  container-type: inline-size;
}
.phone--front { --pw: min(300px, 74vw); z-index: 2; transform: rotate(-2.5deg); }
.phone--back {
  --pw: min(262px, 62vw);
  position: absolute;
  z-index: 1;
  top: 2%;
  right: 0;
  transform: rotate(9deg) translateX(6%);
  filter: brightness(.72) saturate(.9);
}
@media (max-width: 959px) {
  .phone--back { right: -14%; top: 6%; }
  .phone--front { transform: rotate(-2.5deg) translateX(-8%); }
}
@media (min-width: 960px) {
  .phone--back { right: -2%; }
  .phone--front { transform: rotate(-3deg) translateX(-14%); }
}

.app { display: flex; flex-direction: column; gap: 3.6cqw; height: 100%; padding: 3.5cqw 6cqw 6cqw; font-family: var(--font-d); color: var(--text); }
.app__status { display: flex; justify-content: space-between; align-items: center; padding: 1cqw 5cqw 0; font: 800 4.2cqw/1 var(--font-b); min-height: 9cqw; }
.app__icons { display: flex; gap: 1.2cqw; align-items: flex-end; }
.app__icons i { display: block; width: 1.3cqw; background: #fff; border-radius: 1px; }
.app__icons i:nth-child(1) { height: 1.6cqw; }
.app__icons i:nth-child(2) { height: 2.4cqw; }
.app__icons i:nth-child(3) { height: 3.2cqw; }
.app__top { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; margin-top: 2cqw; }
.pill { padding: 1.4cqw 3cqw 1cqw; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--border); font: 800 3.6cqw/1 var(--font-b); color: var(--dim); letter-spacing: .04em; }
.app__mode { font-size: 7cqw; font-weight: 800; color: var(--gold); letter-spacing: .06em; line-height: 1; padding-top: 1cqw; }
.app__mode--cyan { color: var(--cyan); }

.ring { position: relative; width: 15cqw; aspect-ratio: 1; display: grid; place-items: center; --p: .7; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.4; }
.ring__track { stroke: var(--panel); }
.ring__val { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: calc(97.4 * (1 - var(--p))); transition: stroke-dashoffset .9s linear; }
.ring b { position: relative; font-size: 5.6cqw; padding-top: .8cqw; }
.ring--p70 { --p: .7; }
.ring--p30 { --p: .3; }
.bar-62 { width: 62%; }
.bar-54 { width: 54%; }
.ring--sm .ring__val { stroke: var(--opp); }

.duel { display: grid; gap: 1.3cqw; padding: 3.2cqw 4cqw; border-radius: 4cqw; background: rgba(19, 36, 90, .75); box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .7); }
.duel__row { display: flex; justify-content: space-between; align-items: center; font-size: 4.2cqw; font-weight: 700; line-height: 1; }
.duel__who { display: inline-flex; gap: 1.6cqw; align-items: center; color: var(--text-2); font-family: var(--font-b); font-weight: 800; }
.duel__who i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; }
.duel__who--me i { background: var(--me); }
.duel__who--opp i { background: var(--opp); }
.duel__score { font-size: 5.2cqw; font-weight: 800; }
.duel__score--me { color: var(--me); }
.duel__score--opp { color: var(--opp); }
.duel__bar { height: 2cqw; border-radius: 99px; background: rgba(6, 13, 36, .8); overflow: hidden; margin-bottom: 1cqw; }
.duel__bar i { display: block; height: 100%; border-radius: inherit; transform-origin: left; }
.duel__bar--me i { background: linear-gradient(90deg, #1E8FBF, var(--me)); }
.duel__bar--opp i { background: linear-gradient(90deg, #d4553a, var(--opp)); }

.word-demo { display: grid; gap: 3.4cqw; margin-top: 1cqw; }
.answer { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1.3cqw; }
.slot {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.18;
  border-radius: 2cqw;
  background: var(--tile);
  color: var(--tile-t);
  font: 800 5.6cqw/1 var(--font-d);
  padding-top: .6cqw;
  box-shadow: inset 0 -1cqw 0 #CFC39A;
  transition: background-color .2s ease, color .2s ease, transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.answer-meta { display: flex; justify-content: space-between; align-items: center; font: 800 3.8cqw/1 var(--font-b); color: var(--dim); transition: opacity .3s ease; }
.answer-meta__pts { display: inline-block; padding: 1.2cqw 2.6cqw .8cqw; border-radius: 999px; background: var(--gold); color: var(--gold-t); font-family: var(--font-d); font-weight: 800; }
.answer-meta__pts--cyan { background: var(--cyan); color: var(--tile-t); }
.letters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3cqw; justify-items: center; }
.letters .tile { --ts: 17cqw; width: 100%; }
.joker-row { display: flex; align-items: center; justify-content: center; gap: 2.6cqw; font: 800 3.6cqw/1 var(--font-b); letter-spacing: .14em; color: #c9a1dd; }
.joker-row .tile { --ts: 12cqw; }
.app__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 3cqw; }
.ui-btn { display: grid; place-items: center; height: 12cqw; border-radius: 3.6cqw; font-size: 5cqw; font-weight: 800; padding-top: 1cqw; }
.ui-btn--ghost { box-shadow: inset 0 0 0 .6cqw var(--border); color: var(--dim); }
.ui-btn--gold { background: var(--gold); color: var(--gold-t); box-shadow: inset 0 -1.2cqw 0 var(--gold-d); }

.target { display: grid; justify-items: center; padding: 3cqw 0 2cqw; border-radius: 5cqw; background: rgba(19, 36, 90, .75); box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .7); }
.target small { font: 800 3.4cqw/1 var(--font-b); letter-spacing: .2em; color: var(--dim); }
.target strong { font-size: 17cqw; line-height: 1; color: var(--gold); padding-top: 2cqw; }
.steps { display: grid; gap: 1.6cqw; font: 700 4.4cqw/1.2 var(--font-b); color: var(--text-2); text-align: center; }
.steps__now { color: var(--text); }
.steps__now b { color: var(--cyan); }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.6cqw; }
.numbers .tile { --ts: 14cqw; width: 100%; font-size: 6cqw; padding-inline: 0; }
.ops { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.6cqw; }
.ops span { display: grid; place-items: center; height: 12cqw; border-radius: 3.6cqw; background: var(--panel-2); box-shadow: inset 0 -1cqw 0 #0f1d4b; font-size: 6.4cqw; font-weight: 800; color: var(--gold); }

/* JS ile "kurulan" kelime animasyonu (JS yoksa son hâl görünür) */
.is-armed .slot:not(.on) { background: rgba(255, 255, 255, .05); color: transparent; box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .9); }
.is-armed .slot.on { animation: pop .32s cubic-bezier(.3, 1.6, .5, 1); }
.is-armed:not(.is-done) .answer-meta,
.is-armed:not(.is-done) .demo__result { opacity: 0; }
.is-armed.is-done .answer-meta__pts,
.is-armed.is-done .demo__result .answer-meta__pts { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.demo__result { transition: opacity .3s ease; }

/* ---------- balance (terazi) ---------- */
.balance__inner { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .balance__inner { grid-template-columns: 1fr 1fr; } }
.scale { width: min(460px, 100%); margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.scale__beam {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  transform-origin: 50% 85%;
  transform: rotate(var(--tilt, 0deg));
}
.scale__pan { display: flex; justify-content: center; gap: clamp(5px, 1.4vw, 10px); padding-bottom: 6px; min-height: 40px; }
.scale__pan .tile { --ts: clamp(40px, 11vw, 64px); }
.scale__bar {
  grid-column: 1 / -1;
  height: clamp(14px, 3vw, 22px);
  border-radius: 999px;
  background: #F1F3FD;
  box-shadow: inset 0 -5px 0 #AEB6DA, 0 10px 20px -10px rgba(0, 0, 0, .6);
}
.scale__bar--2 { margin-top: clamp(8px, 1.6vw, 12px); }
.scale__post { width: 8%; height: clamp(60px, 14vw, 104px); background: #C8D2F0; box-shadow: inset -5px 0 0 #9BA6D0; }
.scale__foot { width: 46%; height: clamp(16px, 3.4vw, 24px); border-radius: 999px; background: #C8D2F0; box-shadow: inset 0 -5px 0 #9BA6D0, 0 20px 30px -10px rgba(0, 0, 0, .6); }
.scale.is-armed .scale__beam { --tilt: -9deg; }
.scale.is-armed.is-in .scale__beam { animation: settle 2s cubic-bezier(.25, .8, .3, 1) forwards; }
.scale--tilted .scale__beam { --tilt: -9deg; }
.scale--tilted-r .scale__beam { --tilt: 9deg; }
.balance .scale { filter: drop-shadow(0 0 60px rgba(63, 193, 240, .18)); }

.rounds { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
@media (min-width: 520px) { .rounds { grid-template-columns: repeat(4, 1fr); } }
.rounds__item {
  --acc: var(--gold);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(19, 36, 90, .6);
  box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .7), inset 0 -3px 0 var(--acc);
}
.rounds__item--number { --acc: var(--cyan); }
.rounds__item b { grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--acc); color: var(--tile-t); font-family: var(--font-d); font-size: 1.2rem; padding-top: 2px; }
.rounds__item span { font-family: var(--font-d); font-weight: 800; font-size: 1.12rem; line-height: 1.1; }
.rounds__item small { color: var(--dim); font-weight: 700; font-size: .85rem; line-height: 1.1; }

/* ---------- how ---------- */
.how { background: linear-gradient(180deg, transparent, rgba(19, 36, 90, .35) 30%, rgba(19, 36, 90, .35) 70%, transparent); }
.how__grid { display: grid; gap: 20px; }
@media (min-width: 880px) { .how__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(28, 52, 120, .62), rgba(19, 36, 90, .38));
  box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .8), 0 30px 60px -30px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 66, .16), transparent 70%);
  pointer-events: none;
}
.card--number::after { background: radial-gradient(circle, rgba(63, 193, 240, .18), transparent 70%); }
.card > p { color: var(--text-2); }
.card__badge { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(245, 197, 66, .12); box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .4); font-weight: 800; color: var(--gold); font-size: .95rem; }
.card__badge--cyan { background: rgba(63, 193, 240, .12); box-shadow: inset 0 0 0 1px rgba(63, 193, 240, .4); color: var(--cyan); }
.card__badge .tile { font-size: 16px; }

.demo {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 8px;
  padding: clamp(18px, 3.5vw, 28px) clamp(12px, 3vw, 24px);
  border-radius: 22px;
  background: rgba(6, 13, 36, .6);
  box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .55);
}
.letters--demo { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(6px, 1.6vw, 10px); grid-template-columns: none; }
.letters--demo .tile { --ts: clamp(34px, 9vw, 46px); width: auto; }
.demo__arrow { color: var(--dim); }
.answer--demo { display: flex; gap: clamp(4px, 1.2vw, 8px); grid-template-columns: none; }
.answer--demo .slot { width: clamp(30px, 8.4vw, 44px); border-radius: 10px; font-size: clamp(1.15rem, 4.4vw, 1.6rem); box-shadow: inset 0 -4px 0 #CFC39A; padding-top: 3px; }
.is-armed .answer--demo .slot:not(.on) { box-shadow: inset 0 0 0 1.5px rgba(43, 74, 158, .9); }
.demo__result { display: flex; align-items: center; gap: 12px; color: var(--dim); font-weight: 800; }
.demo__result .answer-meta__pts { padding: 6px 14px 4px; font-size: 1.05rem; }
.demo__target { display: grid; justify-items: center; line-height: 1; }
.demo__target small, .example__target small { font: 800 .75rem/1 var(--font-b); letter-spacing: .22em; color: var(--dim); }
.demo__target strong, .example__target strong { font: 800 clamp(3rem, 9vw, 4rem)/1 var(--font-d); color: var(--gold); padding-top: 6px; text-shadow: 0 0 30px rgba(245, 197, 66, .35); }
.numbers--demo { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(6px, 1.6vw, 10px); grid-template-columns: none; }
.numbers--demo .tile { --ts: clamp(40px, 10vw, 50px); width: auto; font-size: calc(var(--ts) * .46); padding-inline: calc(var(--ts) * .18); }
.calc { list-style: none; display: grid; gap: 8px; justify-items: center; }
.calc__step { display: flex; align-items: center; gap: 8px; font: 800 1.15rem/1 var(--font-d); color: var(--dim); transition: opacity .35s ease, transform .35s ease; }
.chip { display: inline-grid; place-items: center; min-width: 44px; padding: 7px 10px 5px; border-radius: 10px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--border); color: var(--text); }
.chip--res { background: rgba(63, 193, 240, .14); box-shadow: inset 0 0 0 1px rgba(63, 193, 240, .55); color: var(--cyan); }
.chip--hit { background: var(--gold); color: var(--gold-t); box-shadow: inset 0 -3px 0 var(--gold-d); }
.is-armed .calc__step:not(.on) { opacity: 0; transform: translateY(8px); }
.is-armed .calc__step--last.on .chip--hit { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.how__more { margin-top: 28px; text-align: center; }

/* ---------- score ---------- */
.score__inner { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .score__inner { grid-template-columns: .9fr 1.1fr; } }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.formula__box { padding: 10px 16px 8px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--border), inset 0 -3px 0 #0f1d4b; font: 800 1.08rem/1.1 var(--font-d); }
.formula__box--cyan { color: var(--tile-t); background: var(--cyan); box-shadow: inset 0 -3px 0 var(--cyan-d); }
.formula__box--gold { color: var(--gold-t); background: var(--gold); box-shadow: inset 0 -3px 0 var(--gold-d); }
.formula__op { font: 800 1.6rem/1 var(--font-d); color: var(--dim); }

.scorecard {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3.5vw, 32px);
  border-radius: 28px;
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(245, 197, 66, .12), transparent 70%),
    linear-gradient(180deg, rgba(28, 52, 120, .7), rgba(19, 36, 90, .45));
  box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .8), 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.scorecard__row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label total" "math total";
  gap: 6px 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(6, 13, 36, .55);
}
@media (min-width: 560px) { .scorecard__row { grid-template-columns: 1fr auto auto; grid-template-areas: "label math total"; } }
.scorecard__label { grid-area: label; display: grid; gap: 2px; }
.scorecard__label strong { font: 800 1.4rem/1.1 var(--font-d); letter-spacing: .04em; }
.scorecard__label > small { color: var(--dim); font-weight: 700; }
.scorecard__tag { justify-self: start; font: 800 .72rem/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.scorecard__tag--cyan { color: var(--cyan); }
.scorecard__math { grid-area: math; display: flex; gap: 8px; align-items: center; font: 800 1.15rem/1 var(--font-d); }
.scorecard__math .op { color: var(--dim); }
.scorecard__math .sec { color: var(--cyan); }
.scorecard__total { grid-area: total; min-width: 3.2ch; text-align: right; font: 800 clamp(2.4rem, 6vw, 3.2rem)/1 var(--font-d); color: var(--gold); font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(245, 197, 66, .3); }
.scorecard__mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.mini-title { font-size: 1rem; color: var(--dim); margin-bottom: 8px; letter-spacing: .04em; }
.mini-table { list-style: none; display: grid; gap: 4px; font-size: .95rem; }
.mini-table li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(6, 13, 36, .4); }
.mini-table b { font-family: var(--font-d); color: var(--gold); }

/* ---------- modes ---------- */
.modes__grid { list-style: none; display: grid; gap: 18px; }
@media (min-width: 820px) { .modes__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.mode {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(28, 52, 120, .55), rgba(19, 36, 90, .3));
  box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .75);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mode:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .55), 0 24px 40px -24px rgba(0, 0, 0, .8); }
.mode p { color: var(--text-2); }
.mode__icon { --c: var(--cyan); display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), inset 0 -4px 0 color-mix(in srgb, var(--c) 30%, transparent); }
.mode__icon--gold { --c: var(--gold); }
.mode__icon--opp { --c: var(--opp); }
.perks { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 820px) { .perks { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.perks li { padding: 16px 20px; border-radius: 18px; background: rgba(6, 13, 36, .45); box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .5); color: var(--dim); font-size: .98rem; }
.perks b { display: block; color: var(--text); font-family: var(--font-d); font-size: 1.12rem; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq__inner { grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; } .faq .section__head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 20px; background: rgba(19, 36, 90, .55); box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .7); transition: background-color .2s ease; }
.faq__item[open] { background: rgba(28, 52, 120, .6); box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .45); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; border-radius: 20px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 1.15rem; font-weight: 700; line-height: 1.25; padding-top: 2px; }
.faq__icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; background: var(--panel-2); box-shadow: inset 0 -3px 0 #0f1d4b; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 46%; width: 12px; height: 2.5px; border-radius: 2px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 20px 20px; color: var(--text-2); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(24px, 6vw, 64px) 0 clamp(56px, 8vw, 96px); }
.cta-band__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding: clamp(36px, 7vw, 72px) clamp(18px, 4vw, 48px);
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(520px 300px at 15% 0%, rgba(245, 197, 66, .22), transparent 70%),
    radial-gradient(520px 300px at 85% 100%, rgba(63, 193, 240, .25), transparent 70%),
    linear-gradient(160deg, #1C3478, #0B1638 70%);
  box-shadow: inset 0 0 0 1px rgba(63, 193, 240, .35), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.cta-band__tiles { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.cta-band__tiles .tile--lg { --ts: clamp(56px, 12vw, 72px); }
.cta-band__tiles .tile--gold { rotate: -8deg; }
.cta-band__tiles .tile--cyan { rotate: 8deg; }
.cta-band__eq { font: 800 2.4rem/1 var(--font-d); color: var(--dim); }
.cta-band__title { font-size: clamp(2rem, 5.6vw, 3.4rem); }
.cta-band__text { color: var(--text-2); font-size: 1.1rem; margin-bottom: 8px; }
.cta-band .store-buttons { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid rgba(43, 74, 158, .45); background: rgba(6, 13, 36, .7); padding: 40px 0 48px; color: var(--dim); font-size: .95rem; }
.site-footer__inner { display: grid; gap: 22px; }
@media (min-width: 820px) { .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; } .site-footer__notice, .site-footer__tm, .site-footer__copy { grid-column: 1 / -1; } }
.site-footer__tag { margin-top: 6px; }
.site-footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__nav a { color: var(--text-2); font-weight: 700; text-decoration: none; }
.site-footer__nav a:hover { color: var(--gold); text-decoration: underline; }
.site-footer__notice { padding: 14px 16px; border-radius: 14px; background: rgba(19, 36, 90, .5); box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .5); color: var(--text-2); }
.site-footer__tm { font-size: .85rem; }
.site-footer__copy { font-size: .85rem; }

/* ---------- /nasil-oynanir ---------- */
.doc-hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 5vw, 56px); overflow: clip; }
.doc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(169, 184, 230, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 184, 230, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000 10%, transparent 70%);
}
.doc-hero .wrap { position: relative; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; font-weight: 700; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold); text-decoration: underline; }
.doc-hero__title { margin-top: 18px; font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: 1; max-width: 14ch; }
.doc-hero__lead { max-width: 40em; }
.doc-hero__tiles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.doc-hero__tiles .tile { --ts: clamp(36px, 8vw, 48px); }
.doc-hero__tiles .tile:nth-child(odd) { rotate: -3deg; }
.doc-hero__tiles .tile:nth-child(even) { rotate: 2deg; }
.doc-hero__tiles .tile--joker { margin-inline: 8px; }

.doc__layout { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 1000px) { .doc__layout { grid-template-columns: 230px minmax(0, 760px); gap: 64px; } }
.toc { align-self: start; padding: 18px 20px; border-radius: 20px; background: rgba(19, 36, 90, .5); box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .6); }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc__title { font-size: .82rem; font-family: var(--font-b); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
@media (max-width: 999px) { .toc ol { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-weight: 700; font-size: .95rem; }
.toc a::before { content: counter(toc); color: var(--dim); font-family: var(--font-d); min-width: 1ch; }
.toc a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }

.prose { min-width: 0; color: var(--text-2); }
.prose > section { padding-top: 8px; }
.prose > section + section { margin-top: clamp(40px, 6vw, 64px); }
.prose h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.8rem, 4.4vw, 2.4rem); color: var(--text); margin-bottom: 16px; }
.prose h3 { font-size: 1.3rem; color: var(--text); margin: 28px 0 10px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; margin-top: 14px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); }
.rounds--doc { margin: 20px 0; }
.note { margin-top: 10px; font-size: .95rem; color: var(--dim); }

.example { display: grid; justify-items: center; gap: 16px; margin: 22px 0 6px; padding: 22px 16px; border-radius: 22px; background: rgba(6, 13, 36, .6); box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .55); }
.example__target { display: grid; justify-items: center; line-height: 1; }
.example__out { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 12px; }
.example__out strong { font: 800 1.7rem/1 var(--font-d); letter-spacing: .08em; color: var(--gold); }
.example__out span { color: var(--dim); font-weight: 700; }

.table-wrap { overflow-x: auto; margin-top: 12px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .6); }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 300px; }
.table caption { caption-side: top; text-align: left; padding: 12px 16px 4px; font-size: .9rem; font-weight: 700; color: var(--dim); }
.table th, .table td { padding: 11px 16px; text-align: left; border-top: 1px solid rgba(43, 74, 158, .45); }
.table thead th { border-top: 0; font-family: var(--font-d); font-weight: 800; color: var(--gold); font-size: 1.02rem; }
.table tbody th { color: var(--text); font-weight: 700; }
.table td { font-weight: 700; }
.table tbody tr:nth-child(odd) { background: rgba(19, 36, 90, .35); }
.table tfoot th, .table tfoot td { font-family: var(--font-d); font-size: 1.15rem; background: rgba(28, 52, 120, .45); }
.table--match { min-width: 520px; }
.c-me { color: var(--me) !important; }
.c-opp { color: var(--opp) !important; }

.formula--doc { margin: 18px 0; }
.tips { display: grid; gap: 14px; }
@media (min-width: 640px) { .tips { grid-template-columns: 1fr 1fr; } }
.tip { padding: 20px; border-radius: 20px; background: linear-gradient(180deg, rgba(28, 52, 120, .55), rgba(19, 36, 90, .3)); box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .7), inset 3px 0 0 var(--gold); }
.tip:nth-child(n+4) { box-shadow: inset 0 0 0 1px rgba(43, 74, 158, .7), inset 3px 0 0 var(--cyan); }
.prose .tip h3 { margin: 0 0 6px; font-size: 1.15rem; }
.tip p { font-size: .98rem; }

/* ---------- 404 / hata ---------- */
.oops { padding: clamp(48px, 9vw, 110px) 0 clamp(64px, 10vw, 120px); }
.oops__inner { display: grid; justify-items: center; text-align: center; gap: 4px; }
.oops .scale { width: min(380px, 100%); margin-bottom: 36px; }
.oops .lead { max-width: 34em; }
.oops__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.oops__id { margin-top: 24px; font-size: .9rem; color: var(--dim); }

/* ---------- reveal ---------- */
.is-armed[data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
[data-reveal] { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }

/* ---------- keyframes ---------- */
@keyframes float { from { translate: 0 -6px; } to { translate: 0 8px; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(46, 204, 113, .25); } 50% { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); } }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes settle {
  0% { transform: rotate(-9deg); }
  32% { transform: rotate(5deg); }
  52% { transform: rotate(-2.6deg); }
  70% { transform: rotate(1.2deg); }
  85% { transform: rotate(-.4deg); }
  100% { transform: rotate(0deg); }
}
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

.hero__copy > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: .06s; }
.hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .18s; }
.hero__copy > :nth-child(5) { animation-delay: .24s; }

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

/* prose içindeki görsel örnekler kendi renklerini korusun */
.prose .example__target strong, .prose .example__out strong { color: var(--gold); }
.table--compact th, .table--compact td { padding-block: 8px; }
