/* Kanasta tanıtım sayfası — tek stil dosyası.
   Renk ve tipografi oyunun DESIGN.md sistemiyle aynı: klasik çuha yeşili,
   seyrek altın vurgu, Fraunces başlık / Inter gövde. */

:root {
  --felt-hi:  #3c7d27;
  --felt-mid: #256016;
  --felt-lo:  #123409;
  --ground:   #0b2107;          /* sayfanın en koyu zemini — çuhanın dibi */
  --gold:      #d8b45a;
  --gold-light:#ecd6a0;
  --gold-deep: #a67c22;
  --ivory:    #f2ede1;
  --ivory-dim:#c8d4bd;          /* ikincil metin — griden değil, çuha tonundan */
  --line:     rgba(216, 180, 90, .22);
  --shadow:      0 2px 6px rgba(0, 0, 0, .28);
  --shadow-lift: 0 18px 40px rgba(0, 0, 0, .45);
  --measure: 34rem;             /* gövde satır uzunluğu ~68ch */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Yapışkan üst bar bağlantı hedeflerini örtmesin. */
:target { scroll-margin-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--ivory);
  font: 400 1rem/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Doku HER ZAMAN listenin ilk öğesi + soft-light (oyunun felt-surfaces kuralı). */
  /* Gövde zemini DÜZ ton. Çuha dokusu yalnızca yüksekliği sınırlı bölümlerde
     (hero, kapanış) kullanılır: sayfa boyuna gerilmiş bir doku her scroll'da
     yeniden boyanıyor ve render'ı kilitliyordu. `background-attachment: fixed`
     de aynı nedenle yasak (üstelik iOS Safari desteklemez). */
  background: var(--felt-lo);
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--gold); color: #1a1208; }

a { color: var(--gold-light); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--gold); }

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem;
  z-index: 10;
  padding: .6rem 1rem;
  background: var(--ivory); color: #123409;
  border-radius: 8px;
  font-weight: 700;
}

/* ── Tipografi ──────────────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.02;
}

.section-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }

h3 { font-size: 1.22rem; line-height: 1.2; }

p { margin: 0; max-width: var(--measure); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ivory-dim);
}

.note {
  font-size: .85rem;
  color: var(--ivory-dim);
  letter-spacing: .01em;
}

.footnote {
  margin-top: 2.5rem;
  font-size: .92rem;
  color: var(--ivory-dim);
}

/* ── Butonlar ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 700 1rem/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .22s cubic-bezier(.2, .8, .3, 1),
              transform .22s cubic-bezier(.2, .8, .3, 1),
              background-color .22s ease, border-color .22s ease;
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold-deep);
  color: #1a1208;
  box-shadow: var(--shadow);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: #1a1208;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .34);
}

.btn-ghost {
  background: rgba(0, 0, 0, .22);
  border-color: var(--line);
  color: var(--ivory);
}
.btn-ghost:hover {
  background: rgba(0, 0, 0, .34);
  border-color: rgba(216, 180, 90, .5);
  color: var(--ivory);
  transform: translateY(-2px);
}

.btn-sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .92rem; }

.btn:active { transform: translateY(0); }

/* ── Üst bar ────────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 3.5rem);
  /* Opak zemin — `backdrop-filter` yok: yapışkan bir barın altındaki her
     scroll karesini yeniden bulanıklaştırmak sayfayı gözle görülür kilitliyordu. */
  background: #0a1f06;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--gold);
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .18em;
}
.wordmark:hover { color: var(--gold-light); }
.wordmark img { width: 30px; height: 30px; }

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 2vw, 1.5rem);
}

.topnav-link {
  color: var(--ivory-dim);
  text-decoration: none;
  font-size: .95rem;
}
.topnav-link:hover { color: var(--ivory); }

/* Dar ekranda bar üç öğeye sığmıyor; "Nasıl oynanır" zaten hero'da ikinci
   buton olarak duruyor — barda gizlenir, kimse bir yol kaybetmez. */
@media (max-width: 34rem) {
  .topnav-link { display: none; }
}

