/* Poppy Tops · poppytops.com
   Dil: oyunun kendi tasarım sistemi (DESIGN.md): kalın şekil, ince mürekkep kontur, mat kil yüzey, mavi biz / kırmızı onlar.
   Yapı: sayfa haritadaki yol gibi akar; her bölüm oyundan bir yer. */

@font-face { font-family: "Poppy Display"; src: url("/fonts/PoppyArchivo-Display.ttf") format("truetype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Luckiest Guy"; src: url("/fonts/LuckiestGuy-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppy Label"; src: url("/fonts/PoppyArchivo-Label.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppy Body"; src: url("/fonts/PoppyArchivo-Body.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppy Body"; src: url("/fonts/PoppyArchivo-BodyStrong.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0b0d1f;
  --navy-900: #070c3a;
  --navy-800: #0c1766;
  --well: #0a1352;
  --panel-hi: #2e55e6;
  --panel: #1f3cc4;
  --panel-lo: #162d9e;
  --blue: #1f8bff;
  --blue-hi: #5ec6ff;
  --blue-lo: #0a3cb5;
  --sky: #1c62f0;
  --red: #ff3341;
  --red-lo: #9a0a1c;
  --green-hi: #a6ff52;
  --green: #5ad81e;
  --green-lo: #1a7408;
  --gold-hi: #ffef6a;
  --gold: #ffc814;
  --gold-lo: #b45a00;
  --cream: #fff4d6;
  --cream-lo: #e9d6a4;
  --on-cream: #2a2142;
  --head-on-cream: #12207a;
  --muted: #c9deff;
  --white: #fff;
  --focus: #ffe03a;

  --head: "Luckiest Guy", "Poppy Display", "Arial Narrow", system-ui, sans-serif;
  --display: "Poppy Display", "Arial Narrow", system-ui, sans-serif;
  --label: "Poppy Label", "Poppy Display", system-ui, sans-serif;
  --body: "Poppy Body", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);

  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --max: 73rem;
  --line: 2px;
  --nav-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; --outline: var(--o) 0 0 var(--ink), calc(var(--o) * -1) 0 0 var(--ink), 0 var(--o) 0 var(--ink), 0 calc(var(--o) * -1) 0 var(--ink), calc(var(--o) * 0.71) calc(var(--o) * 0.71) 0 var(--ink), calc(var(--o) * -0.71) calc(var(--o) * 0.71) 0 var(--ink), calc(var(--o) * 0.71) calc(var(--o) * -0.71) 0 var(--ink), calc(var(--o) * -0.71) calc(var(--o) * -0.71) 0 var(--ink), 0 calc(var(--o) + 0.07em) 0 var(--ink), calc(var(--o) * 0.71) calc(var(--o) + 0.06em) 0 var(--ink), calc(var(--o) * -0.71) calc(var(--o) + 0.06em) 0 var(--ink); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); scrollbar-color: var(--panel) var(--navy-900); }
body { margin: 0; background: var(--navy-900); color: var(--white); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { display: block; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; position: relative; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; border-radius: 12px; font-weight: 700; text-decoration: none; transition: top 160ms var(--ease-out); }
.skip:focus { top: 1rem; }

/* ---------- Yazı ---------- */
.h2, .hero__title, .h3 { font-family: var(--head); font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; text-wrap: balance; }
.h2, .hero__title { color: var(--white); --o: 0.045em; text-shadow: var(--outline); }
.h2 { font-size: clamp(1.875rem, 1.1rem + 3.5vw, 3.5rem); line-height: 1.06; max-width: 20ch; padding-top: 0.1em; }
.h2--center { margin-inline: auto; text-align: center; max-width: 22ch; }
.h3 { font-size: clamp(1.3125rem, 1.05rem + 1.1vw, 1.75rem); line-height: 1.1; color: var(--gold); margin: clamp(3rem, 6vw, 4.5rem) 0 1.25rem; --o: 0.045em; text-shadow: var(--outline); }
.h3--center { text-align: center; }
.h3--foe { color: #ff8c74; }
.lead { font-size: clamp(1.0625rem, 0.98rem + 0.5vw, 1.3125rem); line-height: 1.55; max-width: 34em; margin-top: 1.1rem; color: var(--white); text-shadow: 0 1px 2px rgba(7, 12, 58, 0.7); text-wrap: pretty; }
.lead--center { margin-inline: auto; text-align: center; }
.note { margin-top: 1.25rem; color: var(--muted); font-size: 0.9875rem; max-width: 40em; text-wrap: pretty; }
.note--center { margin-inline: auto; text-align: center; }
.note--foe { margin-top: 0; }

/* Başlık harfleri span içinde durur (build.mjs → bounce) ki giriş başlığı harf harf yerine otursun; oynaklık yazı tipinin kendi çiziminden gelir. */
.bz__w { display: inline-block; white-space: nowrap; }
.bz i { display: inline-block; font-style: normal; }
.h2, .hero__title { line-height: 1.12; }

/* ---------- Düğmeler (kil yüz + 3B taban) ---------- */
.btn { --face: var(--blue); --hi: var(--blue-hi); --base: var(--blue-lo); --txt: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.25rem; padding: 0.35rem 1.5rem 0.45rem;
  font-family: var(--display); font-weight: 900; font-size: 1.1875rem; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; color: var(--txt);
  background: linear-gradient(var(--hi), var(--face) 46%); border: var(--line) solid var(--ink); border-radius: 16px;
  box-shadow: 0 5px 0 var(--base), 0 5px 0 var(--line) var(--ink), 0 12px 18px rgba(5, 8, 30, 0.35);
  --o: 0.045em; text-shadow: var(--outline);
  transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), filter 160ms ease; user-select: none; white-space: nowrap; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--base), 0 1px 0 var(--line) var(--ink), 0 4px 8px rgba(5, 8, 30, 0.35); }
.btn--play { --face: var(--green); --hi: var(--green-hi); --base: var(--green-lo); }
.btn--ghost { --face: rgba(12, 23, 102, 0.55); --hi: rgba(46, 85, 230, 0.55); --base: rgba(7, 12, 58, 0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--sm { min-height: 2.5rem; padding-inline: 1rem; font-size: 1rem; border-radius: 13px; box-shadow: 0 4px 0 var(--base), 0 4px 0 var(--line) var(--ink); }
.btn--sm:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--base), 0 1px 0 var(--line) var(--ink); }
.btn--lg { min-height: 3.75rem; padding-inline: 2rem; font-size: 1.375rem; border-radius: 18px; }
@media (hover: hover) and (pointer: fine) { .btn:hover { filter: brightness(1.08); transform: translateY(-1px); } .btn:active { transform: translateY(4px); } }

.round { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: linear-gradient(var(--panel-hi), var(--panel) 50%); border: var(--line) solid var(--ink); box-shadow: 0 4px 0 var(--panel-lo), 0 4px 0 var(--line) var(--ink); transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), opacity 200ms ease; }
.round:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--panel-lo), 0 1px 0 var(--line) var(--ink); }
.round:disabled { opacity: 0.4; cursor: default; }

