/* kiraathanee.com — oyunun kendi görünümü: ceviz masa, pirinç sarısı yazı, yeşil düğme, okey taşı. */
:root {
  --wood-950: #120a06;
  --wood-900: #1b100a;
  --wood-800: #27170e;
  --wood-700: #3b2315;
  --wood-600: #553018;
  --brass: #f1c45c;
  --brass-deep: #c88a22;
  --brass-soft: #ffe6a8;
  --cream: #f3e8d2;
  --text: #efe3ca;
  --dim: #c2ae8f;
  --line: rgba(241, 196, 92, 0.22);
  --tile: #f5eeda;
  --t-red: #c5261c;
  --t-yellow: #d2920c;
  --t-blue: #1d5cb8;
  --t-black: #1d1b1a;
  --display: "Palatino Linotype", "Book Antiqua", Palatino, "Noto Serif", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--wood-900);
  /* ince ahşap damarı */
  background-image:
    repeating-linear-gradient(92deg, rgba(255, 220, 160, 0.018) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, var(--wood-900), var(--wood-950));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--brass-soft); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.gold {
  background: linear-gradient(180deg, #fff0bd 0%, var(--brass) 45%, var(--brass-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- düğmeler (oyundaki yeşil / koyu hap düğmeler) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 30px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-play {
  color: #fff; text-shadow: 0 2px 2px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, #55d168 0%, #1c9330 48%, #0c5c1a 100%);
  border: 2px solid var(--brass);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 -6px 12px rgba(0, 0, 0, 0.28), 0 10px 24px rgba(0, 0, 0, 0.45);
}
.btn-ghost {
  color: var(--text);
  background: rgba(27, 16, 10, 0.72);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-small { min-height: 42px; padding: 6px 22px; font-size: 17px; }
.btn[aria-disabled="true"] { opacity: 0.62; cursor: default; pointer-events: none; }

/* ---- okey taşı (bölüm numaraları ve süs) ---- */
.tile {
  --c: var(--t-red);
  display: inline-grid; place-items: center; align-content: center; gap: 2px;
  width: 46px; height: 60px; flex: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbf6e6, var(--tile));
  box-shadow: inset 0 -5px 0 #d8cdb2, inset 0 1px 0 #fff, 0 6px 14px rgba(0, 0, 0, 0.5);
  color: var(--c);
  font: 800 27px/1 var(--display);
  padding-bottom: 5px;
}
.tile::after { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--c); }
.tile.y { --c: var(--t-yellow); }
.tile.b { --c: var(--t-blue); }
.tile.k { --c: var(--t-black); }

/* ---- üst çubuk ---- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 10, 6, 0.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { height: 26px; width: auto; }
.brand span { font-family: var(--display); font-size: 19px; color: var(--dim); padding-left: 12px; border-left: 1px solid var(--line); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--text); text-decoration: none; font-size: 16px; opacity: 0.86; }
.nav a:hover { opacity: 1; color: var(--brass); }

/* ---- giriş ---- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 104px);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("img/kahve.webp") center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 10, 6, 0.95) 0%, rgba(18, 10, 6, 0.84) 42%, rgba(18, 10, 6, 0.46) 100%),
    linear-gradient(0deg, rgba(18, 10, 6, 0.9) 0%, transparent 34%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow {
  font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brass); }
.hero-logo { width: min(100%, 430px); margin: 20px 0 6px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6)); }
.hero h1 { font-size: clamp(30px, 4.3vw, 50px); color: var(--cream); margin-top: 10px; }
.hero .lead { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.facts li {
  font-size: 14px; color: var(--dim);
  padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(18, 10, 6, 0.55);
}

.stage { position: relative; }
.device {
  margin: 0; padding: 9px; border-radius: 26px;
  background: linear-gradient(180deg, #2a1a10, #0d0705);
  border: 1px solid rgba(241, 196, 92, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.device img { border-radius: 18px; width: 100%; }
.device.inset {
  position: absolute; width: 46%; right: -3%; bottom: -13%;
  padding: 6px; border-radius: 18px; transform: rotate(3deg);
}
.device.inset img { border-radius: 12px; }

/* ---- bölümler ---- */
section { padding: clamp(56px, 8vw, 104px) 0; }
.head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: clamp(26px, 4vw, 44px); }
.head h2 { font-size: clamp(30px, 4vw, 46px); }
.head p { color: var(--dim); margin-top: 8px; max-width: 46em; }

