/* =========================================================
   NexVory Games — Stüdyo Sitesi
   ========================================================= */

:root {
  --bg: #07070d;
  --bg-2: #0c0b16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);

  --text: #f1f0ff;
  --muted: #9d9bb8;

  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --lime: #a3e635;

  --grad: linear-gradient(100deg, var(--violet-2) 0%, var(--cyan) 55%, var(--pink) 100%);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --radius: 20px;
  --radius-lg: 28px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }
::selection { background: var(--violet); color: #fff; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Butonlar ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .8em 1.4em;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #6d28d9);
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .8), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -3px 0 rgba(0,0,0,.25);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(139, 92, 246, .95), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -3px 0 rgba(0,0,0,.25); }
.btn--ghost { border-color: var(--border-2); background: var(--surface); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; border-radius: 12px; }
.btn--lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Boot ekranı ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #15112b, var(--bg) 60%);
  transition: opacity .7s var(--ease), visibility .7s;
  cursor: pointer;
}
.boot.is-done { opacity: 0; visibility: hidden; }
.boot__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.boot__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: .06em;
  animation: bootIn 1s var(--ease) both;
}
.boot__logo small { display: block; font-size: .32em; letter-spacing: .6em; color: var(--muted); font-weight: 500; }
.boot__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 0 50px -6px var(--violet);
}
@keyframes bootIn { from { opacity: 0; transform: scale(.85); filter: blur(8px); } }
.boot__bar { width: 220px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.boot__bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }
.boot__press {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .4em;
  color: var(--cyan);
  opacity: 0;
}
.boot__press.is-on { animation: press 1s steps(2) infinite; }
@keyframes press { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Arka plan ---------- */
.bg-particles { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .14), transparent 65%);
  pointer-events: none;
  transition: opacity .4s;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow { opacity: 1; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(7, 7, 13, .72); backdrop-filter: blur(16px) saturate(1.5); border-color: var(--border); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.xp { position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.xp__fill { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--cyan); }
.lang {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: var(--surface);
}
.lang button {
  padding: .3em .6em;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.lang button:hover { color: var(--text); }
.lang button.is-active { color: #fff; background: linear-gradient(135deg, var(--violet), #6d28d9); }
.xp__label {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  color: var(--cyan);
  padding: .3em .7em;
  border-radius: 8px;
  border: 1px solid rgba(34, 211, 238, .3);
  background: rgba(34, 211, 238, .08);
  font-variant-numeric: tabular-nums;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 8px 24px -8px var(--violet);
}
.brand__text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1; }
.brand__text small { margin-top: 4px; font-size: .52rem; letter-spacing: .5em; color: var(--muted); font-weight: 500; }

.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: .5em .9em;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(241, 240, 255, .75);
  transition: color .2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: .9em;
  right: .9em;
  bottom: .2em;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border-2);
  background: var(--surface);
}
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 30px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--1 { width: 620px; height: 620px; right: -120px; top: 6%; background: rgba(139, 92, 246, .35); }
.hero__glow--2 { width: 480px; height: 480px; left: -160px; bottom: -80px; background: rgba(34, 211, 238, .18); }

/* neon zemin ızgarası */
.hero__floor {
  position: absolute;
  z-index: -1;
  left: -50%;
  right: -50%;
  bottom: -10%;
  height: 55%;
  background-image:
    linear-gradient(rgba(139, 92, 246, .45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .45) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 60%, transparent 100%);
  animation: floor 3s linear infinite;
  opacity: .55;
}
@keyframes floor { to { background-position: 0 64px; } }

