@font-face { font-family: Outfit; src: url(../assets/fonts/outfit-latin-ext.woff2) format('woff2'); font-weight: 300 800; font-display: swap;
  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: Outfit; src: url(../assets/fonts/outfit-latin.woff2) format('woff2'); font-weight: 300 800; font-display: swap;
  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; }

:root {
  --night: #0c0f1d; --ink: #1b1d33; --glow: #8b7cf6;
  --turq: #45d6cf; --lav: #9a8cf2; --gold: #f2c35b; --ivory: #fbf6ee;
  --text: #f7f4ff; --muted: rgba(236, 232, 255, .72); --faint: rgba(236, 232, 255, .48);
  --panel: rgba(11, 12, 28, .46); --hair: rgba(255, 255, 255, .1);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 300 17px/1.7 Outfit, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; letter-spacing: .005em;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(69, 214, 207, .35); }

/* ---------- 3D canvas ---------- */
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; }
.scrim { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 15, 29, .5), transparent 18%, transparent 70%, rgba(12, 15, 29, .45)); }
body.no-webgl #world { display: none; }
body.no-webgl .scrim { background: linear-gradient(rgba(12, 15, 29, .55), rgba(12, 15, 29, .8)), url(../assets/og-image.jpg) center/cover fixed; }
#world.dive { animation: dive .7s var(--ease); }
@keyframes dive { from { opacity: .35; } to { opacity: 1; } }

/* ---------- splash ---------- */
#splash { position: fixed; inset: 0; z-index: 50; background: var(--night); display: grid; place-items: center; overflow: hidden;
  transition: opacity .7s ease, transform .9s cubic-bezier(.6, 0, .9, .4); }
#splash.out { opacity: 0; transform: scale(1.12); pointer-events: none; }
#splash.gone { display: none; }
.orb { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(60px); opacity: .5; animation: drift 9s ease-in-out infinite alternate; }
.o1 { background: radial-gradient(circle, rgba(247, 198, 74, .45), transparent 60%); left: -12vmax; top: -10vmax; }
.o2 { background: radial-gradient(circle, rgba(69, 214, 207, .4), transparent 60%); right: -8vmax; top: 4vmax; animation-delay: -3s; }
.o3 { background: radial-gradient(circle, rgba(139, 124, 246, .55), transparent 60%); left: 20vmax; bottom: -22vmax; animation-delay: -5s; }
.o4 { background: radial-gradient(circle, rgba(242, 122, 94, .3), transparent 60%); right: 18vmax; bottom: -14vmax; animation-delay: -1s; }
@keyframes drift { to { transform: translate(5vmax, -4vmax) scale(1.15); } }

