/* ============================================================
   TroyApps — site.css  v3 "ARCADE"
   Piksel HUD, neon yeşil/magenta, CRT çizgileri, yarı gizem.
   Saf CSS. Fontlar kendi sunucumuzda.
   ============================================================ */

/* ---------- Fontlar ---------- */

@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/press-start-2p-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/press-start-2p-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF;
}
@font-face {
  font-family: "VT323";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/vt323-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "VT323";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/vt323-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF;
}

/* ---------- Değişkenler ---------- */

:root {
  color-scheme: dark;
  --bg: #0a0a12;
  --panel: #10101d;
  --panel-2: #0d0d18;
  --line: rgba(0, 255, 156, 0.22);
  --line-dim: rgba(0, 255, 156, 0.12);
  --ink: #eef2ea;
  --muted: #8f9c94;
  --green: #00ff9c;
  --magenta: #ff3ef2;
  --amber: #ffd93d;
  --glow-green: rgba(0, 255, 156, 0.5);
  --glow-magenta: rgba(255, 62, 242, 0.45);
  --pixel: "Press Start 2P", monospace;
  --term: "VT323", ui-monospace, monospace;
  --body: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(0, 255, 156, 0.35); color: #fff; }

/* Arka plan canvas'ı */

#bg-signal {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

/* CRT tarama çizgileri + vinyet */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
}

/* Sayfa geneli ışık vurgusu (lamba yandığında) */

#stage-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms linear;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(0, 255, 156, 0.1), transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 110%, rgba(255, 62, 242, 0.08), transparent 55%);
}
body.lamp-lit #stage-glow { opacity: 1; }

/* İmleç ışığı */

#cursor-glow { display: none; }
@media (pointer: fine) {
  #cursor-glow {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
    width: 480px;
    height: 480px;
    margin: -240px 0 0 -240px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 156, 0.07), transparent 62%);
    will-change: transform;
  }
}

/* ---------- Erişilebilirlik ---------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--green);
  color: #000;
  font-family: var(--pixel);
  font-size: 0.65rem;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Tipografi ---------- */

h1, h2 {
  font-family: var(--pixel);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 0.6em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { font-size: clamp(1.7rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.05rem, 3vw, 1.9rem); }
h3 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0 0 0.7em;
  text-transform: uppercase;
}

/* Başlıkta ara sıra neon glitch parlaması */
h1.decode { animation: glitchFlick 7s steps(1) infinite; }
@keyframes glitchFlick {
  0%, 91%, 95%, 100% { text-shadow: none; }
  92% { text-shadow: 3px 0 var(--magenta), -3px 0 var(--green); }
  93% { text-shadow: -3px 0 var(--magenta), 3px 0 var(--green); }
  94% { text-shadow: 2px 2px var(--magenta); }
}

p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.mono-label {
  display: block;
  margin: 0 0 24px;
  font-family: var(--pixel);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.mono-label .idx { color: var(--magenta); margin-right: 12px; }

.grad-text { color: var(--green); text-shadow: 0 0 18px var(--glow-green); }

/* ---------- Düzen ---------- */

.wrap { width: min(100%, 1160px); margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }

section { position: relative; padding: 90px 0; }

.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head p { color: var(--muted); font-size: 1.06rem; max-width: 600px; }

/* ---------- Marquee bandı ---------- */

.ticker {
  overflow: hidden;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: #07070f;
  padding: 10px 0;
  user-select: none;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 40s linear infinite;
}
.ticker span {
  flex: none;
  padding-right: 56px;
  font-family: var(--term);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
  color: var(--muted);
}
.ticker span b { color: var(--amber); font-weight: 400; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Üst menü ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--line-dim);
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--pixel);
  font-size: 0.78rem;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { display: block; image-rendering: pixelated; }
.brand:hover { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  font-family: var(--term);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.12s ease, text-shadow 0.12s ease;
}
.nav-links a:hover { color: var(--green); text-shadow: 0 0 12px var(--glow-green); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a .n { color: var(--magenta); margin-right: 6px; }

.lang-switch {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid var(--line);
  font-family: var(--pixel);
  font-size: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(0, 255, 156, 0.25);
  transition: all 0.12s ease;
}
.lang-switch:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(0, 255, 156, 0.35);
}