.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: .45em 1em;
  font-size: .85rem;
  font-weight: 500;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(8px);
}
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 6rem);
  line-height: .98;
  letter-spacing: -.03em;
  margin-bottom: 26px;
}
.hero__lead { max-width: 500px; font-size: 1.12rem; color: var(--muted); margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero__platforms { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .9rem; font-weight: 500; }
.hero__platforms li { display: flex; align-items: center; gap: 8px; }
.ico { width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico--pc { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v12H3zM8 20h8v-2H8z'/%3E%3C/svg%3E"); }
.ico--console { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm4 3v14h2V5z'/%3E%3C/svg%3E"); }
.ico--pad { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7h10a5 5 0 0 1 5 5l.5 4a2.5 2.5 0 0 1-4.3 2L16 16H8l-2.2 2A2.5 2.5 0 0 1 1.5 16L2 12a5 5 0 0 1 5-5zm0 3v2H5v2h2v2h2v-2h2v-2H9v-2zm9 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm2 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2z'/%3E%3C/svg%3E"); }

.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }
.hero__art .layer { transition: transform .5s var(--ease); }
.hero__art-hint { position: absolute; right: 6%; bottom: 2%; margin: 0; font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }

.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 8s; animation-delay: -2s; }
.float--fast { animation-duration: 4.5s; animation-delay: -1s; }
.float--ctrl { animation-duration: 5s; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-14px); } }

.strip { animation: strip 3s ease-in-out infinite; }
@keyframes strip { 50% { opacity: .55; } }
.power { animation: blink 2.4s ease-in-out infinite; }

.fbtn { cursor: pointer; transition: transform .12s, opacity .12s; transform-box: fill-box; transform-origin: center; }
.fbtn:hover { opacity: .85; }
.fbtn.is-pressed { transform: scale(.82); }
.stick__top { transition: transform .2s var(--ease); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(139,92,246,.08), rgba(34,211,238,.06), rgba(244,114,182,.08));
}
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.5vw, 1.6rem); letter-spacing: .04em; }
.marquee span:nth-of-type(even) { -webkit-text-stroke: 1px rgba(241, 240, 255, .5); color: transparent; }
.marquee i { font-style: normal; color: var(--violet-2); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bölüm ortakları ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.section-head { max-width: 760px; margin-bottom: 60px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.02em; margin-bottom: 20px; }
.lead { font-size: 1.1rem; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.about__text p { color: var(--muted); font-size: 1.08rem; }
.about__text strong { color: var(--text); }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 6px; }
.stat:nth-child(1) strong { color: var(--violet-2); }
.stat:nth-child(2) strong { color: var(--cyan); }
.stat:nth-child(3) strong { color: var(--pink); }
.stat:nth-child(4) strong { color: var(--lime); }
.stat span { color: var(--muted); font-size: .92rem; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 70px; }
.value { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), transparent); transition: border-color .3s, transform .3s var(--ease); }
.value:hover { transform: translateY(-4px); border-color: var(--border-2); }
.value__no {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  border: 2px solid currentColor;
  box-shadow: 0 0 18px -4px currentColor, inset 0 0 12px -4px currentColor;
}
.value:nth-child(1) .value__no { color: var(--lime); }
.value:nth-child(2) .value__no { color: var(--pink); }
.value:nth-child(3) .value__no { color: var(--cyan); }
.value:nth-child(4) .value__no { color: var(--violet-2); }
.value h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 10px; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Oyunlar ---------- */
.games__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: 0 30px 70px -30px rgba(139, 92, 246, .55); }
.game-card__art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.game-card__art svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.game-card:hover .game-card__art svg { transform: scale(1.05); }
.game-card__body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.game-card__body p { color: var(--muted); }
.game-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: .35em .85em;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 8px;
  background: rgba(7, 7, 13, .7);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(6px);
}
.badge--soon { color: #ffd166; border-color: rgba(255, 209, 102, .4); }

.farmaro-logo {
  font-family: "Fredoka", var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  margin-bottom: 14px;
  color: #ffcf4a;
  text-shadow: 0 3px 0 #8a4a07;
}
.farmaro-logo span { color: #7ee7f0; text-shadow: 0 3px 0 #0b4a6f; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 24px; }
.chips li { padding: .3em .85em; border-radius: 8px; font-size: .82rem; font-weight: 500; background: var(--surface-2); border: 1px solid var(--border); }

.locked-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 60%, rgba(244, 114, 182, .25), transparent 55%),
    linear-gradient(160deg, #120b22, #050409);
}
.locked-art__noise {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.15) 0 1px, transparent 1px 3px);
  animation: noise .25s steps(2) infinite;
}
@keyframes noise { 50% { transform: translateY(1px); } }
.locked-art__icon { font-size: 3rem; filter: drop-shadow(0 0 20px rgba(244, 114, 182, .7)); }

