:root {
  --orange: #EB5E28;
  --red: #DC3545;
  --bg: #252422;
  --card: #403D39;
  --text: #FFFCF2;
  --muted: #CCC5B9;
  --green: #226F54;
  --blue: #0D21A1;

  --radius: 18px;
  --font-display: 'Silkscreen', 'Courier New', monospace;
  --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 100% - 2rem); margin-inline: auto; }

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

main, header, footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--card) 80%, transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .02em; }
.logo-img { width: 36px; height: 36px; image-rendering: pixelated; }
.logo span b { color: var(--orange); font-weight: 400; }
.nav-links { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; color: var(--muted);
  transition: color .2s, background .2s, box-shadow .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--card); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: .5rem; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.9rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 1.05rem var(--font-body); color: var(--text);
  background: var(--orange); box-shadow: 0 4px 0 #a63d14;
  transition: transform .15s, box-shadow .15s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 6px 0 #a63d14; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #a63d14; }
.btn svg { width: 20px; height: 20px; }
.btn.red { background: var(--red); box-shadow: 0 4px 0 #8f1d27; }
.btn.red:hover { box-shadow: 0 6px 0 #8f1d27; }
.btn.red:active { box-shadow: 0 1px 0 #8f1d27; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; padding: 110px 0 140px; position: relative; text-align: center; overflow: hidden; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.mascot { position: fixed; left: 10px; bottom: 10px; z-index: 40; width: clamp(64px, 7vw, 110px); height: auto; pointer-events: none; image-rendering: pixelated; }
.banner { width: min(613px, 88vw); height: auto; image-rendering: pixelated; border-radius: 6px; box-shadow: 0 0 0 2px var(--card); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.mascot .lid { opacity: 0; animation: blink 5s steps(1) infinite; }
@keyframes blink { 0%, 94% { opacity: 0; } 96% { opacity: 1; } 98%, 100% { opacity: 0; } }

.eyebrow { font-weight: 600; letter-spacing: .25em; text-transform: uppercase; font-size: .85rem; color: var(--red); }
.hero p { max-width: 560px; margin: 0 0 .6rem; color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.3rem); }

/* Hero altından yükselen dokunaçlar */
.hero-tentacles { position: absolute; left: 0; right: 0; bottom: -2px; height: 150px; pointer-events: none; }
.hero-tentacles svg { width: 100%; height: 100%; }

/* ---------- Bölüm ortak ---------- */
section { position: relative; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem); margin: .3rem 0 .6rem; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.reveal { opacity: 0; transition: opacity .5s ease; }
.reveal.in { opacity: 1; }

/* ---------- Oyunlar ---------- */
.games { padding: 40px 0 130px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; }
.game-card {
  --glow: var(--orange);
  color: inherit; text-decoration: none; cursor: pointer;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  transition: transform .2s, border-color .2s;
}
.game-card:nth-child(even) { --glow: var(--red); }
.game-card:hover, .game-card:focus-within { transform: translateY(-4px); border-color: var(--glow); }
.game-art { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; }
.game-art svg { width: 58%; height: auto; }
.art-1 { background: linear-gradient(160deg, #1b2a52, #0D21A1 120%); }
.art-2 { background: linear-gradient(160deg, #3d1519, var(--red) 170%); }
.art-3 { background: linear-gradient(160deg, #1d3d33, var(--green) 120%); }
.art-4 { background: linear-gradient(160deg, #5a2a14, var(--orange) 140%); }
.game-body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.game-body h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.game-body p { margin: 0; color: var(--muted); font-size: .98rem; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: .22rem .7rem; border-radius: 999px; color: var(--text); background: var(--green); }
.tag.b { background: var(--blue); }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--glow); margin-top: .3rem; }
.more svg { width: 16px; height: 16px; }

/* ---------- Hakkımızda & İletişim ---------- */
.about { background: var(--card); padding: 40px 0 100px; margin-top: 60px; }
.tentacle-divider { position: absolute; left: 0; right: 0; top: -89px; height: 90px; pointer-events: none; }
.tentacle-divider svg { width: 100%; height: 100%; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-text h2, .contact h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .3rem 0 1rem; }
.about-text p { color: var(--muted); margin: 0 0 1rem; }
.about-text p strong { color: var(--text); }
.stats { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.stat { background: var(--bg); border-radius: 14px; padding: .9rem 1.3rem; border: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--orange); line-height: 1.1; }
.stat:nth-child(2) b { color: var(--red); }
.stat span { font-size: .85rem; color: var(--muted); }

.contact { background: var(--bg); border-radius: 22px; padding: 2rem; border: 1px solid var(--card); }
form { display: grid; gap: 1rem; }
label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: .3rem; }
input, textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--card);
  background: color-mix(in srgb, var(--card) 55%, var(--bg)); color: var(--text); font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 60%, transparent); }
input:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 25%, transparent); }
input.invalid, textarea.invalid { border-color: var(--orange); }
textarea { resize: vertical; min-height: 120px; }
.form-status { min-height: 1.4em; font-weight: 600; margin: 0; }
.form-status.ok { color: #5fd3a8; }
.form-status.err { color: var(--orange); }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; align-items: center; flex-wrap: wrap; }
.socials span { color: var(--muted); font-size: .9rem; margin-right: .3rem; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--card); color: var(--muted);
  transition: color .2s, background .2s;
}
.socials a:hover { color: var(--text); background: var(--red); }
.socials a:nth-of-type(even):hover { background: var(--orange); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
footer { background: var(--card); border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent); padding: 1.6rem 0; text-align: center; color: var(--muted); font-size: .9rem; }
footer b { color: var(--orange); }

/* ---------- Duyarlı ---------- */
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); padding: .6rem 1rem 1rem; border-bottom: 1px solid var(--card);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .85rem 1rem; }
}
@media (max-width: 480px) {
  .contact { padding: 1.4rem; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Oyun sayfası ---------- */
.game-art img { width: 100%; height: 100%; object-fit: cover; }
.game-card:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.g-hero { padding: 110px 0 40px; }
.back { display: inline-block; margin-bottom: 1.4rem; color: var(--muted); font-weight: 600; transition: color .2s; }
.back:hover { color: var(--orange); }
.g-top { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.g-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 6vw, 3.8rem); line-height: 1.05; margin: .8rem 0; }
.g-summary { color: var(--muted); font-size: 1.15rem; margin: 0 0 1.4rem; }
.g-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.g-banner { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card); background: var(--card); }
.g-banner > img { width: 100%; display: block; }
.g-banner .game-art { aspect-ratio: 16 / 10; }
.g-body { padding: 30px 0 60px; }
.g-cols { display: grid; grid-template-columns: 1fr 300px; gap: 2.4rem; align-items: start; }
.g-main h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 2rem 0 .8rem; color: var(--orange); }
.g-main h2:first-child { margin-top: 0; }
.g-main p { color: var(--muted); font-size: 1.05rem; margin: 0 0 1rem; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.features li { background: var(--card); padding: .7rem 1rem .7rem 2.4rem; border-radius: 12px; position: relative; }
.features li::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 10px; height: 10px; background: var(--red); }
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.shot { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--card); transition: border-color .2s; }
.shot:hover { border-color: var(--orange); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.g-info { background: var(--card); border-radius: var(--radius); padding: 1.4rem; border: 1px solid color-mix(in srgb, var(--text) 8%, transparent); position: sticky; top: 90px; }
.g-info h3 { margin: 0 0 1rem; font-family: var(--font-display); color: var(--red); }
.g-info dl { margin: 0; display: grid; gap: .2rem; }
.g-info dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-top: .7rem; }
.g-info dd { margin: 0; font-weight: 600; }
.g-more { padding-bottom: 80px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 19, 18, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 12px; }
.lightbox p { margin: 0; color: var(--muted); }
.lb-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: var(--text); font-size: 2.6rem; line-height: 1; cursor: pointer; }
@media (max-width: 820px) {
  .g-top, .g-cols { grid-template-columns: 1fr; }
  .g-info { position: static; }
  .g-hero { padding-top: 96px; }
}
