/* Magic Eraser — site stili.
   Uygulamanın tasarım dilinin web karşılığı: gece eriği zemin, nane aksan,
   Righteous (afiş) + Space Grotesk (gövde). Tek dosya, bağımlılık yok. */

:root {
  --ink: #131022;
  --ink-raised: #1d1836;
  --ink-soft: #2a2350;
  --mint: #57f2c5;
  --mint-light: #7df7d6;
  --lilac: #a78bfa;
  --coral: #ff6e7e;
  --sun: #ffd166;
  --text-hi: #f5f2ff;
  --text-lo: #a79fc4;
  --max: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-hi);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Köşelerde nefes alan ışık — uygulamadaki AmbientGlow'un karşılığı */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px circle at 12% -5%, rgba(167, 139, 250, 0.16), transparent 70%),
    radial-gradient(380px circle at 88% 105%, rgba(87, 242, 197, 0.11), transparent 70%);
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* — Üst bar — */
header.bar {
  padding: 26px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-hi);
}

.brand span {
  font-family: "Righteous", cursive;
  font-size: 21px;
  letter-spacing: 0.2px;
}

/* — Kahraman — */
.hero {
  text-align: center;
  padding: 46px 0 40px;
}

.hero .mascot { margin-bottom: 14px; }

h1 {
  font-family: "Righteous", cursive;
  font-size: clamp(38px, 8vw, 60px);
  line-height: 1.06;
  margin: 0 0 14px;
  font-weight: 400;
}

.hero p.lede {
  color: var(--text-lo);
  font-size: 19px;
  margin: 0 auto;
  max-width: 480px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  background: var(--ink-raised);
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 14px;
  color: var(--text-hi);
}

.chips li b { color: var(--mint); font-weight: 500; }

/* — Kartlar — */
.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 40px 0;
}

.card {
  background: var(--ink-raised);
  border: 1px solid var(--ink-soft);
  border-radius: 20px;
  padding: 20px;
}

.card h3 {
  font-family: "Righteous", cursive;
  font-weight: 400;
  font-size: 17px;
  margin: 0 0 6px;
}

.card p { margin: 0; color: var(--text-lo); font-size: 15px; }

/* — Metin sayfaları — */
.doc { padding: 30px 0 10px; }

.doc h1 { font-size: clamp(30px, 6vw, 40px); text-align: left; }

.doc .updated {
  color: var(--text-lo);
  font-family: "Space Mono", monospace;
  font-size: 13px;
  margin: -6px 0 32px;
}

.doc h2 {
  font-family: "Righteous", cursive;
  font-weight: 400;
  font-size: 21px;
  margin: 36px 0 10px;
  color: var(--mint);
}

.doc p, .doc li { color: var(--text-lo); }
.doc strong { color: var(--text-hi); font-weight: 500; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 7px; }

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 15px;
}

.doc th, .doc td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--ink-soft);
  vertical-align: top;
}

.doc th { color: var(--text-hi); font-weight: 500; }
.doc td { color: var(--text-lo); }

.callout {
  background: var(--ink-raised);
  border: 1px solid var(--ink-soft);
  border-left: 3px solid var(--mint);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 22px 0;
}

.callout p { margin: 0; }

a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }

/* — Butonlar — */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--mint-light), var(--mint));
  color: var(--ink);
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(87, 242, 197, 0.22);
  transition: transform 0.18s ease;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn.ghost {
  background: var(--ink-raised);
  color: var(--text-hi);
  border: 1px solid var(--ink-soft);
  box-shadow: none;
  font-weight: 500;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

/* — Alt bilgi — */
footer {
  margin-top: 64px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--ink-soft);
  color: var(--text-lo);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
}

footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--text-lo); }
footer a:hover { color: var(--mint); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 32px 0 26px; }
}