.nav-toggle {
  display: none;
  padding: 10px 12px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 255, 156, 0.25);
}
.nav-toggle .bars {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 8px 22px 22px;
    border-bottom: 2px solid var(--line);
    background: #08080f;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.85);
  }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 13px 8px; font-size: 1.35rem; border-bottom: 1px dashed rgba(0, 255, 156, 0.15); }
  .nav-links .lang-item { margin-top: 16px; }
  .nav-links .lang-item a { border-bottom: 0; }
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: 3px solid #000;
  font-family: var(--pixel);
  font-size: 0.68rem;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary {
  background: var(--green);
  color: #04120b;
  box-shadow: 5px 5px 0 var(--magenta);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--magenta); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--magenta); }

.btn-ghost {
  border-color: var(--line);
  background: rgba(16, 16, 29, 0.6);
  color: var(--ink);
  box-shadow: 5px 5px 0 rgba(0, 255, 156, 0.2);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(0, 255, 156, 0.3);
}

.btn-soon {
  border: 3px dashed rgba(255, 217, 61, 0.5);
  background: rgba(16, 16, 29, 0.7);
  color: var(--amber);
  cursor: default;
  box-shadow: none;
}
.btn-soon .dot-pulse {
  width: 9px;
  height: 9px;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255, 217, 61, 0.7);
  animation: soonPulse 2s steps(2) infinite;
}
@keyframes soonPulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  padding: 60px 0 44px;
}

.hero-inner {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.hero-inner .lead { margin-left: auto; margin-right: auto; }
.hero-inner .hero-cta { justify-content: center; }

/* ---------- Page ad rails (sticky, span full page content) ---------- */

.page-rails {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  max-width: 1760px;
  margin: 0 auto;
  padding-inline: clamp(12px, 2vw, 24px);
}
.page-rails > main { flex: 1 1 auto; min-width: 0; }

.ad-rail { flex: 0 0 260px; }
.ad-rail-sticky {
  position: sticky;
  top: 90px;
  min-height: 480px;
  border: 1px dashed rgba(143, 156, 148, 0.35);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(143, 156, 148, 0.55);
  background: rgba(255, 255, 255, 0.015);
}
.ad-slot-tag {
  font-family: var(--pixel);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ad-slot-dim {
  font-family: var(--term);
  font-size: 0.85rem;
  color: rgba(143, 156, 148, 0.4);
}
@media (max-width: 1400px) { .ad-rail { display: none; } }

.hero .kicker {
  font-family: var(--term);
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 26px;
}
.hero .kicker::before { content: ">> "; color: var(--magenta); }
.hero .kicker::after {
  content: "█";
  margin-left: 6px;
  color: var(--green);
  animation: blinkCursor 1.1s steps(1) infinite;
}
@keyframes blinkCursor { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hero h1 { max-width: 16ch; }

.decode .word { display: inline-block; white-space: nowrap; }
.decode .ch { display: inline-block; }
.decode .ch.raw { color: var(--green); text-shadow: 0 0 14px var(--glow-green); }

.hero .lead {
  max-width: 540px;
  margin-top: 26px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: #cfdcd2;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 38px; }

.hero-note {
  margin-top: 18px;
  font-family: var(--term);
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 460px;
}

/* PRESS START */

.press-start {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 10px 4px;
  border: 0;
  background: none;
  font-family: var(--pixel);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  cursor: pointer;
  animation: blinkCursor 1.2s steps(1) infinite;
}
.press-start:hover { color: #ffe98a; animation: none; text-shadow: 0 0 14px rgba(255, 217, 61, 0.6); }
@media (prefers-reduced-motion: reduce) { .press-start { animation: none; } }

body.burst #stage-glow { opacity: 1; }

/* ??? kartı: erişim reddedildi durumu */
.app-card.future { cursor: pointer; }
.app-card.future.denied {
  border-color: var(--magenta);
  box-shadow: 8px 8px 0 rgba(255, 62, 242, 0.4), 0 0 34px rgba(255, 62, 242, 0.25);
}
.app-card.future.denied h3 { color: var(--magenta); text-shadow: 0 0 14px var(--glow-magenta); }

.side-note {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--pixel);
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(143, 156, 148, 0.45);
  user-select: none;
}
@media (max-width: 1100px) { .side-note { display: none; } }

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 56px;
  align-items: center;
  width: 100%;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-height: 0; padding: 48px 0 32px; }
}

/* ---------- Telefon + lamba ---------- */

.phone {
  width: min(290px, 76vw);
  margin: 0 auto;
  padding: 12px 11px;
  border: 3px solid #000;
  outline: 2px solid var(--line);
  background: #0c0c16;
  box-shadow: 10px 10px 0 rgba(0, 255, 156, 0.15), 0 40px 90px rgba(0, 0, 0, 0.8);
}
.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 430px;
  background: radial-gradient(circle at 50% 32%, rgba(0, 255, 156, 0.07), transparent 55%), #050509;
  border: 2px solid rgba(0, 255, 156, 0.15);
  overflow: hidden;
  padding: 28px 18px;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 7px;
  background: rgba(0, 255, 156, 0.15);
}

.lamp {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #14251c, #0a1410 68%);
  border: 3px solid rgba(0, 255, 156, 0.3);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.9);
  transition: background 90ms linear, box-shadow 90ms linear, border-color 90ms linear;
}
.lamp.on {
  background: radial-gradient(circle at 46% 40%, #f4fff8, var(--green) 55%, #00b86f 100%);
  border-color: rgba(244, 255, 248, 0.9);
  box-shadow:
    0 0 44px var(--glow-green),
    0 0 120px rgba(0, 255, 156, 0.35),
    inset 0 0 18px rgba(255, 255, 255, 0.65);
}
@media (prefers-reduced-motion: reduce) {
  .lamp { transition: none; }
  .lamp.on { box-shadow: 0 0 20px var(--glow-green); }
}

.lamp-caption {
  min-height: 1.5em;
  font-family: var(--term);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ---------- Kartlar (HUD / envanter) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 28px 24px;
  border: 2px solid var(--line-dim);
  background: var(--panel-2);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  border-color: var(--green);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(255, 62, 242, 0.25);
}
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 2px solid var(--line);
  background: rgba(0, 255, 156, 0.07);
  color: var(--green);
}
.card .code {
  position: absolute;
  top: 24px;
  right: 22px;
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--magenta);
}
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.card-wide { grid-column: 1 / -1; }

