/* =========================================================
   safiyekaytan.app — tasarım sistemi
   ========================================================= */

/* ---------- 1. Token'lar ---------- */
:root {
  /* Marka renkleri */
  --brand-pink: #ff4d97;
  --brand-violet: #8b5cff;
  --brand-mint: #3ddbb4;
  --brand-amber: #ffb648;

  /* Koyu tema (varsayılan) */
  --bg: #0a0910;
  --bg-elev: #12101c;
  --bg-elev-2: #191627;
  --surface-glass: rgba(25, 22, 39, 0.72);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f2fa;
  --text-muted: #a9a4bd;
  --text-faint: #6f6a86;
  --accent: var(--brand-pink);
  --accent-soft: rgba(255, 77, 151, 0.14);
  --accent-contrast: #14121c;
  --ring: rgba(255, 77, 151, 0.45);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
  --grain-opacity: 0.035;

  /* Tipografi */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Ölçü */
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Hareket */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #fbf9fc;
  --bg-elev: #ffffff;
  --bg-elev-2: #f4f1f8;
  --surface-glass: rgba(255, 255, 255, 0.78);
  --border: rgba(18, 12, 30, 0.1);
  --border-strong: rgba(18, 12, 30, 0.2);
  --text: #16121f;
  --text-muted: #5d5670;
  --text-faint: #8d86a0;
  --accent: #e02b78;
  --accent-soft: rgba(224, 43, 120, 0.1);
  --accent-contrast: #ffffff;
  --ring: rgba(224, 43, 120, 0.4);
  --shadow-sm: 0 1px 2px rgba(20, 10, 40, 0.06);
  --shadow-md: 0 12px 32px -16px rgba(30, 15, 60, 0.28);
  --shadow-lg: 0 34px 70px -34px rgba(30, 15, 60, 0.32);
  --grain-opacity: 0.02;
  color-scheme: light;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: -0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; color: inherit; }

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

::selection { background: var(--accent); color: #fff; }

/* Arka plan dokusu */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* ---------- 3. Yardımcılar ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section {
  padding-block: clamp(72px, 11vw, 132px);
  position: relative;
}
.section + .section { padding-top: 0; }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 640px; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.section-head p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 1.03rem;
  max-width: 54ch;
}

code {
  font-family: var(--font-mono);
  font-size: 0.87em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 5px;
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
  border: 0;
}

/* ---------- 4. Butonlar ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
  box-shadow: 0 8px 24px -10px var(--ring);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--ring); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--border-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--bg-elev-2); border-color: var(--accent); box-shadow: none; }

.btn--sm { padding: 9px 17px; font-size: 0.86rem; }

.btn svg { width: 17px; height: 17px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.94rem;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--border); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.02rem;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--brand-pink), var(--brand-violet));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 6px 18px -8px var(--brand-violet);
  flex: none;
}
.brand-dot { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-elev-2); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.icon-btn svg { width: 17px; height: 17px; }

#theme-toggle .moon { display: none; }
:root[data-theme="light"] #theme-toggle .moon { display: block; }
:root[data-theme="light"] #theme-toggle .sun { display: none; }

.nav-toggle { display: none; }

/* Mobil menü */
@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav-toggle { display: grid; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(64px, 12vw, 128px) clamp(56px, 9vw, 104px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.55;
  background:
    radial-gradient(38% 46% at 22% 32%, var(--brand-pink) 0%, transparent 68%),
    radial-gradient(34% 42% at 72% 24%, var(--brand-violet) 0%, transparent 66%),
    radial-gradient(28% 36% at 52% 62%, var(--brand-mint) 0%, transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
:root[data-theme="light"] .hero-glow { opacity: 0.34; }

@keyframes drift {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 4%, 0) scale(1.1); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-mint);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand-mint) 70%, transparent);
  animation: pulse 2.4s infinite;
  flex: none;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand-pink), var(--brand-violet) 55%, var(--brand-mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  color: var(--text-muted);
  max-width: 50ch;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.hero-meta strong { color: var(--text); font-weight: 600; }

/* Hero görseli: mini arcade */
.arcade {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--bg-elev-2), var(--bg-elev));
  box-shadow: var(--shadow-lg);
  padding: 18px;
  transform: rotate(1.4deg);
  transition: transform 0.6s var(--ease);
}
.arcade:hover { transform: rotate(0deg) translateY(-6px); }

.arcade-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 4px 14px;
}
.arcade-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-strong);
}
.arcade-bar span:nth-child(1) { background: var(--brand-pink); }
.arcade-bar span:nth-child(2) { background: var(--brand-amber); }
.arcade-bar span:nth-child(3) { background: var(--brand-mint); }
.arcade-bar b {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}

.arcade-screen {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, #2a1030 0%, #0d0713 70%);
  display: grid;
  place-items: center;
}
:root[data-theme="light"] .arcade-screen {
  background: radial-gradient(120% 120% at 50% 0%, #2a1030 0%, #14091c 70%);
}
.arcade-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.045) 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
}
.arcade-screen svg { width: 78%; height: auto; }

.arcade-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
}
.arcade-foot em { font-style: normal; color: var(--accent); }

/* ---------- 7. Marquee ---------- */
.marquee {
  border-block: 1px solid var(--border);
  overflow: hidden;
  padding-block: 15px;
  background: var(--bg-elev);
  --marquee-gap: 44px;
}
.marquee-track {
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  animation: slide 34s linear infinite;
  padding-right: var(--marquee-gap);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: inline-flex;
  align-items: center;
  gap: var(--marquee-gap);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "◆";
  color: var(--accent);
  font-size: 0.6rem;
}
@keyframes slide {
  to { transform: translateX(calc(-50% - var(--marquee-gap) / 2)); }
}