.splash-inner { position: relative; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 24px; }
.splash-logo { position: relative; width: clamp(150px, 24vmin, 250px); aspect-ratio: 1; filter: drop-shadow(0 18px 40px rgba(139, 124, 246, .45)); }
.part { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.p-ctrl { transform-origin: 50% 72%; animation: ctrlIn .75s cubic-bezier(.34, 1.56, .64, 1) .15s forwards; }
.p-left { transform-origin: 23% 45%; animation: leftIn .55s cubic-bezier(.34, 1.8, .64, 1) .55s forwards; }
.p-right { transform-origin: 77% 45%; animation: rightIn .55s cubic-bezier(.34, 1.8, .64, 1) .62s forwards; }
.p-center { transform-origin: 50% 31%; animation: centerIn .6s cubic-bezier(.34, 1.7, .64, 1) .78s forwards; }
@keyframes ctrlIn { from { opacity: 1; transform: translateY(120%) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes leftIn { from { opacity: 0; transform: translate(28%, 6%) scale(.2) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes rightIn { from { opacity: 0; transform: translate(-28%, 6%) scale(.2) rotate(30deg); } to { opacity: 1; transform: none; } }
@keyframes centerIn { from { opacity: 0; transform: translateY(-70%) scale(.4); } to { opacity: 1; transform: none; } }
.flash { position: absolute; left: 50%; top: 31%; width: 10%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle, #fff, rgba(255, 255, 255, 0) 70%); opacity: 0; animation: flash .7s ease-out 1.15s forwards; }
@keyframes flash { 0% { opacity: 1; scale: .5; } 100% { opacity: 0; scale: 9; } }
.splash-word { display: grid; justify-items: center; gap: 10px; }
.splash-word img { width: clamp(180px, 36vw, 440px); opacity: 0; clip-path: inset(0 100% 0 0); animation: wordIn .6s cubic-bezier(.2, .8, .2, 1) 1.15s forwards; }
@keyframes wordIn { to { opacity: 1; clip-path: inset(0 0 0 0); } }
.games { display: flex; gap: clamp(14px, 3vw, 34px); font-weight: 700; font-size: clamp(16px, 2.4vw, 28px); color: #e9e6ff; }
.games span { opacity: 0; transform: translateY(-40px) rotate(-14deg); animation: letter .5s cubic-bezier(.34, 1.8, .64, 1) forwards; }
.games span:nth-child(1) { animation-delay: 1.45s; } .games span:nth-child(2) { animation-delay: 1.52s; }
.games span:nth-child(3) { animation-delay: 1.59s; } .games span:nth-child(4) { animation-delay: 1.66s; } .games span:nth-child(5) { animation-delay: 1.73s; }
@keyframes letter { to { opacity: 1; transform: none; } }
.splash-bar { position: absolute; bottom: max(38px, env(safe-area-inset-bottom)); left: 50%; width: 140px; height: 4px; translate: -50% 0; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.splash-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--turq), var(--lav), var(--gold)); transition: width .4s ease; }
@media (max-width: 640px) { .splash-inner { flex-direction: column; } }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px;
  padding: max(22px, env(safe-area-inset-top)) clamp(20px, 4.5vw, 64px) 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand > img { width: 34px; height: 34px; }
.brand-text { display: grid; gap: 2px; }
.brand-text img { height: 15px; width: auto; }
.brand-text b { font-weight: 500; font-size: 9px; letter-spacing: .7em; color: var(--muted); padding-left: 1px; }
.links { margin-left: auto; display: flex; gap: 30px; }
.links a { position: relative; text-decoration: none; font-weight: 400; font-size: 14px; letter-spacing: .04em; color: var(--muted); transition: color .3s; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.links a:hover { color: var(--text); }
.links a:hover::after { transform: scaleX(1); }
.lang { display: flex; gap: 2px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 12px Outfit, sans-serif; letter-spacing: .12em; color: var(--faint); }
.lang span { padding: 4px 6px; transition: color .3s; }
.lang span + span::before { content: '/'; margin-right: 8px; color: var(--faint); }
html[lang='tr'] .lang [data-l='tr'], html[lang='en'] .lang [data-l='en'] { color: var(--text); }
@media (max-width: 720px) { .links { display: none; } .lang { margin-left: auto; } }

/* ---------- progress rail + counter ---------- */
.rail { position: fixed; z-index: 20; right: clamp(18px, 2.6vw, 40px); top: 50%; translate: 0 -50%; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 14px; text-decoration: none; font-size: 12px; letter-spacing: .06em; color: transparent; transition: color .3s; }
.rail a::after { content: ''; width: 14px; height: 1px; background: rgba(255, 255, 255, .35); transition: width .5s var(--ease), background .3s; }
.rail a:hover { color: var(--muted); }
.rail a.on::after { width: 30px; background: var(--text); }
.counter { position: fixed; z-index: 20; right: clamp(18px, 2.6vw, 40px); bottom: max(26px, env(safe-area-inset-bottom)); font-size: 12px; letter-spacing: .14em; color: var(--faint); font-variant-numeric: tabular-nums; }
.counter b { font-weight: 500; color: var(--text); margin-right: 6px; }
@media (max-width: 720px) { .rail, .counter { display: none; } }

/* ---------- sections + panels ---------- */
main { position: relative; z-index: 10; }
.sec { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px clamp(22px, 7vw, 120px) 80px; }
.sec[data-side='left'] { justify-content: flex-start; }
.sec[data-side='right'] { justify-content: flex-end; padding-right: clamp(60px, 9vw, 150px); }
.sec[data-side='center'] { justify-content: center; }

.card { position: relative; width: min(430px, 100%); padding: 34px 34px 32px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(16, 17, 38, .82), rgba(10, 11, 26, .74)); border: 1px solid var(--hair);
  box-shadow: 0 30px 80px rgba(4, 4, 18, .35);
  opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.sec.in .card { opacity: 1; transform: none; }
.card > * { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.sec.in .card > * { opacity: 1; transform: none; }
.sec.in .card > :nth-child(2) { transition-delay: .06s; } .sec.in .card > :nth-child(3) { transition-delay: .12s; }
.sec.in .card > :nth-child(4) { transition-delay: .18s; } .sec.in .card > :nth-child(5) { transition-delay: .24s; }
.card.wide { width: min(560px, 100%); text-align: center; }

.card .kicker, .kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ''; width: 18px; height: 1px; background: var(--turq); }
h1, h2 { margin: 0 0 14px; font-weight: 500; letter-spacing: -.02em; line-height: 1.06; }
h2 { font-size: clamp(30px, 3vw, 42px); }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.sub { margin: 2px 0 0 !important; color: var(--faint) !important; font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; }

.stats { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats b { display: block; font-size: 34px; font-weight: 400; line-height: 1; color: var(--text); letter-spacing: -.02em; }
.stats span { display: block; margin-top: 8px; font-size: 12px; line-height: 1.35; color: var(--faint); letter-spacing: .02em; }

.game-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.game-head img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); flex: none; }
.game-head h2 { margin: 0; font-size: clamp(28px, 2.6vw, 36px); }
.game-head .kicker { margin-bottom: 8px; }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 14px; line-height: 1.1; letter-spacing: .01em; }
.store small { display: block; font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.store.live { background: var(--ivory); color: #14152a; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.store.live:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(251, 246, 238, .18); }
.store.soon { color: var(--faint); border: 1px solid var(--hair); }
.ico { width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.ico.apple { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.4 12.6c0-2.4 2-3.6 2.1-3.7-1.2-1.7-3-1.9-3.6-2-1.5-.2-3 .9-3.8.9-.8 0-2-.9-3.3-.9-1.7 0-3.3 1-4.2 2.6-1.8 3.1-.5 7.7 1.3 10.2.8 1.2 1.8 2.6 3.1 2.6 1.2 0 1.7-.8 3.2-.8s1.9.8 3.2.8c1.3 0 2.2-1.2 3-2.4.9-1.4 1.3-2.7 1.3-2.8-.1 0-2.5-1-2.3-4.5zM14 5.3c.7-.8 1.1-1.9 1-3-1 0-2.1.7-2.8 1.5-.6.7-1.2 1.8-1 2.9 1.1.1 2.1-.6 2.8-1.4z'/%3E%3C/svg%3E"); }
.ico.play { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2.6c-.3.3-.5.8-.5 1.4v16c0 .6.2 1.1.5 1.4L13.1 12 4 2.6zm10.3 10.6 2.6 2.6-11 6.3 8.4-8.9zm0-2.4L5.9 1.9l11 6.3-2.6 2.6zm3.9-1.8 3 1.7c.9.5.9 1.3 0 1.8l-3 1.7-2.8-2.6 2.8-2.6z'/%3E%3C/svg%3E"); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: .02em; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s; }
.btn.primary { background: var(--ivory); color: #14152a; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(251, 246, 238, .2); }
.btn.link { padding-left: 6px; padding-right: 6px; color: var(--text); }
.btn.link::after { content: '→'; transition: transform .4s var(--ease); }
.btn.link:hover::after { transform: translateX(4px); }
.btn.mail { margin: 10px auto 4px; word-break: break-all; }
.card p.support { margin: 6px 0 0; font-size: 14px; color: var(--faint); }
.card p.support a { color: var(--muted); }

/* ---------- hero: title bottom-left, island fills the frame ---------- */
.hero { position: relative; align-items: flex-end; padding-bottom: clamp(70px, 12vh, 130px); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(75% 85% at 0% 100%, rgba(12, 15, 29, .62), rgba(12, 15, 29, .25) 45%, transparent 72%); }
.hero-inner { max-width: 860px; }
.hero h1 { max-width: 10.6em; font-size: clamp(40px, 4.9vw, 74px); font-weight: 500; letter-spacing: -.03em; text-shadow: 0 2px 40px rgba(12, 15, 29, .45); }
.hero .lead { max-width: 480px; margin: 0 0 34px; color: rgba(240, 236, 255, .86); font-size: clamp(16px, 1.3vw, 18px); text-shadow: 0 1px 20px rgba(12, 15, 29, .6); }
.cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.hero-inner > * { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
body.ready .hero-inner > * { opacity: 1; transform: none; }
body.ready .hero-inner > :nth-child(1) { transition-delay: 1.2s; } body.ready .hero-inner > :nth-child(2) { transition-delay: 1.35s; }
body.ready .hero-inner > :nth-child(3) { transition-delay: 1.5s; } body.ready .hero-inner > :nth-child(4) { transition-delay: 1.65s; }
.scroll-hint { position: absolute; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); translate: -50% 0; display: grid; justify-items: center; gap: 12px; text-decoration: none; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); opacity: 0; transition: opacity 1s 2s; }
body.ready .scroll-hint { opacity: 1; }
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(var(--text), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* contact + footer */
.contact { flex-direction: column; justify-content: center; gap: 30px; }
.contact .kicker { justify-content: center; }
.contact .kicker::after { content: ''; width: 18px; height: 1px; background: var(--turq); }
.legal { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; font-size: 13px; }
.legal p { width: 100%; margin: 0 0 4px !important; font-size: 11px !important; letter-spacing: .2em; text-transform: uppercase; color: var(--faint) !important; }
.legal a { color: var(--muted); text-decoration: none; transition: color .3s; }
.legal a:hover { color: var(--text); }
.legal a.all { flex-basis: 100%; margin-top: 6px; color: var(--text); }
.foot { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 12px; letter-spacing: .06em; color: var(--faint); }
.foot span + span::before { content: '·'; margin-right: 18px; }

/* ---------- phones: panels sit at the bottom, scene above ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .sec:not(.contact) { align-items: flex-end; justify-content: flex-start !important; padding: 90px 16px max(22px, env(safe-area-inset-bottom)); }
  .card { padding: 24px 22px 22px; width: 100%; border-radius: 18px; }
  .card p { margin-bottom: 14px; font-size: 15px; }
  .game-head img { width: 54px; height: 54px; border-radius: 14px; }
  .stats b { font-size: 26px; }
  .hero { padding-bottom: max(70px, env(safe-area-inset-bottom)); }
  .hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .scroll-hint { display: none; }
  .contact { padding: 90px 16px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .2s !important; transition-delay: 0s !important; }
}