/* Envanter eşya kartları */

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 30px;
  border: 3px solid var(--line);
  background: linear-gradient(165deg, #101a15, #0b0b14);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.6);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
a.app-card:hover {
  border-color: var(--green);
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 rgba(255, 62, 242, 0.3);
}
a.app-card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  transform: rotate(22deg);
  background: linear-gradient(90deg, transparent, rgba(0, 255, 156, 0.08), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
a.app-card:hover::after { left: 140%; }

.app-card h3 { font-size: clamp(0.95rem, 2.4vw, 1.3rem); margin: 0; }
.app-card p { margin: 0; color: var(--muted); max-width: 420px; }
.app-card .go {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--pixel);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.app-card .tag {
  position: absolute;
  top: 26px;
  right: 24px;
  font-family: var(--pixel);
  font-size: 0.52rem;
  color: var(--amber);
  border: 2px solid rgba(255, 217, 61, 0.4);
  padding: 6px 9px;
  background: rgba(255, 217, 61, 0.06);
}
.app-card.future {
  border-style: dashed;
  border-color: rgba(255, 62, 242, 0.35);
  background: rgba(13, 13, 24, 0.7);
}
.app-card.future .tag { color: var(--magenta); border-color: rgba(255, 62, 242, 0.4); background: rgba(255, 62, 242, 0.06); }

.app-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 3px solid var(--line);
  background: #0c1812;
  box-shadow: 4px 4px 0 rgba(0, 255, 156, 0.2);
  color: var(--green);
}

/* ---------- Canlı Sinyal (mini oyun) ---------- */

.morse-demo {
  border: 3px solid var(--line);
  background: #0b0b14;
  padding: clamp(24px, 5vw, 46px);
  position: relative;
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.6);
}
.morse-demo::before {
  content: "REC ●";
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--magenta);
  animation: soonPulse 1.6s steps(2) infinite;
}

