/* ============================================================
   OK Sosyal Oyun Platformu — 2026 tasarım sistemi
   Palet: sıcak krem zemin, beyaz kartlar, keçe yeşili vurgu
   ============================================================ */

:root {
  --cream-1: #f4ecd8;
  --cream-2: #e6d6b4;
  --card: #fffdf7;
  --ink: #2f2817;
  --muted: #9a8c6c;
  --green: #1e6b3f;
  --green-dark: #155030;
  --line: #e2d7bd;
  --red: #d2403b;
  --gold: #c98f2a;
  --gold-soft: #e5be67;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-soft: 0 18px 45px -18px rgba(47, 40, 23, .22);
  --shadow-card: 0 10px 30px -12px rgba(47, 40, 23, .18);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(160deg, var(--cream-1) 0%, var(--cream-2) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 17px;
  min-height: 100vh;
}

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

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

::selection { background: var(--gold-soft); color: var(--ink); }

.wrap { width: min(1120px, 92%); margin: 0 auto; }

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; color: var(--ink); }

.display-xl { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.01em; }
.display-lg { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
.display-md { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 700; }

.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #5c5240; max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }

/* ---------- Navigasyon (sticky cam) ---------- */

.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 236, 216, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(226, 215, 189, .8);
}

.site-nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  color: var(--ink); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }

.nav-links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: #5c5240; font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(30, 107, 63, .09); color: var(--green-dark); }
.nav-links a.active { background: var(--green); color: #fff; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  box-shadow: 0 8px 20px -8px rgba(30, 107, 63, .55);
  transition: transform .15s, background .2s;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 11px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { display: block; }

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

.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}

.hero-copy .lead { margin: 20px 0 30px; }

.hero-motto {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px;
}
.hero-motto span {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: .88rem; font-weight: 700; color: var(--green-dark);
  box-shadow: var(--shadow-card);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 800; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-disabled { background: transparent; color: var(--ink); border: 2px dashed var(--line); opacity: .62; cursor: default; }
.btn small { display: block; font-weight: 600; font-size: .72rem; opacity: .75; line-height: 1.2; }
.btn .btn-text { text-align: left; line-height: 1.25; }

.hero-shot { position: relative; }
/* width/height attribute'ları bazı motorlarda yüksekliği sabitliyor → görsel YATAY
   sıkışıyordu; oranı CSS ile kilitle (16:9 kaynak ekran görüntüleri). */
.hero-shot .shot-frame img, .split .shot img, .rule-block .shot img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
}
.hero-shot .shot-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 32px 70px -24px rgba(47, 40, 23, .42);
  border: 6px solid var(--card);
  transform: rotate(1.2deg);
  transition: transform .4s ease;
}
.hero-shot:hover .shot-frame { transform: rotate(0deg) scale(1.01); }
.hero-shot .shot-caption {
  position: absolute; left: 18px; bottom: -16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: .82rem; font-weight: 700; color: var(--green-dark);
  box-shadow: var(--shadow-card);
}

/* ---------- Bölümler ---------- */