/* ---------- 8. Oyun kartları ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  background: radial-gradient(
    80% 60% at 50% 0%,
    color-mix(in srgb, var(--card-accent, var(--accent)) 16%, transparent),
    transparent 70%
  );
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 50%, var(--border));
  box-shadow: var(--shadow-md);
}
.game-card:hover::before { opacity: 1; }

.game-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--card-bg, linear-gradient(140deg, #2a1230, #120a1c));
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--border);
}
.game-thumb svg { width: 62%; height: auto; transition: transform 0.55s var(--ease); }
.game-card:hover .game-thumb svg { transform: scale(1.07) rotate(-2deg); }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }

.game-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(10, 8, 16, 0.66);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.game-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.game-body h3 { font-size: 1.22rem; }
.game-body p { color: var(--text-muted); font-size: 0.93rem; flex: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-faint);
  background: var(--bg-elev-2);
}

.game-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.game-path {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
}

/* "yakında" kartı */
.game-card--soon { border-style: dashed; }
.game-card--soon .game-thumb { filter: saturate(0.75); opacity: 0.8; }
.game-card--soon:hover { transform: none; }

/* ---------- 9. Hakkımda ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.prose p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.02rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }

.stat-stack { display: grid; gap: 12px; }
.stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
}
.stat b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.stat span { font-size: 0.9rem; color: var(--text-muted); }

.skill-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* ---------- 10. Zaman çizelgesi (CV) ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: clamp(16px, 3vw, 36px);
  padding-block: 26px;
  border-top: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}
.tl-item:last-child { border-bottom: 1px solid var(--border); }
.tl-when {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.tl-body h3 { font-size: 1.12rem; }
.tl-body .tl-org {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 3px;
}
.tl-body p { color: var(--text-muted); font-size: 0.95rem; margin-top: 9px; }
@media (max-width: 640px) {
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- 11. Yazılar ---------- */
.post-list { display: grid; gap: 0; }
.post-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px 16px;
  margin-inline: -16px;
  border-top: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.post-item:last-child { border-bottom: 1px solid var(--border); }
.post-item:hover { background: var(--bg-elev); transform: translateX(4px); }
.post-date {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-faint);
}
.post-item h3 { font-size: 1.1rem; font-weight: 600; }
.post-item p { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.post-item .arrow { color: var(--text-faint); transition: color 0.25s, transform 0.25s; }
.post-item:hover .arrow { color: var(--accent); transform: translateX(3px); }
@media (max-width: 680px) {
  .post-item { grid-template-columns: 1fr; gap: 6px; }
  .post-item .arrow { display: none; }
}

/* ---------- 12. İletişim ---------- */
.contact-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(150deg, var(--bg-elev-2), var(--bg-elev));
  padding: clamp(32px, 6vw, 64px);
  overflow: hidden;
  text-align: center;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: -50% 20% auto 20%;
  height: 300px;
  filter: blur(80px);
  opacity: 0.45;
  background: radial-gradient(50% 50% at 50% 50%, var(--brand-pink), transparent 70%);
  pointer-events: none;
}
.contact-card h2 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); position: relative; }
.contact-card p {
  color: var(--text-muted);
  margin: 16px auto 30px;
  max-width: 46ch;
  position: relative;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
  margin-top: clamp(40px, 8vw, 90px);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.87rem;
  color: var(--text-faint);
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* ---------- 14. Oyun detay sayfası ---------- */
.page-hero {
  padding-block: clamp(46px, 8vw, 84px) clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-faint);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.4rem); }
.page-hero .lede { color: var(--text-muted); margin-top: 16px; max-width: 58ch; font-size: 1.05rem; }

.game-stage {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #0c0714;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.game-stage iframe { width: 100%; height: 100%; border: 0; }
.game-stage-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding: 24px;
  color: #cfc8e4;
  background: radial-gradient(120% 120% at 50% 0%, #2c0f34 0%, #0c0714 70%);
}
.game-stage-placeholder h3 { font-size: 1.35rem; color: #fff; }
.game-stage-placeholder p { max-width: 42ch; font-size: 0.95rem; color: #a79fc0; }

.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-faint);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(40px, 6vw, 72px);
  align-items: start;
}
@media (max-width: 880px) { .detail-grid { grid-template-columns: 1fr; } }

.spec-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  padding: 24px;
  position: sticky;
  top: 92px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}
.spec-row:last-of-type { border-bottom: 0; }
.spec-row dt { color: var(--text-faint); font-family: var(--font-mono); font-size: 0.78rem; }
.spec-row dd { margin: 0; text-align: right; font-weight: 500; }

.keycaps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
kbd {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 3px;
  background: var(--bg-elev-2);
  color: var(--text);
}

/* ---------- 15. Makale ---------- */
.article { max-width: 68ch; margin-inline: auto; }
.article h2 { font-size: 1.6rem; margin-top: 44px; margin-bottom: 14px; }
.article h3 { font-size: 1.22rem; margin-top: 32px; margin-bottom: 10px; }
.article p { color: var(--text-muted); margin-bottom: 18px; }
.article ul, .article ol { color: var(--text-muted); margin: 0 0 18px; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 26px 0;
  color: var(--text);
  font-size: 1.05rem;
}
.article pre {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.article code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 5px;
}
.article pre code { background: none; color: var(--text); padding: 0; }

/* ---------- 16. 404 ---------- */
.notfound {
  min-height: 62vh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding-block: 80px;
}
.notfound .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(100deg, var(--brand-pink), var(--brand-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 17. Scroll animasyonu ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- 18. Baskı ---------- */
@media print {
  .site-header, .site-footer, .hero-glow, .marquee { display: none; }
  body { background: #fff; color: #000; }
}