.demo-lamp-row {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.demo-lamp-row .lamp { width: 72px; height: 72px; flex: none; }

.demo-row { display: flex; flex-wrap: wrap; gap: 14px; flex: 1; min-width: 240px; }

.morse-input {
  flex: 1 1 220px;
  padding: 12px 16px;
  border: 3px solid var(--line);
  background: #050509;
  color: var(--green);
  font-family: var(--term);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.morse-input::placeholder { color: #4a5a50; }
.morse-input:focus { border-color: var(--green); outline: 3px solid rgba(0, 255, 156, 0.3); outline-offset: 2px; }

.morse-output {
  min-height: 64px;
  padding: 16px 20px;
  border: 2px dashed var(--line-dim);
  background: #050509;
  font-family: var(--term);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.14em;
  line-height: 1.8;
  color: #7d8f84;
  overflow-wrap: anywhere;
}
.morse-output .sym { opacity: 0.45; transition: opacity 0.1s linear, text-shadow 0.1s linear, color 0.1s linear; }
.morse-output .sym.hit { opacity: 1; color: var(--green); text-shadow: 0 0 18px var(--glow-green); }
.morse-output .sym.done { opacity: 0.95; color: var(--ink); }
.morse-output .sep { opacity: 0.35; padding: 0 0.3em; color: var(--magenta); }

.demo-hint {
  margin: 16px 0 0;
  font-family: var(--term);
  font-size: 1.1rem;
  color: var(--muted);
}

/* ---------- Galeri (mağaza görselleri) ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 22px;
}
.gallery-grid figure {
  margin: 0;
  border: 3px solid var(--line-dim);
  background: #000;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.gallery-grid figure:hover {
  border-color: var(--green);
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(255, 62, 242, 0.25);
}
.gallery-grid img { display: block; width: 100%; height: auto; }
.gallery-grid figcaption {
  padding: 12px 16px;
  font-family: var(--pixel);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 2px solid var(--line-dim);
}
.gallery-grid figcaption b { color: var(--green); font-weight: 400; }

@media (prefers-reduced-motion: reduce) {
  .gallery-grid figure:hover { transform: none; }
}

/* Uygulama simgesi rozetleri */

.app-icon-badge img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero-app-icon {
  display: block;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.6);
}

/* ---------- Alt bilgi ---------- */

.site-footer {
  position: relative;
  border-top: 2px solid var(--line);
  padding: 56px 0 40px;
  background: #07070f;
  overflow: hidden;
}

.footer-word {
  margin: 0 0 46px;
  font-family: var(--pixel);
  font-size: clamp(1.6rem, 6.5vw, 5rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 255, 156, 0.3);
  user-select: none;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h3 {
  font-family: var(--pixel);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--magenta);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #bfccc2; text-decoration: none; font-size: 0.96rem; }
.site-footer a:hover { color: var(--green); text-shadow: 0 0 10px var(--glow-green); }

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 2px dashed var(--line-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: var(--term);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ---------- Görünüm animasyonları ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .btn-soon .dot-pulse, .morse-demo::before { animation: none; opacity: 1; }
  h1.decode { animation: none; }
  .hero .kicker::after { animation: none; }
  .btn-primary:hover, .btn-ghost:hover, .card:hover, a.app-card:hover { transform: none; }
  a.app-card::after { display: none; }
  #cursor-glow { display: none; }
}

/* ---------- Düello: Bit (yeşil) vs Bug (pembe) ---------- */

#duel {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  overflow: hidden;
}

#duel-cracks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

#duel-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* --- Yaratıklar --- */

.duel-fighter {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 45px;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.55));
}

.duel-fighter .d-body {
  display: block;
  image-rendering: pixelated;
  transform-origin: 50% 50%;
  transform: scaleX(var(--dflip, 1));
}