/* oyun kartları */
.card {
  background: linear-gradient(180deg, #2c1a10, #1c110a);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card .body { padding: 20px 22px 24px; }
.card h3 { font-size: 26px; color: var(--brass); display: flex; align-items: center; gap: 12px; }
.card h3 .tile { width: 34px; height: 44px; font-size: 20px; border-radius: 6px; padding-bottom: 3px; }
.card h3 .tile::after { width: 8px; height: 8px; border-width: 2px; }
.card p { color: var(--text); margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 13.5px; color: var(--brass-soft); padding: 4px 11px; border-radius: 999px; background: rgba(241, 196, 92, 0.1); border: 1px solid var(--line); }

.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-bottom: 22px; }
.feature img { height: 100%; aspect-ratio: auto; min-height: 100%; }
.feature .body { padding: clamp(22px, 3vw, 40px); align-self: center; }
.feature h3 { font-size: clamp(28px, 3vw, 38px); }
.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

/* kahvehane */
.cafe { position: relative; isolation: isolate; border-block: 1px solid var(--line); }
.cafe::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("img/masa.webp") center / cover no-repeat; }
.cafe::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 10, 6, 0.95), rgba(18, 10, 6, 0.82)); }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin: 0; padding: 0; list-style: none; }
.list li { padding-left: 18px; border-left: 2px solid var(--brass-deep); }
.list strong { display: block; font-family: var(--display); font-size: 20px; color: var(--brass); }
.list span { color: var(--text); font-size: 16px; }
figure { margin: 0; }
figcaption { margin-top: 12px; font-size: 14.5px; color: var(--dim); text-align: center; }

/* lig ve masalar */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.duo figcaption { text-align: left; font-size: 16px; color: var(--text); }
.duo figcaption strong { font-family: var(--display); font-size: 21px; color: var(--brass); display: block; }
.daily { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; }
.daily li { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(44, 26, 16, 0.6); font-size: 15.5px; }
.daily strong { display: block; font-family: var(--display); font-size: 19px; color: var(--brass); }

/* açık konuşalım: krem kâğıt */
.paper {
  color: #2a1a10; background: linear-gradient(180deg, #f8efdc, #ecdfc4);
  border-radius: 22px; padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(120, 80, 30, 0.25);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: start;
}
.paper h2 { font-size: clamp(28px, 3.4vw, 40px); color: #4a2a12; }
.paper .stamp {
  display: inline-block; margin-top: 16px; padding: 4px 14px; border: 2px solid #9c2a1c; color: #9c2a1c; border-radius: 8px;
  font-family: var(--display); font-weight: 700; font-size: 22px; transform: rotate(-4deg);
}
.paper dl { margin: 0; display: grid; gap: 18px; }
.paper dt { font-family: var(--display); font-weight: 700; font-size: 21px; color: #4a2a12; }
.paper dd { margin: 4px 0 0; }

/* nereden oynanır */
.where { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.where .card { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.where h3 { font-size: 25px; color: var(--brass); }
.where p { color: var(--text); flex: 1; }
.where .btn { margin-top: 12px; }
.soon { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.now { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #7fe08f; }

/* alt bilgi */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; background: var(--wood-950); font-size: 15px; color: var(--dim); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: 32px; }
footer img { height: 30px; width: auto; margin-bottom: 12px; }
footer h4 { margin: 0 0 10px; font: 700 16px var(--display); color: var(--brass); letter-spacing: 0.04em; }
footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--brass); text-decoration: underline; }
.fine { font-size: 13.5px; line-height: 1.55; }

/* belge sayfası (gizlilik) */
.doc { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); }
.doc .wrap { width: min(100% - 40px, 780px); }
.doc h1 { font-size: clamp(32px, 5vw, 48px); }
.doc h2 { font-size: 25px; color: var(--brass); margin: 38px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc .meta { color: var(--dim); margin-top: 14px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0 8px; }
.todo { background: rgba(241, 196, 92, 0.16); border: 1px dashed var(--brass); border-radius: 6px; padding: 0 6px; color: var(--brass-soft); }

/* ---- dar ekranlar ---- */
@media (max-width: 1000px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .hero .wrap, .split, .feature, .paper { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(18, 10, 6, 0.9) 0%, rgba(18, 10, 6, 0.8) 55%, rgba(18, 10, 6, 0.95) 100%); }
  .stage { margin: 8px 3% 9%; }
  .feature img { aspect-ratio: 16 / 9; }
  .where { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .brand span { display: none; }
  .games, .duo, .list, .daily { grid-template-columns: 1fr; }
  .head { align-items: flex-start; gap: 14px; }
  .head .tile { width: 40px; height: 52px; font-size: 23px; }
  .cta .btn { flex: 1 1 100%; }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