.glitch { position: relative; font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 14px; }
.glitch::before,
.glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: .8; }
.glitch::before { color: var(--cyan); animation: glitch 2.6s infinite steps(1); }
.glitch::after { color: var(--pink); animation: glitch 2.6s infinite steps(1) reverse; }
@keyframes glitch {
  0%, 88%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  90% { transform: translate(-3px, 1px); clip-path: inset(10% 0 55% 0); }
  94% { transform: translate(3px, -1px); clip-path: inset(60% 0 8% 0); }
}

/* ---------- Ne yapıyoruz ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .4s var(--ease), border-color .3s, background .3s;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, .18), transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.service:hover { border-color: rgba(167, 139, 250, .4); background: var(--surface-2); }
.service:hover::before { opacity: 1; }
.service__icon { width: 52px; height: 52px; margin-bottom: 24px; fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(34, 211, 238, .5)); }
.service:nth-child(3n+2) .service__icon { stroke: var(--pink); filter: drop-shadow(0 0 8px rgba(244, 114, 182, .5)); }
.service:nth-child(3n) .service__icon { stroke: var(--violet-2); filter: drop-shadow(0 0 8px rgba(167, 139, 250, .5)); }
.service h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 12px; }
.service p { margin: 0; color: var(--muted); }

/* ---------- Yolculuk ---------- */
.levels { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.levels::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 2px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime) 50%, var(--border) 62%);
}
.level { position: relative; padding: 0 6px; }
.level__no {
  position: relative;
  display: inline-grid;
  place-items: center;
  height: 56px;
  min-width: 56px;
  padding: 0 14px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .85rem;
  border-radius: 16px;
  background: var(--bg-2);
  border: 2px solid var(--border-2);
}
.level.is-done .level__no { border-color: var(--lime); color: var(--lime); }
.level.is-active .level__no { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 6px rgba(34, 211, 238, .12), 0 0 30px rgba(34, 211, 238, .4); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0), 0 0 30px rgba(34, 211, 238, .4); } }
.level h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 10px; }
.level p { color: var(--muted); font-size: .95rem; }
.level__state { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.level.is-done .level__state { color: var(--lime); }
.level.is-active .level__state { color: var(--cyan); }

/* ---------- Kariyer ---------- */
.careers__box {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  padding: clamp(30px, 5vw, 60px);
  border-radius: 32px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(139, 92, 246, .22), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(34, 211, 238, .14), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--border);
}
.jobs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.job {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.job:hover { border-color: rgba(167, 139, 250, .45); background: var(--surface-2); transform: translateX(4px); }
.job h3 { font-size: 1.05rem; margin-bottom: 4px; }
.job p { margin: 0; color: var(--muted); font-size: .88rem; }
.job__type { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); padding: .3em .7em; border-radius: 8px; border: 1px solid var(--border); }
.job__apply { font-weight: 600; color: var(--cyan); white-space: nowrap; }
.job__apply:hover { color: #fff; }
.job--open { border-style: dashed; }

/* ---------- İletişim ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
.contact__list li { display: flex; flex-direction: column; }
.contact__list span { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact__list a { font-size: 1.15rem; font-weight: 600; transition: color .2s; }
.contact__list a:hover { color: var(--cyan); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s, color .25s, box-shadow .25s;
}
.socials a:hover { transform: translateY(-3px); color: var(--cyan); border-color: rgba(34, 211, 238, .5); box-shadow: 0 0 20px -6px var(--cyan); }

.form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--muted); }
.form input,
.form select,
.form textarea,
.newsletter__form input {
  width: 100%;
  padding: .9em 1.1em;
  font: inherit;
  font-size: .98rem;
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239d9bb8' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1em center; padding-right: 2.6em; }
.form select option { background: var(--bg-2); }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus, .newsletter__form input:focus {
  border-color: var(--violet-2);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .2);
  background: rgba(255, 255, 255, .05);
}
.is-invalid { border-color: var(--pink) !important; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form__msg { margin: 0; min-height: 1.4em; font-size: .92rem; text-align: center; }
.form__msg.is-ok { color: var(--lime); }
.form__msg a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.form__msg.is-err { color: var(--pink); }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 30px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .06)); overflow: hidden; }
.newsletter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.newsletter h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 6px; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter__form { display: flex; gap: 10px; flex: 1 1 360px; max-width: 480px; }
.newsletter__form input { flex: 1; min-width: 0; }

.footer__mega {
  margin: 50px 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 12.5vw, 11.5rem);
  line-height: .85;
  letter-spacing: -.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(167, 139, 250, .35);
  background: linear-gradient(180deg, rgba(139, 92, 246, .25), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .88rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a:hover { color: var(--text); }
.footer__hint { font-family: var(--font-mono); font-size: .75rem; opacity: .5; }

/* ---------- Modal ---------- */
.modal {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  color: var(--text);
  overflow: auto;
}
.modal::backdrop { background: rgba(4, 4, 10, .75); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: rgba(7, 7, 13, .7);
  backdrop-filter: blur(6px);
}
.modal__art { aspect-ratio: 16 / 8; overflow: hidden; }
.modal__art svg { width: 100%; height: 100%; }
.modal__body { position: relative; padding: 28px 30px 30px; }
.modal__body .badge { position: static; display: inline-block; margin-bottom: 14px; }
.modal__body p { color: var(--muted); }
.modal__features { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal__features li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface); font-size: .92rem; }
.modal__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.modal__meta div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); }
.modal__meta small { display: block; font-family: var(--font-mono); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Başarım bildirimi ---------- */
.achievement {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
  max-width: calc(100% - 32px);
  padding: 12px 22px 12px 12px;
  border-radius: 999px;
  background: rgba(17, 15, 32, .92);
  border: 1px solid rgba(167, 139, 250, .4);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .8), 0 0 40px -10px rgba(139, 92, 246, .6);
  backdrop-filter: blur(10px);
  transform: translate(-50%, 160%);
  transition: transform .55s var(--ease);
  pointer-events: none;
}
.achievement.is-show { transform: translate(-50%, 0); }
.achievement__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}
.achievement small { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.achievement strong { display: block; font-size: .98rem; line-height: 1.3; }
.achievement span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.3; }