.duel-green { --dc: #00ff9c; --dc-hi: #7dffcd; --dc-dk: #00b86f; --dc-glow: rgba(0, 255, 156, 0.55); }
.duel-pink  { --dc: #ff3ef2; --dc-hi: #ffa3f8; --dc-dk: #b41fa8; --dc-glow: rgba(255, 62, 242, 0.5); }

.duel-fighter .d-skin { fill: var(--dc); }
.duel-fighter .d-hi { fill: var(--dc-hi); }
.duel-fighter .d-dk { fill: var(--dc-dk); }
.duel-fighter .d-eyes rect,
.duel-fighter .d-eyes-x rect,
.duel-fighter .d-brow rect,
.duel-fighter .d-mouth { fill: #04120b; }
.duel-fighter .d-gleam { fill: #eaffff; }
/* SVG gruplarinda tarayici [hidden]'i uygulamiyor, acikca gizliyoruz */
.duel-fighter .d-eyes[hidden],
.duel-fighter .d-eyes-x[hidden],
.duel-fighter .d-brow[hidden] { display: none; }

.duel-fighter.d-move .d-blob { animation: duelStep 0.32s steps(2) infinite; }
@keyframes duelStep {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.4px); }
}

.duel-fighter.d-mad { filter: drop-shadow(0 0 8px var(--dc-glow)) drop-shadow(0 5px 9px rgba(0, 0, 0, 0.55)); }
.duel-fighter.d-mad .d-mouth { transform: translateY(1px) scaleX(1.25); transform-origin: 17px 17px; }

.duel-fighter.d-hit .d-body { animation: duelHit 0.16s steps(2) 3; }
@keyframes duelHit {
  0%, 100% { transform: scaleX(var(--dflip, 1)); }
  50% { transform: translate(3px, -2px) scaleY(0.86) scaleX(var(--dflip, 1)); }
}

.duel-fighter.d-recoil .d-body { animation: duelRecoil 0.18s ease-out; }
@keyframes duelRecoil {
  0%, 100% { transform: scaleX(var(--dflip, 1)); }
  40% { transform: translateX(calc(var(--dflip, 1) * -4px)) scaleX(var(--dflip, 1)); }
}

.duel-fighter.d-dizzy .d-blob { animation: duelWobble 0.5s ease-in-out infinite; }
@keyframes duelWobble {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(7deg); }
}

.duel-fighter .d-stars {
  position: absolute;
  left: 50%;
  top: -16px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--amber);
  text-shadow: 0 0 8px rgba(255, 217, 61, 0.8);
}
.duel-fighter .d-stars[hidden] { display: none; }
.duel-fighter .d-stars i { font-style: normal; animation: duelStar 0.9s linear infinite; }
.duel-fighter .d-stars i:nth-child(2) { animation-delay: 0.3s; }
.duel-fighter .d-stars i:nth-child(3) { animation-delay: 0.6s; }
@keyframes duelStar {
  0%, 100% { opacity: 0.25; transform: translateY(0) scale(0.85); }
  50% { opacity: 1; transform: translateY(-4px) scale(1.15); }
}

.duel-fighter .d-bubble {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border: 2px solid var(--dc);
  background: #05070e;
  font-family: var(--term);
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--dc);
  white-space: nowrap;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
}
.duel-fighter .d-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -4px;
  border: 5px solid transparent;
  border-top-color: var(--dc);
}
.duel-fighter.d-say-below .d-bubble { bottom: auto; top: 52px; }
.duel-fighter.d-say-below .d-bubble::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: var(--dc);
}

/* --- Mermiler --- */