.section { padding: clamp(44px, 7vw, 84px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .lead { margin-top: 12px; }

/* ---------- Kartlar ---------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.card .icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  color: #fff; margin-bottom: 16px;
}
.card .icon.gold { background: linear-gradient(145deg, var(--gold-soft), var(--gold)); color: var(--ink); }
.card .icon.red { background: linear-gradient(145deg, #e06a64, var(--red)); }

.card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.card p { color: #5c5240; font-size: .97rem; }
.card ul { margin: 8px 0 0 18px; color: #5c5240; font-size: .97rem; }
.card li { margin-bottom: 5px; }

/* Oyun kartı (landing) */
.game-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .25s ease;
}
.game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); text-decoration: none; }
.game-card .gc-img { aspect-ratio: 16 / 9; overflow: hidden; background: #173a28; }
.game-card .gc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.game-card:hover .gc-img img { transform: scale(1.04); }
.game-card .gc-body { padding: 20px 22px 24px; }
.game-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.game-card p { color: #5c5240; font-size: .94rem; }
.game-card .gc-more {
  margin-top: 14px; font-weight: 800; font-size: .9rem; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
}
.game-card:hover .gc-more { gap: 10px; }
.game-card .gc-more { transition: gap .2s; }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.tag.live { background: rgba(30, 107, 63, .12); color: var(--green-dark); }
.tag.soon { background: rgba(201, 143, 42, .16); color: #8a6114; }

.soon-card { opacity: .92; }
.soon-card .gc-img { position: relative; }
.soon-card .gc-img::after {
  content: ""; position: absolute; inset: 0; background: rgba(244, 236, 216, .45);
}

/* ---------- Kural sayfaları ---------- */

.page-hero {
  padding: clamp(44px, 7vw, 80px) 0 clamp(24px, 4vw, 40px);
}
.page-hero .lead { margin-top: 16px; }

.toc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 26px; box-shadow: var(--shadow-card); margin: 26px 0 40px;
}
.toc strong { font-family: var(--font-display); font-size: 1.05rem; display: block; margin-bottom: 10px; }
.toc ol { margin-left: 20px; columns: 2; column-gap: 40px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--green-dark); font-weight: 600; font-size: .95rem; }

.rule-block {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-card); margin-bottom: 26px;
}
.rule-block h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 14px; }
.rule-block h3 { font-size: 1.15rem; margin: 22px 0 8px; }
.rule-block p { color: #4a4130; margin-bottom: 12px; }
.rule-block ul, .rule-block ol { margin: 0 0 14px 22px; color: #4a4130; }
.rule-block li { margin-bottom: 7px; }

.rule-block .shot {
  border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line);
  margin: 18px 0; box-shadow: var(--shadow-card);
}

.callout {
  border-left: 4px solid var(--gold); background: rgba(229, 190, 103, .14);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px; margin: 16px 0; color: #4a4130;
}
.callout.green { border-color: var(--green); background: rgba(30, 107, 63, .08); }
.callout.red { border-color: var(--red); background: rgba(210, 64, 59, .07); }
.callout strong { color: var(--ink); }

/* Puan tabloları */
.table-scroll { overflow-x: auto; margin: 14px 0 18px; border-radius: var(--radius-md); border: 1px solid var(--line); }
table.rules { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; min-width: 480px; }
table.rules th, table.rules td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.rules th { background: var(--green); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
table.rules tr:last-child td { border-bottom: none; }
table.rules tr:nth-child(even) td { background: rgba(244, 236, 216, .4); }

.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 8px; border: 1px solid rgba(0,0,0,.2); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.chip {
  background: rgba(30, 107, 63, .09); color: var(--green-dark); border: 1px solid rgba(30, 107, 63, .25);
  border-radius: 999px; padding: 6px 16px; font-size: .88rem; font-weight: 700;
}
.chip.gold { background: rgba(201, 143, 42, .12); color: #8a6114; border-color: rgba(201, 143, 42, .35); }

/* İki kolonlu bilgi bandı */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.split .shot { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); border: 6px solid var(--card); }

/* CTA bandı */
.cta-band {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-lg); color: #fff;
  padding: clamp(32px, 5vw, 56px); text-align: center;
  box-shadow: var(--shadow-soft); margin: clamp(30px, 5vw, 60px) 0;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 52ch; margin: 0 auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--green-dark); }
.cta-band .btn-primary:hover { background: var(--cream-1); }
.cta-band .btn-disabled { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .45); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 247, .55);
  padding: 40px 0 34px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer nav a { color: #5c5240; font-weight: 600; font-size: .95rem; }
.site-footer nav a:hover { color: var(--green-dark); }
.site-footer .copy { color: var(--muted); font-size: .88rem; width: 100%; }

/* ---------- Gizlilik (legal) ---------- */

.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: .92rem; margin-bottom: 26px; }
.legal h2 { font-size: 1.35rem; margin: 30px 0 10px; }
.legal p { color: #4a4130; margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 22px; color: #4a4130; }
.legal li { margin-bottom: 7px; }
.legal .en {
  margin-top: 36px; border-top: 1px dashed var(--line); padding-top: 26px;
}
.legal .en p { color: var(--muted); font-size: .95rem; }

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-shot { order: -1; }
  .hero-shot .shot-frame { transform: none; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(244, 236, 216, .97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: 12px 4% 18px;
    box-shadow: 0 24px 40px -20px rgba(47, 40, 23, .3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 18px; font-size: 1.05rem; }
  .nav-cta { justify-content: center; margin-top: 8px; }
  .site-nav { position: sticky; }
  .toc ol { columns: 1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-5, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn-ghost { width: auto; }
}