/* ---------- Üst çubuk ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 0.625rem var(--gutter) 0; pointer-events: none; }
.nav__bar { pointer-events: auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 3.5rem; width: min(100%, var(--max) + 3rem); margin-inline: auto; padding-inline: 0.75rem; border-radius: 20px; border: var(--line) solid transparent; transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease; }
.nav.is-stuck .nav__bar, .doc .nav__bar { background: rgba(12, 23, 102, 0.92); border-color: var(--ink); box-shadow: 0 4px 0 var(--navy-900), 0 14px 26px rgba(5, 8, 30, 0.4); }
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 2.25rem; width: auto; filter: drop-shadow(0 2px 0 rgba(7, 12, 58, 0.6)); }
.nav__links { display: none; }
.nav__links a, .sheet__links a { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; }
.nav__links a { position: relative; font-size: 0.9375rem; padding: 0.5rem 0.2rem; color: var(--white); text-shadow: 0 1px 2px rgba(7, 12, 58, 0.8); }
.nav__links a::after { content: ""; position: absolute; left: 0.2rem; right: 0.2rem; bottom: 0.2rem; height: 3px; border-radius: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: scaleX(1); } }
.nav__end { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.nav__lang { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 2.75rem; padding-inline: 0.5rem; font-family: var(--label); font-weight: 700; font-size: 0.9375rem; text-decoration: none; letter-spacing: 0.04em; }
.nav__lang svg { width: 1.2rem; height: 1.2rem; }
.nav__menu { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 12px; }
@media (min-width: 62rem) {
  .nav__bar { justify-content: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
  .nav__links { display: flex; gap: clamp(0.9rem, 2vw, 1.75rem); flex: 1; }
  .nav__links--l { justify-content: flex-end; }
  .nav__logo img { height: 2.5rem; }
  .nav__end { position: absolute; right: 0.75rem; margin: 0; }
  .nav__menu { display: none; }
  .nav__links--r { padding-right: 9.5rem; }
  .nav__links--l { padding-left: 9.5rem; }
}
@media (max-width: 61.99rem) { .nav__bar { padding-inline: 0.5rem 0.25rem; gap: 0.5rem; } .nav__logo img { height: 2rem; } .nav__end { gap: 0.25rem; } }
@media (max-width: 30rem) { .nav__lang { display: none; } }
@media (max-width: 20rem) { .nav__get { display: none; } }

.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(7, 12, 58, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity 200ms ease; }
.sheet.is-open { opacity: 1; }
.sheet__panel { position: absolute; inset: 0.625rem 0.625rem auto; padding: 4.25rem 1.5rem 1.5rem; background: var(--navy-800); border: var(--line) solid var(--ink); border-radius: 24px; box-shadow: 0 5px 0 var(--navy-900), 0 24px 40px rgba(5, 8, 30, 0.5); transform: translateY(-12px) scale(0.98); transform-origin: top right; transition: transform 260ms var(--ease-out); display: grid; gap: 1.25rem; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__close { position: absolute; top: 0.75rem; right: 0.75rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 12px; }
.sheet__links { display: grid; }
.sheet__links a { font-size: 1.25rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(201, 222, 255, 0.16); }
.sheet__links a:last-child { border: 0; color: var(--muted); }

/* ---------- Sahne (bölüm) ---------- */
.stage { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(4.5rem, 3rem + 7vw, 8.5rem); }
.stage__bg { position: absolute; inset: -9% 0; z-index: -2; will-change: transform; }
.stage__bg img { width: 100%; height: 100%; object-fit: cover; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--veil, none); pointer-events: none; }