.d-shot {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 4px;
  border-radius: 1px;
  will-change: transform;
}
.d-shot-green { background: #00ff9c; box-shadow: 0 0 8px 1px var(--glow-green), -8px 0 10px -4px rgba(0, 255, 156, 0.7); }
.d-shot-pink { background: #ff3ef2; box-shadow: 0 0 8px 1px var(--glow-magenta), -8px 0 10px -4px rgba(255, 62, 242, 0.7); }

/* --- Kıvılcım / patlama / yazı --- */

.d-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  animation: duelSpark 0.6s ease-out forwards;
}
@keyframes duelSpark {
  from { transform: translate(0, 0) scale(1); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}

.d-flash {
  position: absolute;
  width: 90px;
  height: 90px;
  margin: -45px 0 0 -45px;
  border-radius: 50%;
  animation: duelFlash 0.4s ease-out forwards;
}
@keyframes duelFlash {
  from { transform: scale(0.3); opacity: 0.95; }
  to { transform: scale(1.5); opacity: 0; }
}

.d-burst {
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  font-family: var(--pixel);
  font-size: 0.85rem;
  color: var(--amber);
  text-shadow: 3px 3px 0 #000, 0 0 14px rgba(255, 217, 61, 0.65);
  animation: duelBurst 0.85s cubic-bezier(0.2, 1.6, 0.4, 1) forwards;
  white-space: nowrap;
}
.d-burst-big { font-size: 1.5rem; color: #fff; text-shadow: 4px 4px 0 #000, 0 0 24px rgba(255, 255, 255, 0.8); }
@keyframes duelBurst {
  0% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(0.3); opacity: 0; }
  25% { transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(1.15); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(-50%, -110%) rotate(var(--rot, 0deg)) scale(1); opacity: 0; }
}

/* --- Ekran çatlağı --- */

.d-crack { opacity: 1; transition: opacity 0.85s ease; }
.d-crack-out { opacity: 0; }
.d-crack-line {
  fill: none;
  stroke: var(--cc, #dffff2);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.55));
  animation: duelCrackDraw 0.16s linear forwards;
}
.d-crack-thin { stroke-width: 1.2; opacity: 0.75; }
@keyframes duelCrackDraw { to { stroke-dashoffset: 0; } }
.d-crack-hub {
  fill: var(--cc, #dffff2);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

/* --- Ekran sarsıntısı --- */

/* DIKKAT: sarsintiyi asla body/html uzerinde yapma. Bir ata elemana transform
   verilince position:fixed cocuklar (bu arada #duel) viewport yerine o atanin
   icine sabitlenir; sayfa kaydirilmisken yaratiklar sayfanin en tepesine
   isinlanir. Bu yuzden yalnizca sabit konumlu olmayan bolumleri sarsiyoruz. */
html.duel-shaking .site-header,
html.duel-shaking .page-rails,
html.duel-shaking .site-footer,
html.duel-shaking #duel { animation: duelShake 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes duelShake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  15% { transform: translate3d(calc(var(--duel-shake, 4px) * -1), 1px, 0); }
  30% { transform: translate3d(var(--duel-shake, 4px), -2px, 0); }
  45% { transform: translate3d(calc(var(--duel-shake, 4px) * -0.7), 2px, 0); }
  60% { transform: translate3d(calc(var(--duel-shake, 4px) * 0.7), -1px, 0); }
  80% { transform: translate3d(calc(var(--duel-shake, 4px) * -0.35), 0, 0); }
}

@media (max-width: 640px) {
  .duel-fighter { width: 46px; height: 35px; }
  .duel-fighter .d-bubble { font-size: 0.9rem; bottom: 40px; padding: 5px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  #duel { display: none; }
}


/* ---------- 404 ---------- */

.page-404 {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

/* ---------- Maskot öneri menüsü ---------- */

/* #duel aria-hidden olduğu için menü onun DIŞINDA, doğrudan body'de durur;
   aria-hidden bir atadan miras alınır ve içeriden geri açılamaz. */
#duel-menu {
  position: fixed;
  z-index: 130;
  width: min(232px, calc(100vw - 24px));
  font-family: var(--body);
  --dm: var(--green);
  --dm-glow: var(--glow-green);
}
#duel-menu[hidden] { display: none; }
#duel-menu.dm-pink { --dm: var(--magenta); --dm-glow: var(--glow-magenta); }

.dm-card {
  position: relative;
  background: #0b0b16;
  border: 2px solid var(--dm);
  box-shadow: 0 0 0 2px #0b0b16, 0 0 18px var(--dm-glow), 6px 6px 0 rgba(0, 0, 0, 0.55);
  padding: 10px 10px 8px;
  animation: dmPop 0.16s steps(3) both;
}
.dm-card::after {
  /* konuşma balonu kuyruğu */
  content: "";
  position: absolute;
  left: var(--dm-tail, 26px);
  width: 10px;
  height: 10px;
  background: #0b0b16;
  border: 2px solid var(--dm);
}
#duel-menu.dm-above .dm-card::after {
  bottom: -7px;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}
#duel-menu.dm-below .dm-card::after {
  top: -7px;
  border-bottom: 0;
  border-right: 0;
  transform: rotate(45deg);
}

@keyframes dmPop {
  from { opacity: 0; transform: translateY(6px) scale(0.9); }
  to   { opacity: 1; transform: none; }
}

.dm-q {
  font-family: var(--pixel);
  font-size: 9px;
  line-height: 1.5;
  color: var(--dm);
  text-shadow: 0 0 8px var(--dm-glow);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.dm-list { display: grid; gap: 4px; }

.dm-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid var(--line-dim);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, border-color 0.12s, transform 0.12s;
}
.dm-item .dm-n {
  font-family: var(--pixel);
  font-size: 8px;
  color: var(--dm);
  opacity: 0.85;
}
.dm-item:hover,
.dm-item:focus-visible {
  background: color-mix(in srgb, var(--dm) 16%, transparent);
  border-color: var(--dm);
  transform: translateX(2px);
  outline: none;
}
.dm-item:focus-visible { box-shadow: 0 0 0 2px var(--dm); }

.dm-close {
  margin-top: 7px;
  width: 100%;
  padding: 5px;
  border: 1px dashed var(--line-dim);
  background: none;
  color: var(--muted);
  font-family: var(--term);
  font-size: 0.95rem;
  cursor: pointer;
}
.dm-close:hover,
.dm-close:focus-visible { color: var(--ink); border-color: var(--dm); outline: none; }

@media (prefers-reduced-motion: reduce) {
  .dm-card { animation: none; }
  .dm-item { transition: none; }
}

/* ---------- Radar ---------- */

.radar-hero { padding: 74px 0 26px; }
.radar-hero h1 { font-size: clamp(2rem, 7vw, 4.2rem); margin-bottom: 0.35em; }
.radar-hero .lead { max-width: 640px; color: var(--muted); font-size: 1.05rem; }

.radar-jump { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.radar-jump a {
  font-family: var(--pixel);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--green);
  text-decoration: none;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: rgba(0, 255, 156, 0.04);
}
.radar-jump a:hover { background: rgba(0, 255, 156, 0.14); }

.radar-body { padding-bottom: 40px; }
.radar-note { padding: 10px 0 80px; }
.radar-note p { font-size: 0.88rem; max-width: 720px; }

.rd-stamp {
  font-family: var(--term);
  font-size: 1.05rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line-dim);
  padding-bottom: 12px;
  margin-bottom: 40px;
}
.rd-stamp strong { color: var(--green); font-weight: 400; }

.rd-block { padding: 26px 0 60px; }
.rd-h {
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  color: var(--ink);
  margin-bottom: 10px;
  scroll-margin-top: 100px;
}
.rd-lede { color: var(--muted); max-width: 640px; margin-bottom: 30px; font-size: 0.96rem; }
.rd-empty { color: var(--muted); font-family: var(--term); font-size: 1.2rem; }

/* Depo kartlari */

.rd-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

.rd-card {
  position: relative;
  border: 1px solid var(--line-dim);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  padding: 18px 18px 16px;
  transition: border-color 0.15s, transform 0.15s;
}
.rd-card:hover { border-color: var(--rd-accent, var(--green)); transform: translateY(-2px); }
.rd-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--rd-accent, var(--green));
  opacity: 0.65;
}