.langswitch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.langswitch button {
  min-width: 44px;
  min-height: 34px;
  padding: 0 .55rem;
  border: 0;
  background: transparent;
  color: var(--ivory-dim);
  font: 700 .78rem/1 Inter, system-ui, sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.langswitch button:hover { color: var(--ivory); background: rgba(255, 255, 255, .06); }
.langswitch button[aria-pressed="true"] {
  background: var(--gold);
  color: #1a1208;
}

/* ── Görsel levhalar ────────────────────────────────────────────────────── */

.plate { margin: 0; }

.plate img {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.plate figcaption {
  margin-top: .85rem;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--ivory-dim);
  max-width: 30rem;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 7vw, 5.5rem);
  /* Hero, sayfanın en açık çuhası — aşağı indikçe masa kararır. */
  background:
    url("/assets/felt.webp") center / 100% 100% no-repeat,
    radial-gradient(ellipse 80% 70% at 30% 30%, var(--felt-hi) 0%, transparent 72%),
    linear-gradient(165deg, var(--felt-mid) 0%, var(--felt-lo) 100%);
  background-blend-mode: soft-light, normal, normal;
  border-bottom: 1px solid var(--line);
}

.hero-copy { display: grid; gap: 1.5rem; justify-items: start; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: .25rem 0 0;
}

@media (min-width: 62rem) {
  .hero {
    /* minmax(0, 1fr): grid öğesinin varsayılan min-width:auto'su, 1600px'lik
       masa görselinin sütunu viewport'un dışına itmesine izin veriyordu. */
    grid-template-columns: minmax(20rem, 27rem) minmax(0, 1fr);
    padding-right: 0;                       /* levha sağ kenardan taşsın */
  }
  .hero-plate img { border-radius: 12px 0 0 12px; border-right: 0; }
}

/* Tek yetkilendirilmiş giriş anı: hero içeriği bulanıklıktan netleşerek yükselir.
   `fill-mode` YOK ve gecikme YOK — animasyon hiç çalışmazsa (arka plan sekmesi,
   CSS yarım yüklenmesi) içerik görünür kalır; giriş anı hiçbir zaman metni
   gizleyen tek şey olamaz. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-plate {
    animation: rise .9s cubic-bezier(.16, 1, .3, 1);
  }
  .hero-plate { animation-duration: 1.15s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: none;             filter: blur(0); }
}

/* ── Bantlar ────────────────────────────────────────────────────────────── */

.band {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 3.5rem);
  max-width: 76rem;
  margin: 0 auto;
}

.band-alt { border-top: 1px solid var(--line); }

.band-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.reasons {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.reasons article {
  display: grid;
  gap: .7rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.reasons p { color: var(--ivory-dim); }

@media (min-width: 52rem) {
  .reasons { grid-template-columns: repeat(3, 1fr); }
}

/* ── Adımlar ────────────────────────────────────────────────────────────── */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0 1.25rem;
  align-items: baseline;
}

.steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  font-family: Fraunces, Georgia, serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  text-align: right;
}

.steps p {
  grid-column: 2;
  margin-top: .5rem;
  color: var(--ivory-dim);
}

@media (min-width: 52rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 4rem; }
}

/* ── Bölünmüş bölüm ─────────────────────────────────────────────────────── */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

.split-copy { display: grid; gap: 1.25rem; }
.split-copy p { color: var(--ivory-dim); }

@media (min-width: 62rem) {
  .split { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); }
}

/* ── Kapanış ────────────────────────────────────────────────────────────── */

.closing {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) 1.25rem;
  background:
    url("/assets/felt.webp") center / 100% 100% no-repeat,
    linear-gradient(165deg, var(--felt-mid) 0%, var(--felt-lo) 100%);
  background-blend-mode: soft-light, normal;
  border-top: 1px solid var(--line);
}

.closing h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
}
.closing p { color: var(--ivory-dim); }
.closing .btn { margin-top: .75rem; }

/* ── Alt bilgi ──────────────────────────────────────────────────────────── */

.foot {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  padding: 2.5rem 1.25rem 3rem;
  background: rgba(0, 0, 0, .35);
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--ivory-dim);
}

.foot p { color: var(--ivory-dim); }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
}
.foot-links a { color: var(--ivory-dim); }
.foot-links a:hover { color: var(--gold-light); }