/* Kale suru ayırıcı: bölümler arasında mazgallı taş şerit */
.wall { position: relative; z-index: 3; height: 2.75rem; margin-block: -1.375rem; background: linear-gradient(#2a3fae, #1b2c8c 45%, #121f6e);
  -webkit-mask: linear-gradient(#000 0 0) bottom / 100% 58% no-repeat, repeating-linear-gradient(90deg, #000 0 1.75rem, transparent 1.75rem 3rem) top / 100% 46% no-repeat;
  mask: linear-gradient(#000 0 0) bottom / 100% 58% no-repeat, repeating-linear-gradient(90deg, #000 0 1.75rem, transparent 1.75rem 3rem) top / 100% 46% no-repeat;
  filter: drop-shadow(0 6px 10px rgba(5, 8, 30, 0.5)); }
.wall::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: rgba(7, 12, 58, 0.45); }

/* ---------- Görünme hareketleri (yalnız JS açıkken gizlenir) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out), filter 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal="pop"] { transform: translateY(1rem) scale(0.95); filter: blur(6px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Giriş ---------- */
.hero { min-height: 100svh; padding-block: calc(var(--nav-h) + 0.5rem) 5.75rem; display: grid; align-items: start; --veil: radial-gradient(120% 90% at 50% 38%, transparent 40%, rgba(7, 12, 58, 0.55) 100%), linear-gradient(rgba(10, 30, 130, 0.42), rgba(10, 30, 130, 0.08) 30%, rgba(7, 12, 58, 0) 60%, rgba(7, 12, 58, 0.94) 100%); }
.hero__inner { text-align: center; padding-top: clamp(0.25rem, 3svh, 2.5rem); z-index: 2; }
.hero__inner::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 8%; width: min(125%, 60rem); height: 112%; translate: -50% 0; background: radial-gradient(closest-side, rgba(10, 30, 130, 0.66), rgba(10, 30, 130, 0.36) 55%, transparent); pointer-events: none; }
.hero__logo { width: fit-content; margin-inline: auto; position: relative; }
.hero__logo::before { content: ""; position: absolute; inset: -18% -30%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), rgba(94, 198, 255, 0.28) 45%, transparent 72%); animation: glow 5s ease-in-out infinite; }
@keyframes glow { 50% { opacity: 0.6; transform: scale(1.08); } }
.hero__logo img { height: clamp(8.5rem, 24svh, 15.5rem); width: auto; filter: drop-shadow(0 0.5rem 0 rgba(7, 12, 58, 0.55)) drop-shadow(0 1.4rem 1.6rem rgba(5, 8, 30, 0.5)); animation: bob 6s ease-in-out infinite; }
.hero__title { font-size: clamp(2rem, 0.9rem + 5.2vw, 4.5rem); margin-top: clamp(0.5rem, 2svh, 1.25rem); --o: 0.05em; }
.hero__line { display: block; transform: rotate(-2deg); }
.hero__line + .hero__line { margin-top: 0.06em; }
.hero__line + .hero__line { color: var(--gold-hi); }
.hero__sub { max-width: 31em; margin: 1rem auto 0; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem); line-height: 1.5; font-weight: 700; text-shadow: 0 1px 0 rgba(7, 12, 58, 0.55), 0 2px 10px rgba(7, 12, 58, 0.65); text-wrap: balance; }
.hero__cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; justify-content: center; }
.hero__note { width: fit-content; margin: 1.25rem auto 0; padding: 0.4rem 1rem 0.45rem; border-radius: 999px; background: rgba(7, 12, 58, 0.72); border: 1.5px solid rgba(255, 239, 106, 0.55); font-family: var(--label); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold-hi); }
.hero__scroll { position: absolute; left: 50%; bottom: 2.4rem; translate: -50% 0; z-index: 2; display: grid; justify-items: center; gap: 0.15rem; font-family: var(--label); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; color: var(--white); padding: 0.4rem 0.8rem; }
.hero__scroll svg { animation: nudge 2.2s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }
@media (max-height: 43rem), (max-width: 30rem) { .hero__scroll { display: none; } }
@media (max-width: 30rem) { .hero { padding-bottom: 3.5rem; } }
/* Işık huzmeleri ve bulutlar */
.hero__rays { position: absolute; inset: -20% -10% 0; z-index: -1; pointer-events: none; mix-blend-mode: soft-light; background: repeating-conic-gradient(from 196deg at 50% -8%, rgba(255, 255, 255, 0.55) 0 3.5deg, transparent 3.5deg 9deg, rgba(255, 255, 255, 0.3) 9deg 11deg, transparent 11deg 18deg); -webkit-mask: radial-gradient(75% 85% at 50% 0%, #000 12%, transparent 78%); mask: radial-gradient(75% 85% at 50% 0%, #000 12%, transparent 78%); transform-origin: 50% 0; animation: sway 16s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-3.5deg); } to { transform: rotate(3.5deg); } }
.hero__clouds, .hero__sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; will-change: transform; }
.hero__clouds { z-index: -1; }
.hero__sky { z-index: 1; }
.hero__cloud { position: absolute; width: clamp(11rem, 26vw, 24rem); height: auto; opacity: 0.92; filter: drop-shadow(0 1rem 1.4rem rgba(10, 30, 130, 0.35)); animation: cloud 70s linear infinite; }
.hero__cloud--1 { top: 9%; left: -6%; }
.hero__cloud--2 { top: 21%; right: -8%; width: clamp(9rem, 20vw, 18rem); animation-duration: 90s; animation-direction: reverse; }
.hero__cloud--3 { top: 3%; right: 22%; width: clamp(7rem, 14vw, 13rem); opacity: 0.75; animation-duration: 110s; }
@keyframes cloud { 50% { transform: translateX(7vw); } }
/* Harfler tek tek yerine oturur; logo üst çubuğa "yerleşir" */
.js .hero__title .bz i { animation: letter 760ms var(--spring) both; animation-delay: calc(120ms + var(--n) * 26ms); }
@keyframes letter { from { opacity: 0; transform: translateY(0.55em) rotate(0deg) scale(0.55); } }
.js .hero__logo { animation: drop 900ms var(--spring) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-1.5rem) scale(0.86); filter: blur(8px); } }
.js .hero__sub, .js .hero__cta, .js .hero__note { animation: rise 900ms var(--ease-out) both; animation-delay: 620ms; }
.js .hero__cta { animation-delay: 720ms; }
.js .hero__note { animation-delay: 820ms; }
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); filter: blur(8px); } }
.home .nav__logo { transition: opacity 260ms ease, transform 420ms var(--spring); }
.home .nav:not(.is-stuck) .nav__logo { opacity: 0; transform: translateY(0.6rem) scale(0.7); pointer-events: none; }

/* Parlak sıvı top */
.ball { --c: #1f8bff; --c-hi: #8fd4ff; --c-lo: #0a3cb5; position: absolute; border-radius: 50%; aspect-ratio: 1;
  background: radial-gradient(circle at 33% 27%, rgba(255, 255, 255, 0.95) 0 7%, rgba(255, 255, 255, 0) 9%), radial-gradient(circle at 36% 30%, var(--c-hi) 0, var(--c) 46%, var(--c-lo) 100%);
  box-shadow: inset 0 -0.14em 0.22em rgba(5, 8, 30, 0.28), inset 0 0.06em 0.1em rgba(255, 255, 255, 0.35), 0 0 0 max(1.5px, 0.03em) var(--ink), 0 0.25em 0.4em rgba(5, 8, 30, 0.3); }