.rd-rank {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-family: var(--pixel);
  font-size: 1.5rem;
  color: var(--rd-accent, var(--green));
  opacity: 0.1;
  pointer-events: none;
}

.rd-head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; }
.rd-sigil { flex: none; margin-top: 2px; opacity: 0.9; }
.rd-title { flex: 1; min-width: 0; }
.rd-title h3 { font-family: var(--body); font-size: 1rem; margin: 0 0 5px; text-transform: none; line-height: 1.35; }
.rd-title h3 a { color: var(--ink); text-decoration: none; word-break: break-word; }
.rd-title h3 a:hover { color: var(--rd-accent, var(--green)); }
.rd-title h3 span { color: var(--muted); margin: 0 1px; }

.rd-avatar { flex: none; border: 1px solid var(--line-dim); background: #0d0d18; image-rendering: auto; }

.rd-meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 0; font-size: 0.76rem; color: var(--muted); }
.rd-lang { color: var(--rd-accent, var(--green)); }
.rd-hot { color: var(--amber); }
.rd-lic { opacity: 0.65; }

.rd-what { font-size: 0.94rem; margin: 0 0 9px; }
.rd-how { font-size: 0.88rem; color: var(--muted); margin: 0 0 11px; }
.rd-who { font-size: 0.82rem; color: var(--muted); margin: 11px 0 0; }
.rd-who span {
  font-family: var(--pixel);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rd-accent, var(--green));
  margin-right: 7px;
}