/* ---------- Konami yağmuru ---------- */
.rain-item { position: fixed; top: -60px; z-index: 900; pointer-events: none; font-size: 2rem; animation: rain linear forwards; }
@keyframes rain { to { transform: translateY(calc(100vh + 120px)) rotate(540deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px 16px 20px;
    background: rgba(7, 7, 13, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: .9em .4em; border-bottom: 1px solid var(--border); }
  .nav__links a::after { display: none; }
  .nav__burger { display: block; }
  .nav__actions { margin-left: auto; }

  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__art { max-width: 620px; margin: 0 auto; width: 100%; }
  .about, .contact__grid, .careers__box, .games__grid { grid-template-columns: 1fr; }
  .about { gap: 40px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .levels { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .levels::before { display: none; }
}

@media (max-width: 640px) {
  .nav__actions .btn, .xp__label { display: none; }
  .hero { padding-bottom: 50px; }
  .hero__title { font-size: clamp(2.8rem, 15vw, 3.6rem); }
  .values, .services, .levels { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr auto; }
  .job__type { display: none; }
  .modal__features { grid-template-columns: 1fr; }
  .modal__meta { grid-template-columns: 1fr 1fr 1fr; font-size: .85rem; }
  .newsletter { padding: 24px; }
  .newsletter__form { flex-basis: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .achievement { min-width: 0; width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