.ball--b { --c: #1f8bff; --c-hi: #9bd9ff; --c-lo: #0a3cb5; }
.ball--k { --c: #ff5fa8; --c-hi: #ffc0dd; --c-lo: #b3185e; }
.ball--t { --c: #20cfc4; --c-hi: #a4f6ee; --c-lo: #087a80; }
.ball--p { --c: #a94bff; --c-hi: #e0b4ff; --c-lo: #5a12b8; }
.ball--r { --c: #ff3341; --c-hi: #ff9c8a; --c-lo: #9a0a1c; }
.ball--y { --c: #ffc814; --c-hi: #fff08a; --c-lo: #b45a00; }
.ball--g { --c: #3fd62a; --c-hi: #b6ff7a; --c-lo: #14700a; }
.hero__sky .ball.is-near { filter: blur(3px); }
.hero__sky .ball { font-size: var(--s); width: 1em; left: var(--x); top: 100%; opacity: var(--o, 0.9); animation: drift var(--d) linear var(--t) infinite; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(var(--dx), calc(-100svh - 20em), 0); } }

/* ---------- Nasıl oynanır ---------- */
.play { --veil: linear-gradient(rgba(7, 12, 58, 0.86), rgba(12, 23, 102, 0.72) 40%, rgba(7, 12, 58, 0.9)); }
.play__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 60rem) { .play__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); } }
.rules { margin-top: 2.25rem; display: grid; gap: 1.5rem; counter-reset: rule; }
.rules li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.rules h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.3125rem; letter-spacing: 0.02em; line-height: 1.15; color: var(--gold-hi); }
.rules p { margin-top: 0.3rem; color: var(--muted); max-width: 34em; }
.rules__ball { position: relative; width: 2.75rem; font-size: 2.75rem; border-radius: 50%; aspect-ratio: 1; }
.rules__ball::before { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.rules__ball--0::before, .rules__ball--1::before, .rules__ball--2::before { background: radial-gradient(circle at 33% 27%, rgba(255, 255, 255, 0.95) 0 7%, transparent 9%), radial-gradient(circle at 36% 30%, var(--c-hi) 0, var(--c) 46%, var(--c-lo) 100%); box-shadow: inset 0 -0.14em 0.22em rgba(5, 8, 30, 0.28), 0 0 0 2px var(--ink), 0 0.2em 0.3em rgba(5, 8, 30, 0.35); }
.rules__ball--0 { --c: #1f8bff; --c-hi: #9bd9ff; --c-lo: #0a3cb5; }
.rules__ball--1 { --c: #ff5fa8; --c-hi: #ffc0dd; --c-lo: #b3185e; }
.rules__ball--2 { --c: #20cfc4; --c-hi: #a4f6ee; --c-lo: #087a80; }

.demo { display: grid; justify-items: center; gap: 0.9rem; }
.demo__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100%, 22rem); }
.demo__head h3 { font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: 1.375rem; letter-spacing: 0.02em; line-height: 1; color: var(--gold-hi); --o: 0.045em; text-shadow: var(--outline); }
.demo__again { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; padding-inline: 0.8rem; border-radius: 12px; font-family: var(--label); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); background: var(--well); border: var(--line) solid var(--ink); transition: transform 140ms var(--ease-out); }
.demo__again svg { width: 1.05rem; height: 1.05rem; }
.demo__again:active { transform: scale(0.96); }
/* Telefon: içinde oyunun gerçek bölüm ekranı (site/tools/demo-art.py) */
.phone { width: min(100%, 22rem, max(16rem, (100svh - 12rem) * 0.46)); padding: 0.55rem; border-radius: 2.9rem; background: linear-gradient(145deg, #2b3170, #0b0d1f 38%, #0b0d1f 70%, #1b2054); box-shadow: 0 0 0 var(--line) var(--ink), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), 0 10px 0 rgba(7, 12, 58, 0.9), 0 40px 60px rgba(5, 8, 30, 0.55); }
.screen { position: relative; aspect-ratio: 390 / 844; border-radius: 2.4rem; overflow: hidden; container-type: inline-size; background: #2b241f; user-select: none; -webkit-user-select: none; }
.screen__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen__num { position: absolute; translate: -50% -50%; font-family: var(--display); font-weight: 900; font-style: normal; line-height: 1; color: var(--white); transform: skewX(-7deg); font-variant-numeric: tabular-nums; --o: 0.055em; text-shadow: var(--outline); white-space: nowrap; }
.screen__num--side { font-size: 4.9cqw; }
.screen__num--target { font-size: 16.4cqw; --o: 0.04em; }
.screen__num--turn { font-size: 3.7cqw; --o: 0; text-shadow: none; }
.screen__num.is-bump { animation: bump 380ms var(--spring); }
@keyframes bump { 40% { scale: 1.28; } }
.screen__next { position: absolute; translate: -50% -50%; height: auto; }
.screen__board { position: absolute; --n: 7; touch-action: manipulation; }
.demo__cell { position: absolute; width: calc(100% / var(--n)); height: calc(100% / var(--n)); padding: 0; border-radius: 22%; }
.demo__cell.is-goal::before { content: ""; position: absolute; inset: 9%; border-radius: 22%; background: rgba(255, 224, 58, 0.3); box-shadow: inset 0 0 0 2px var(--focus); animation: goal 1.4s ease-in-out infinite; }
@keyframes goal { 50% { background: rgba(255, 224, 58, 0.1); } }
.demo__cell:focus-visible { outline-offset: -3px; z-index: 3; }
.demo__ball { position: absolute; left: 0; top: 0; width: calc(100% / var(--n)); height: calc(100% / var(--n)); display: grid; place-items: center; pointer-events: none; transition: transform 90ms linear; z-index: 2; }
.demo__ball img { width: var(--ball); height: auto; }
.demo__ball.is-picked img { animation: hop 620ms var(--ease-in-out) infinite; }
.demo__ball.is-hint img { animation: hint 1.5s ease-in-out infinite; }
.demo__ball.is-new img { animation: land 420ms var(--spring) both; }
.demo__ball.is-gone img { animation: pop 300ms var(--ease-out) forwards; }
@keyframes hop { 50% { transform: translateY(-13%) scale(1.05, 0.96); } }
@keyframes hint { 50% { filter: drop-shadow(0 0 0.35rem #ffe03a) drop-shadow(0 0 0.15rem #ffe03a); transform: scale(1.07); } }
@keyframes land { from { transform: scale(0.5); opacity: 0; } }
@keyframes pop { 40% { transform: scale(1.2); opacity: 1; } to { transform: scale(0.4); opacity: 0; filter: blur(3px); } }
.demo__msg { min-height: 2.8em; width: min(100%, 22rem); text-align: center; font-size: 0.9875rem; line-height: 1.4; color: var(--white); text-wrap: balance; text-shadow: 0 1px 2px rgba(7, 12, 58, 0.7); }

/* ---------- Rakipler ---------- */
.rivals { background: radial-gradient(120% 80% at 50% 0%, #b3152a 0%, #7c0f24 42%, #3a0b2a 100%); }
.rivals__ground { position: absolute; inset: 0; z-index: -1; background: repeating-conic-gradient(from 0deg at 50% -10%, rgba(255, 255, 255, 0.05) 0 5deg, transparent 5deg 10deg); -webkit-mask: linear-gradient(#000, transparent 75%); mask: linear-gradient(#000, transparent 75%); }
.march { margin-block: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.5rem); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.march__track { display: flex; width: max-content; gap: clamp(0.25rem, 1.5vw, 1.25rem); animation: march 70s linear infinite; }
.march__track img { height: clamp(7.5rem, 5rem + 9vw, 12.5rem); width: auto; filter: drop-shadow(0 10px 8px rgba(30, 4, 14, 0.5)); }
.march__track img:nth-child(odd) { margin-top: 1.25rem; }
@keyframes march { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .march:hover .march__track { animation-play-state: paused; } }

.points { display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 40rem) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .points--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.points li { padding: 1.25rem 1.25rem 1.4rem; border-radius: 20px; border: var(--line) solid var(--ink); background: rgba(40, 6, 22, 0.55); box-shadow: 0 5px 0 rgba(30, 4, 14, 0.8); }
.points h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.25rem; line-height: 1.12; letter-spacing: 0.02em; color: var(--gold-hi); }
.points p { margin-top: 0.5rem; font-size: 0.9875rem; color: #ffd9d4; }
.vault .points li { background: var(--panel); box-shadow: 0 5px 0 var(--panel-lo), 0 5px 0 var(--line) var(--ink); background-image: linear-gradient(var(--panel-hi), var(--panel) 22%); }
.vault .points p { color: var(--muted); }
.points--cream li { background: var(--cream); box-shadow: 0 5px 0 var(--cream-lo), 0 5px 0 var(--line) var(--ink), 0 18px 28px rgba(5, 8, 30, 0.35); }
.points--cream h3 { color: var(--head-on-cream); }
.points--cream p { color: var(--on-cream); }

/* ---------- Krallıklar ---------- */
.realms { --veil: linear-gradient(rgba(7, 12, 58, 0.88), rgba(10, 19, 82, 0.6) 45%, rgba(7, 12, 58, 0.92)); }
.rail { margin-top: clamp(2rem, 4vw, 3rem); }
.rail__track { display: flex; gap: clamp(1rem, 2.5vw, 2rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), (100vw - var(--max)) / 2); padding: 1rem max(var(--gutter), (100vw - var(--max)) / 2) 1.75rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: -3px; }
.isle { flex: 0 0 min(82vw, 21.5rem); scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; }
.isle__art { position: relative; height: 15rem; margin-bottom: -3.25rem; z-index: 1; pointer-events: none; }
.isle__land { position: absolute; left: 4%; bottom: 0; height: 100%; width: auto; filter: drop-shadow(0 16px 14px rgba(5, 8, 30, 0.55)); animation: bob 7s ease-in-out calc(var(--i) * -1.1s) infinite; }
.isle__ruler { position: absolute; right: 0; bottom: 1.25rem; height: 62%; width: auto; filter: drop-shadow(0 8px 8px rgba(5, 8, 30, 0.55)); animation: bob 5.5s ease-in-out calc(var(--i) * -0.7s - 1s) infinite; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.isle__card { position: relative; padding: 4.25rem 1.35rem 1.4rem; border-radius: 24px; background: var(--cream); color: var(--on-cream); border: var(--line) solid var(--ink); box-shadow: 0 6px 0 var(--cream-lo), 0 6px 0 var(--line) var(--ink), 0 22px 30px rgba(5, 8, 30, 0.4); }
.isle__no { position: absolute; top: 3.35rem; right: 1.1rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(var(--gold-hi), var(--gold) 55%); border: var(--line) solid var(--ink); font-family: var(--display); font-weight: 900; font-size: 1.125rem; color: var(--ink); box-shadow: 0 3px 0 var(--gold-lo); }
.isle__card h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.625rem; line-height: 1.05; letter-spacing: 0.015em; color: var(--head-on-cream); padding-right: 2.75rem; }
.isle__sub { font-weight: 700; color: #6a4a12; margin-top: 0.15rem; }
.isle__card p + p { margin-top: 0.7rem; }
.isle__card p { font-size: 0.9875rem; line-height: 1.5; }
.isle__ruler-name { padding-top: 0.7rem; border-top: 2px dashed rgba(42, 33, 66, 0.22); font-weight: 700; color: #a3101f; }
.isle__ruler-name span { display: block; font-family: var(--label); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: #6b5f80; }
.rail__ctl { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 0.25rem; }
.rail__dots { display: flex; gap: 0.5rem; }
.rail__dots i { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: rgba(201, 222, 255, 0.35); transition: background-color 200ms ease, transform 260ms var(--ease-out); }
.rail__dots i.is-on { background: var(--gold); transform: scale(1.35); }

/* ---------- Kahramanlar ---------- */
.cast { background: var(--sky); }
.cast__rays, .get__rays, .foot__rays { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cast__rays { background: radial-gradient(60% 55% at 72% 34%, rgba(94, 198, 255, 0.5), transparent 70%), repeating-conic-gradient(from 4deg at 72% 34%, #1c62f0 0 7deg, #2470f6 7deg 14deg); }
.cast__rays::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(7, 12, 58, 0.25), transparent 30%, transparent 55%, rgba(7, 12, 58, 0.82)); }
.cast__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .cast__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.cast__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; margin-top: 2rem; max-width: 27rem; }
.cast__tabs button { display: grid; justify-items: center; gap: 0.3rem; padding: 0.5rem 0.25rem 0.55rem; border-radius: 18px; border: var(--line) solid var(--ink); background: linear-gradient(var(--panel-hi), var(--panel) 40%); box-shadow: 0 4px 0 var(--panel-lo), 0 4px 0 var(--line) var(--ink); font-family: var(--label); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.04em; transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 200ms ease; }
.cast__tabs img { width: 3.5rem; height: 3.5rem; object-fit: contain; transition: transform 300ms var(--spring); }
.cast__tabs button[aria-selected="true"] { background: linear-gradient(var(--gold-hi), var(--gold) 50%); color: var(--ink); box-shadow: 0 4px 0 var(--gold-lo), 0 4px 0 var(--line) var(--ink); }
.cast__tabs button[aria-selected="true"] img { transform: scale(1.14) translateY(-3px); }
.cast__tabs button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--panel-lo), 0 1px 0 var(--line) var(--ink); }
.cast__panels { margin-top: 1.4rem; min-height: 6.5rem; max-width: 30em; }
.cast__role { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.375rem; letter-spacing: 0.02em; color: var(--gold-hi); line-height: 1.1; margin-bottom: 0.25rem; --o: 0.045em; text-shadow: var(--outline); }
.cast__panels p + p { font-size: 1.125rem; }
.js .cast__panels [role="tabpanel"]:not([hidden]) { animation: swap 380ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.cast__stage { position: relative; height: clamp(19rem, 14rem + 22vw, 31rem); order: -1; }
@media (min-width: 56rem) { .cast__stage { order: 0; } }
.cast__plinth { position: absolute; left: 50%; bottom: 3%; width: min(72%, 21rem); aspect-ratio: 4 / 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(#0a3cb5, #0c1766 70%); box-shadow: 0 0 0 var(--line) var(--ink), 0 10px 0 #070c3a, 0 10px 0 var(--line) var(--ink), 0 28px 30px rgba(5, 8, 30, 0.5); }
.cast__hero { position: absolute; left: 50%; bottom: 7%; height: 94%; width: auto; max-width: none; translate: -50% 0; opacity: 0; transform: translateY(14px) scale(0.96); filter: blur(8px); transition: opacity 320ms ease, transform 520ms var(--ease-out), filter 320ms ease; }
.cast__hero.is-on { opacity: 1; transform: none; filter: drop-shadow(0 14px 10px rgba(5, 8, 30, 0.4)); }
.pals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.25rem 0.875rem; margin-top: 3.5rem; }
@media (min-width: 52rem) { .pals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.pal { position: relative; padding: 3.6rem 1rem 1.15rem; text-align: center; border-radius: 22px; background: var(--cream); color: var(--on-cream); border: var(--line) solid var(--ink); box-shadow: 0 5px 0 var(--cream-lo), 0 5px 0 var(--line) var(--ink), 0 18px 26px rgba(5, 8, 30, 0.35); }
.pal__art { position: absolute; left: 50%; top: -3rem; width: 6.25rem; height: 6.25rem; translate: -50% 0; }
.pal__art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 5px rgba(5, 8, 30, 0.35)); transition: transform 420ms var(--spring); }
@media (hover: hover) and (pointer: fine) { .pal:hover .pal__art img { transform: translateY(-7px) rotate(-4deg) scale(1.06); } }
.pal h4 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.3125rem; line-height: 1.1; color: var(--head-on-cream); letter-spacing: 0.015em; }
.pal h4 span { display: block; font-family: var(--label); font-size: 0.75rem; letter-spacing: 0.07em; color: #6b5f80; margin-top: 0.15rem; }
.pal p { margin-top: 0.45rem; font-size: 0.9375rem; line-height: 1.4; }
.sage { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: center; margin-top: 2.5rem; max-width: 40rem; }
.sage img { width: 5.5rem; height: 6.5rem; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(5, 8, 30, 0.4)); }
.sage p { position: relative; padding: 0.9rem 1.1rem; border-radius: 18px; background: var(--white); color: var(--on-cream); border: var(--line) solid var(--ink); box-shadow: 0 4px 0 #c9d3ee, 0 4px 0 var(--line) var(--ink); font-size: 0.9875rem; }
.sage p::before { content: ""; position: absolute; left: -0.55rem; top: 50%; width: 1rem; height: 1rem; background: var(--white); border-left: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink); transform: translateY(-50%) rotate(45deg); }

/* ---------- Özel toplar ve güçlendiriciler ---------- */
.kit { --veil: linear-gradient(rgba(7, 12, 58, 0.9), rgba(10, 19, 82, 0.84) 50%, rgba(7, 12, 58, 0.94)); }
.kit__grid { display: grid; gap: 0 clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 56rem) { .kit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kit .h3 { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.orbs { display: grid; gap: 1.2rem; }
.orbs li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; align-items: start; }
.orbs h4 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.25rem; line-height: 1.15; letter-spacing: 0.02em; }
.orbs p { color: var(--muted); font-size: 0.9875rem; margin-top: 0.15rem; }
.orbs__from { font-family: var(--label); font-weight: 700; font-size: 0.75rem !important; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold) !important; margin-top: 0.35rem !important; }
.orb, .tile { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; color: var(--white); }
.orb { --c: #1f8bff; --c-hi: #9bd9ff; --c-lo: #0a3cb5; border-radius: 50%; background: radial-gradient(circle at 33% 25%, rgba(255, 255, 255, 0.9) 0 6%, transparent 8%), radial-gradient(circle at 36% 30%, var(--c-hi) 0, var(--c) 46%, var(--c-lo) 100%); box-shadow: inset 0 -5px 8px rgba(5, 8, 30, 0.28), 0 0 0 var(--line) var(--ink), 0 5px 8px rgba(5, 8, 30, 0.4); }
.orb svg, .tile svg { width: 1.75rem; height: 1.75rem; filter: drop-shadow(0 1.5px 0 rgba(5, 8, 30, 0.55)); }
.orb--bomb { --c: #3a3f5c; --c-hi: #8a90b4; --c-lo: #14172b; }
.orb--arrow { --c: #1f8bff; --c-hi: #9bd9ff; --c-lo: #0a3cb5; }
.orb--rainbow { background: radial-gradient(circle at 33% 25%, rgba(255, 255, 255, 0.9) 0 6%, transparent 8%), conic-gradient(from 20deg, #ff3341, #ffc814, #3fd62a, #20cfc4, #1f8bff, #a94bff, #ff5fa8, #ff3341); }
.orb--gold { --c: #ffc814; --c-hi: #fff08a; --c-lo: #b45a00; color: #6a3500; }
.orb--gold svg { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6)); }
.orb--heart { --c: #ff5fa8; --c-hi: #ffc0dd; --c-lo: #b3185e; }
.orb--star { --c: #a94bff; --c-hi: #e0b4ff; --c-lo: #5a12b8; color: var(--gold-hi); }
.tile { border-radius: 16px; background: linear-gradient(var(--blue-hi), var(--blue) 45%); border: var(--line) solid var(--ink); box-shadow: 0 4px 0 var(--blue-lo), 0 4px 0 var(--line) var(--ink), 0 9px 10px rgba(5, 8, 30, 0.35); }
.tile--hammer { background: linear-gradient(#ffb27a, #ff7a1f 45%); box-shadow: 0 4px 0 #a33d00, 0 4px 0 var(--line) var(--ink); }
.tile--oracle { background: linear-gradient(#e08eff, #a940ff 45%); box-shadow: 0 4px 0 #4d0da3, 0 4px 0 var(--line) var(--ink); }
.tile--undo { background: linear-gradient(#9af0e6, #20cfc4 45%); box-shadow: 0 4px 0 #087a80, 0 4px 0 var(--line) var(--ink); }

/* ---------- Kale ---------- */
.realm { --veil: linear-gradient(rgba(7, 12, 58, 0.82), rgba(12, 40, 110, 0.5) 30%, rgba(7, 12, 58, 0.78) 62%, rgba(7, 12, 58, 0.95)); }
.realm__grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56rem) { .realm__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; } }
.realm__isle { position: relative; height: clamp(17rem, 12rem + 22vw, 29rem); animation: bob 7s ease-in-out infinite; }
.realm__isle img { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: none; left: 50%; translate: -50% 0; opacity: 0; transform: scale(0.9); filter: blur(10px); transition: opacity 360ms ease, transform 640ms var(--spring), filter 360ms ease; }
.realm__isle img.is-on { opacity: 1; transform: none; filter: drop-shadow(0 26px 22px rgba(5, 8, 30, 0.5)); }
.grow { margin-top: 2rem; max-width: 31rem; }
.grow__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; }
.grow__steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 1.3rem; height: 6px; border-radius: 6px; background: var(--well); box-shadow: 0 0 0 var(--line) var(--ink); }
.grow__steps button { position: relative; display: grid; justify-items: center; gap: 0.45rem; padding: 0 0.1rem 0.4rem; font-family: var(--label); font-weight: 700; font-size: 0.8125rem; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.04em; text-shadow: 0 1px 2px rgba(7, 12, 58, 0.8); }
.grow__steps i { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-family: var(--display); font-weight: 900; font-size: 1.25rem; background: linear-gradient(var(--panel-hi), var(--panel) 50%); border: var(--line) solid var(--ink); box-shadow: 0 4px 0 var(--panel-lo), 0 4px 0 var(--line) var(--ink); transition: transform 300ms var(--spring), background-color 200ms ease; }
.grow__steps button[aria-checked="true"] i { background: linear-gradient(var(--gold-hi), var(--gold) 55%); color: var(--ink); box-shadow: 0 4px 0 var(--gold-lo), 0 4px 0 var(--line) var(--ink); transform: scale(1.14); }
.grow__steps button:active i { transform: translateY(3px); }
.grow__text { margin-top: 1rem; min-height: 3.4em; font-size: 1.0625rem; text-shadow: 0 1px 2px rgba(7, 12, 58, 0.7); }
.grow__text b { color: var(--gold-hi); }
.works { display: grid; gap: 1.1rem; margin-top: 0.5rem; }
@media (min-width: 44rem) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .works { grid-template-columns: repeat(6, minmax(0, 1fr)); } .work { grid-column: span 2; } .work:first-child { grid-column: 1 / -1; grid-template-columns: 9rem 1fr; padding-block: 1.1rem 1.25rem; } .work:first-child .work__art img { width: 9rem; height: 9.5rem; } .work:first-child h4 { font-size: 1.625rem; } .work:first-child p { font-size: 1.0625rem; max-width: 36em; } }
.work { display: grid; grid-template-columns: 6rem 1fr; gap: 0.75rem; align-items: center; padding: 0.9rem 1.1rem 1rem 0.5rem; border-radius: 22px; border: var(--line) solid var(--ink); background: linear-gradient(var(--panel-hi), var(--panel) 18%); box-shadow: 0 5px 0 var(--panel-lo), 0 5px 0 var(--line) var(--ink), 0 18px 26px rgba(5, 8, 30, 0.35); }
.work__art img { width: 6rem; height: 6.5rem; object-fit: contain; margin-block: -1.5rem -0.5rem; filter: drop-shadow(0 8px 6px rgba(5, 8, 30, 0.45)); transition: transform 420ms var(--spring); }
@media (hover: hover) and (pointer: fine) { .work:hover .work__art img { transform: translateY(-6px) scale(1.06); } }
.work h4 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; letter-spacing: 0.02em; }
.work p { font-size: 0.9375rem; line-height: 1.4; color: var(--muted); margin-top: 0.2rem; }
.work__from { font-family: var(--label); font-weight: 700; font-size: 0.75rem !important; text-transform: uppercase; letter-spacing: 0.06em; color: var(--white) !important; margin-top: 0.45rem !important; }
.work__from span { color: var(--gold); }
.ladder { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.ladder .h3 { margin-top: 0; }
.ladder ol { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 0.5rem; }
.ladder li { padding: 0.45rem 0.9rem calc(0.5rem + var(--i) * 0.28rem); border-radius: 12px 12px 6px 6px; border: var(--line) solid var(--ink); background: linear-gradient(var(--panel-hi), var(--panel) 40%); box-shadow: 0 4px 0 var(--panel-lo), 0 4px 0 var(--line) var(--ink); font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9375rem; }
.ladder li:last-child { background: linear-gradient(var(--gold-hi), var(--gold) 50%); color: var(--ink); box-shadow: 0 4px 0 var(--gold-lo), 0 4px 0 var(--line) var(--ink); }
.ladder p { margin-top: 1.1rem; color: var(--muted); }

/* ---------- Hazine ---------- */
.vault { background: radial-gradient(90% 60% at 50% 0%, #17288f 0%, #0c1766 46%, #070c3a 100%); }
.vault__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(34rem 20rem at 50% 24rem, rgba(255, 200, 20, 0.2), transparent 70%); }
.purses { display: grid; gap: 4.75rem 1.25rem; margin-top: clamp(5.5rem, 9vw, 7.5rem); }
@media (min-width: 58rem) { .purses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.purse { position: relative; padding: 4.6rem 1.4rem 1.5rem; border-radius: 26px; background: var(--cream); color: var(--on-cream); border: var(--line) solid var(--ink); box-shadow: 0 6px 0 var(--cream-lo), 0 6px 0 var(--line) var(--ink), 0 26px 36px rgba(5, 8, 30, 0.45); }
.purse__art { position: absolute; left: 50%; top: -4rem; width: 8.5rem; height: 8.5rem; translate: -50% 0; display: grid; place-items: center; animation: bob 6s ease-in-out calc(var(--i) * -1.4s) infinite; }
.purse__art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 8px rgba(5, 8, 30, 0.4)); }
.bigheart { width: 6.5rem; height: 6.5rem; display: grid; place-items: center; color: var(--red); filter: drop-shadow(0 2px 0 var(--ink)) drop-shadow(0 -1px 0 var(--ink)) drop-shadow(2px 0 0 var(--ink)) drop-shadow(-2px 0 0 var(--ink)) drop-shadow(0 10px 8px rgba(5, 8, 30, 0.4)); }
.bigheart svg { width: 100%; height: 100%; }
.purse > h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; letter-spacing: 0.015em; color: var(--head-on-cream); text-align: center; }
.purse__what { text-align: center; font-weight: 700; margin-top: 0.4rem; text-wrap: balance; }
.purse__cols { display: grid; gap: 1.1rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 2px dashed rgba(42, 33, 66, 0.22); }
.purse h4 { font-family: var(--label); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.07em; color: #6a4a12; margin-bottom: 0.4rem; }
.purse li { position: relative; padding-left: 1.2rem; font-size: 0.9875rem; line-height: 1.4; }
.purse li + li { margin-top: 0.3rem; }
.purse li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1.5px var(--ink); }
.purse--gems li::before { background: #22d86e; border-radius: 2px; transform: rotate(45deg); }
.purse--lives li::before { background: var(--red); }
.fair { margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 46rem; padding: 1.2rem 1.4rem; border-radius: 20px; background: var(--well); border: var(--line) solid var(--ink); text-align: center; color: var(--muted); text-wrap: pretty; }

/* ---------- Meydan ---------- */
.arena { --veil: linear-gradient(rgba(7, 12, 58, 0.9), rgba(12, 23, 102, 0.55) 45%, rgba(7, 12, 58, 0.9)); }
.arena__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 62rem) { .arena__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; } }
.arena .points { margin-top: 0; }
.arena .note { color: var(--white); padding: 0.9rem 1.1rem; background: rgba(7, 12, 58, 0.7); border-radius: 16px; border: var(--line) solid var(--ink); }

/* ---------- İndir ---------- */
.get { background: var(--sky); }
.get__rays { background: radial-gradient(50% 60% at 24% 46%, rgba(94, 198, 255, 0.55), transparent 70%), repeating-conic-gradient(from 0deg at 24% 46%, #1c62f0 0 8deg, #2a74f8 8deg 16deg); }
.get__rays::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(7, 12, 58, 0.3), transparent 28%, transparent 70%, rgba(7, 12, 58, 0.6)); }
.get__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .get__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; } }
.get__icon img { width: min(58vw, 17rem); margin-inline: auto; border-radius: 22.5%; border: var(--line) solid var(--ink); box-shadow: 0 8px 0 var(--blue-lo), 0 8px 0 var(--line) var(--ink), 0 36px 50px rgba(5, 8, 30, 0.5); animation: bob 7s ease-in-out infinite; }
.get__stores { margin-top: 1.75rem; }
.get__label { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.875rem; color: var(--gold-hi); margin-bottom: 0.7rem; text-shadow: 0 1px 2px rgba(7, 12, 58, 0.7); }
.get__yours { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.store { display: inline-flex; align-items: center; gap: 0.8rem; min-height: 4.25rem; min-width: 13.5rem; padding: 0.6rem 1.25rem 0.65rem 0.95rem; border-radius: 18px; background: var(--ink); color: var(--white); border: var(--line) solid #fff; text-decoration: none; box-shadow: 0 5px 0 rgba(7, 12, 58, 0.9), 0 16px 22px rgba(5, 8, 30, 0.4); transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out); }
a.store:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(7, 12, 58, 0.9); }
@media (hover: hover) and (pointer: fine) { a.store:hover { transform: translateY(-2px); } }
.store__icon svg { width: 2.1rem; height: 2.1rem; }
.store__text { display: grid; line-height: 1.1; }
.store__top { font-family: var(--label); font-weight: 700; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-hi); }
.store__name { font-family: var(--display); font-weight: 900; font-size: 1.4375rem; letter-spacing: 0.01em; line-height: 1.05; }
.store__dev { font-size: 0.75rem; color: var(--muted); margin-top: 0.1rem; }
.store--soon { border-style: dashed; border-color: rgba(255, 255, 255, 0.7); cursor: default; }
.get__yours.is-single .store { min-width: min(100%, 19rem); min-height: 5rem; }
.get__yours.is-single .store__name { font-size: 1.75rem; }
.get__others { margin-top: 1.6rem; }
.get__others h3 { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.6rem; }
.get__others .store { min-height: 3.5rem; min-width: 0; padding: 0.4rem 1rem 0.45rem 0.75rem; border-radius: 14px; box-shadow: none; background: rgba(11, 13, 31, 0.72); }
.get__others .store__icon svg { width: 1.5rem; height: 1.5rem; }
.get__others .store__name { font-size: 1.125rem; }
.get .note { color: var(--white); }
.get__facts { margin-top: 1.5rem; display: grid; gap: 0.35rem; font-size: 0.9375rem; color: #e3eeff; }
.get__facts li { position: relative; padding-left: 1.3rem; }
.get__facts li::before { content: ""; position: absolute; left: 0.15rem; top: 0.5em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1.5px var(--ink); }

/* ---------- Alt bilgi ---------- */
.foot { position: relative; isolation: isolate; background: var(--navy-900); padding: clamp(3rem, 6vw, 5rem) 0 2rem; border-top: var(--line) solid var(--ink); }
.foot__rays { background: radial-gradient(40rem 22rem at 18% 0%, rgba(31, 60, 196, 0.5), transparent 70%); }
.foot__grid { display: grid; gap: 2.25rem; }
@media (min-width: 48rem) { .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; } }
.foot__logo { width: 9.5rem; }
.foot__tag { margin-top: 0.9rem; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.02em; color: var(--gold-hi); }
.foot__col h2 { font-family: var(--label); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 0.7rem; }
.foot__col li a, .foot__contact a { display: inline-block; padding: 0.3rem 0; text-decoration: none; text-underline-offset: 0.2em; }
.foot__contact a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--gold-hi); text-decoration: underline; } }
.foot__contact { margin-top: 0.9rem; color: var(--muted); font-size: 0.9375rem; }
.foot__base { margin-top: 2.75rem; padding-top: 1.4rem; border-top: 1px solid rgba(201, 222, 255, 0.16); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.875rem; color: var(--muted); }
.foot__langs { display: flex; gap: 1.25rem; }
.foot__langs a { text-decoration: none; padding: 0.3rem 0; }
.foot__langs a[aria-current] { color: var(--white); font-weight: 700; }

.totop { position: fixed; right: max(0.75rem, env(safe-area-inset-right)); bottom: max(0.75rem, env(safe-area-inset-bottom)); z-index: 40; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: linear-gradient(var(--gold-hi), var(--gold) 55%); border: var(--line) solid var(--ink); box-shadow: 0 4px 0 var(--gold-lo), 0 4px 0 var(--line) var(--ink), 0 12px 16px rgba(5, 8, 30, 0.4); opacity: 0; transform: translateY(12px) scale(0.92); pointer-events: none; transition: opacity 220ms ease, transform 300ms var(--ease-out); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:active { transform: translateY(3px); }

/* ---------- Yasal sayfalar ---------- */
.doc { background: radial-gradient(60rem 30rem at 50% -6rem, #1f3cc4, transparent 70%), var(--navy-900); }
.draft { margin: calc(var(--nav-h) + 1rem) auto 0; width: min(100% - 2 * var(--gutter), 48rem); padding: 0.6rem 1rem; border-radius: 12px; background: var(--red); border: var(--line) solid var(--ink); font-weight: 700; text-align: center; }
.doc__main { padding: calc(var(--nav-h) + 2rem) 0 4rem; }
.draft + .doc__main { padding-top: 1.25rem; }
.doc__wrap { width: min(100% - 2 * var(--gutter), 48rem); margin-inline: auto; }
.doc__crumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--label); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 1rem; }
.doc__crumb a { text-decoration: none; padding-block: 0.3rem; }
.prose { background: var(--cream); color: var(--on-cream); border: var(--line) solid var(--ink); border-radius: 26px; padding: clamp(1.4rem, 5vw, 3rem); box-shadow: 0 6px 0 var(--cream-lo), 0 6px 0 var(--line) var(--ink), 0 30px 46px rgba(5, 8, 30, 0.45); overflow-wrap: anywhere; }
.prose h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.875rem, 1.3rem + 2.8vw, 2.75rem); line-height: 1.06; letter-spacing: 0.01em; color: var(--head-on-cream); text-wrap: balance; padding-top: 0.1em; }
.prose h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1.15; letter-spacing: 0.015em; color: var(--head-on-cream); margin-top: 2.4rem; }
.prose h3 { font-size: 1.125rem; font-weight: 700; color: var(--head-on-cream); margin-top: 1.7rem; }
.prose h4 { font-size: 1rem; font-weight: 700; margin-top: 1.3rem; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose .table { margin-top: 0.85rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.35rem; }
.prose li::marker { color: var(--head-on-cream); font-weight: 700; }
.prose a { color: #0a3cb5; font-weight: 700; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875em; background: rgba(18, 32, 122, 0.09); padding: 0.1em 0.35em; border-radius: 6px; }
.prose code.mark { background: #ffe03a; color: #2a2142; font-family: var(--body); font-weight: 700; white-space: normal; }
.prose blockquote { margin-inline: 0; padding: 0.8rem 1rem; border-radius: 14px; background: rgba(18, 32, 122, 0.08); color: #3d3560; font-size: 0.9375rem; }
.prose blockquote p:first-child { margin-top: 0; }
.prose .table { overflow-x: auto; border-radius: 14px; border: 1.5px solid rgba(42, 33, 66, 0.25); }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.8rem; border-bottom: 1px solid rgba(42, 33, 66, 0.18); min-width: 7rem; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: rgba(18, 32, 122, 0.1); color: var(--head-on-cream); font-weight: 700; }
.doc__list { list-style: none !important; padding: 0 !important; display: grid; gap: 0.6rem; margin-top: 1.5rem !important; }
.doc__list a { display: block; padding: 0.9rem 1.1rem; border-radius: 14px; background: rgba(18, 32, 122, 0.08); text-decoration: none; }
.lost { text-align: center; display: grid; justify-items: center; gap: 1.5rem; padding-top: 2rem; }
.lost img { width: 11rem; }
.lost h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; }
.lost h1 span { color: var(--gold-hi); }
.lost p { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Azaltılmış hareket ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; }
  .js [data-reveal], .js [data-reveal="pop"] { transform: none; filter: none; transition: opacity 300ms ease; transition-delay: 0ms; }
  .march__track { animation: none; }
  .march { overflow-x: auto; }
  .hero__sky, .hero__rays { display: none; }
  .cast__hero, .realm__isle img { transition: opacity 200ms ease; transform: none; filter: none; }
}