.rd-cmd { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; background: #07070f; border: 1px solid var(--line-dim); padding: 8px 10px; }
.rd-cmd-label { font-family: var(--pixel); font-size: 0.48rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rd-cmd code { font-family: var(--term); font-size: 1.02rem; color: var(--green); word-break: break-all; }

.rd-topics { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 13px 0 0; }
.rd-topics li { font-size: 0.7rem; color: var(--muted); border: 1px solid var(--line-dim); padding: 2px 7px; }

/* Haber kartlari */

.rd-list { display: grid; gap: 12px; max-width: 820px; }
.rd-news { padding: 15px 17px; }
.rd-src { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; font-size: 0.74rem; color: var(--muted); }
.rd-src .rd-sigil { width: 20px; height: 20px; margin: 0; }
.rd-src span { color: var(--rd-accent, var(--green)); font-family: var(--pixel); font-size: 0.52rem; letter-spacing: 0.06em; }
.rd-src time { margin-left: auto; font-family: var(--term); font-size: 0.95rem; }
.rd-news h3 { font-family: var(--body); font-size: 1.02rem; text-transform: none; margin: 0 0 7px; line-height: 1.4; }
.rd-news h3 a { color: var(--ink); text-decoration: none; }
.rd-news h3 a:hover { color: var(--rd-accent, var(--green)); }
.rd-news p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Ana sayfadaki kutu */

.radar-teaser { padding: 70px 0; }
.radar-teaser .section-head-p { max-width: 620px; margin-bottom: 30px; }

.radar-box { border: 1px solid var(--line); background: var(--panel-2); padding: 20px 20px 18px; max-width: 720px; }
.radar-box-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rb-live { font-family: var(--pixel); font-size: 0.52rem; letter-spacing: 0.1em; color: var(--magenta); animation: rbPulse 2.2s steps(2) infinite; }
.rb-date { font-family: var(--term); font-size: 1rem; color: var(--muted); margin-left: auto; }
@keyframes rbPulse { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.35; } }

.rb-lede { font-family: var(--pixel); font-size: 0.55rem; letter-spacing: 0.06em; color: var(--green); margin: 0 0 12px; text-transform: uppercase; }
.rb-lede-2 { margin-top: 22px; color: var(--magenta); }

.rb-list, .rb-news { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.rb-list a, .rb-news a {
  display: block;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-left: 2px solid var(--line-dim);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.12s, border-color 0.12s;
}
.rb-list a:hover, .rb-news a:hover { background: rgba(0, 255, 156, 0.06); border-left-color: var(--green); }
.rb-name { display: block; color: var(--green); font-size: 0.86rem; margin-bottom: 2px; }
.rb-what { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
.rb-src { color: var(--magenta); font-family: var(--pixel); font-size: 0.46rem; letter-spacing: 0.06em; margin-right: 9px; }
.rb-all { margin-top: 18px; display: inline-block; }

@media (max-width: 640px) {
  .rd-grid { grid-template-columns: 1fr; }
  .rd-card { padding: 15px 14px; }
  .radar-box { padding: 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .rd-card:hover { transform: none; }
  .rb-live { animation: none; }
}
