/* games.dekosta.com — Dilaver Korkmaz'ın oyunları.
   Koyu uzay paleti; vurgu rengi Swipe Samurai'nin vermilion'u. */

:root {
  color-scheme: dark;
  --bg: #0a0913;
  --panel: #121020;
  --line: #221f36;
  --ink: #ece9f5;
  --fog: #918da8;
  --accent: #f30650;
  --cyan: #28e6ff;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Yıldız alanı: tek bir radial-gradient katmanı, görsel indirmeden derinlik verir. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 20% 30%, #ffffff55, transparent),
    radial-gradient(1px 1px at 70% 15%, #28e6ff44, transparent),
    radial-gradient(1px 1px at 40% 70%, #f3065033, transparent),
    radial-gradient(1px 1px at 85% 60%, #ffffff33, transparent),
    radial-gradient(1px 1px at 10% 85%, #ffffff22, transparent);
}

.wrap { position: relative; max-width: 58rem; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin-bottom: 48px;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.site a { color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: .02em; }
header.site nav a { color: var(--fog); font-weight: 400; margin-left: 18px; font-size: .94rem; }
header.site nav a:hover { color: var(--ink); }

h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; }
h2 { font-size: 1.3rem; margin: 40px 0 12px; letter-spacing: -.01em; }
h3 { font-size: 1.02rem; margin: 26px 0 6px; }
p { margin: 0 0 14px; }
a { color: var(--accent); }

.lead { font-size: 1.12rem; color: var(--fog); max-width: 42rem; }
.muted { color: var(--fog); font-size: .92rem; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  margin: 10px 10px 10px 0;
}
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* Oyun kartları ve ekran görüntüleri: aynı esnek ızgara, dar ekranda tek sütuna iner. */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
}
.card:hover { border-color: var(--accent); }
.card h3 { margin: 0 0 4px; }
.card p { margin: 0; color: var(--fog); font-size: .94rem; }

.shots { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 22px 0; }
.shots img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); display: block; }

ul { padding-left: 1.15rem; }
li { margin-bottom: 7px; }

.legal h2 { font-size: 1.12rem; }
.legal { max-width: 44rem; }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding: 26px 0 40px;
  color: var(--fog);
  font-size: .9rem;
}
footer.site a { color: var(--fog); }
