/* okeydayi.com: oyunun Retro Kıraathane dili (art/retro/mockups/site-*.png taslakları). Renkler, yazı tipleri,
   düğmeler, kartlar ve başlık şeridi oyundaki src/style.css ile aynı.
   Oyun gibi ekrana göre ölçeklenir: masaüstünde bütün ölçüler rem, rem de ekran genişliğinden gelir (1440 px'te 16 px). */
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
:root {
  --mustard: #cd8f20; --mustard-2: #b97a1a; --orange: #f19d1b; --burnt: #d2602a;
  --teal: #2f6f6a; --cocoa: #47210e; --cream: #f4ddb2; --cream-2: #fbefd6; --dark: #231c18;
  --dim: rgba(35, 28, 24, .72);
  --outline: .19rem solid var(--cocoa);
  --pop: 0 .25rem 0 rgba(71, 33, 14, .55);
  --title: "Fraunces", Georgia, serif;
  --ui: "Nunito", "Segoe UI", system-ui, sans-serif;
}
html { font-size: clamp(12px, calc(100vw / 90), 32px); background: var(--mustard); }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--dark); font: 500 1.06rem/1.6 var(--ui);
  background: var(--mustard) url("img/felt.webp") repeat; background-size: 26rem; }
a { color: inherit; }
a:focus-visible, .pill:focus-visible, .store:focus-visible { outline: .19rem solid var(--cream-2); outline-offset: .19rem; box-shadow: 0 0 0 .38rem var(--cocoa); }
.wrap { width: 100%; max-width: 77.5rem; margin: 0 auto; padding: 0 1.5rem; }

/* Örtü bandı: oyun çerçevesinin üst kenarı */
.band { position: relative; z-index: 3; height: 3.6rem; background: var(--burnt) url("img/band.webp") center / auto 100% repeat-x; }
header.band { border-bottom: .25rem solid var(--cocoa); }
header .wrap { max-width: none; height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.logo { position: absolute; left: 1.5rem; top: .25rem; width: 12.5rem; filter: drop-shadow(0 .3rem 0 rgba(71, 33, 14, .45)); }
.logo img { display: block; width: 100%; height: auto; }
nav { display: flex; gap: .62rem; }

/* Hap düğme: oyundaki krem, petrol ve turuncu haplar */
.pill { display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1.12rem; border: var(--outline); border-radius: 1.4rem; box-shadow: var(--pop);
  background: var(--cream-2); color: var(--dark); font: 800 .94rem/1 var(--ui); text-decoration: none; white-space: nowrap; transition: transform .08s, filter .15s; }
.pill.teal { background: var(--teal); color: var(--cream-2); }
.pill.on { background: var(--orange); color: var(--dark); }
.pill:hover { filter: brightness(1.08); }
.pill:active { transform: translateY(.12rem); box-shadow: 0 .12rem 0 rgba(71, 33, 14, .55); }

/* Ana sayfa: Dayı'nın masası. Görsel genişliğe göre ölçeklenir; metin Dayı'nın kolunun (genişliğin ~%45'i) solunda kalır */
.hero { position: relative; min-height: 46vw; display: flex; align-items: center; overflow: hidden; border-bottom: .25rem solid var(--cocoa); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(214, 152, 40, .82) 0%, rgba(214, 152, 40, .6) 32%, rgba(214, 152, 40, 0) 48%); }
.hero .wrap { position: relative; z-index: 2; max-width: none; padding: 10.6rem 0 3.5rem 6vw; }
.copy { max-width: 32.5rem; }
h1.big { margin: 0 0 1.1rem; font: 900 4.55rem/1.02 var(--title); font-variation-settings: "SOFT" 100, "WONK" 0; color: var(--cream-2);
  -webkit-text-stroke: .62rem var(--cocoa); paint-order: stroke fill; text-shadow: 0 .38rem 0 rgba(71, 33, 14, .45); letter-spacing: .01em; }
.lead { margin: 0 0 1.75rem; font: 800 1.3rem/1.45 var(--ui); }
.store { display: inline-flex; align-items: center; gap: .75rem; height: 4.1rem; padding: 0 2.1rem; border: .25rem solid var(--cocoa); border-radius: 2.25rem;
  background: var(--orange); color: var(--dark); box-shadow: 0 .3rem 0 rgba(71, 33, 14, .55); font: 900 1.38rem/1 var(--ui); text-decoration: none; transition: transform .08s, filter .15s; }
.store:hover { filter: brightness(1.06); }
.store:active { transform: translateY(.19rem); box-shadow: 0 .12rem 0 rgba(71, 33, 14, .55); }
.store svg { width: 1.6rem; height: 1.6rem; flex: none; }

/* Oyunun giriş ekranındaki iki kart */
.modes { padding: 2.75rem 0 1.9rem; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem; }
.card { margin: 0; padding: 1rem 1rem 1.4rem; text-align: center; background: var(--cream); border: .25rem solid var(--cocoa); border-radius: 1.6rem; box-shadow: var(--pop); }
.card img { display: block; width: 100%; height: auto; aspect-ratio: 611 / 504; object-fit: cover; border: .19rem solid var(--cocoa); border-radius: 1.1rem; }
.card h2 { margin: .9rem 0 .25rem; font: 700 2.75rem/1.05 var(--title); font-variation-settings: "SOFT" 100; }
.card p { margin: 0; font: 700 1.06rem/1.35 var(--ui); color: var(--dim); }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .88rem; margin: 0; padding: .25rem 0 3rem; }
.chips li { display: inline-flex; align-items: center; height: 3rem; padding: 0 1.6rem; border: var(--outline); border-radius: 1.5rem; box-shadow: var(--pop);
  background: var(--teal); color: var(--cream-2); font: 800 1.06rem/1 var(--ui); }

/* Metin sayfaları: kıraathane duvarında oyundaki pencere gibi kâğıt. Duvar ekrana sabit: metin kayarken Dayı yerinde durur */
.room { flex: 1; padding: 4rem 0 4.5rem; background: var(--mustard) url("img/wall.webp") center bottom / cover no-repeat fixed; }
.sheet { width: calc(100% - 2rem); max-width: 51rem; margin: 0 auto; overflow: hidden; background: var(--cream-2); border: .25rem solid var(--cocoa); border-radius: 1.4rem;
  box-shadow: 0 .5rem 0 rgba(71, 33, 14, .5), 0 1.9rem 5rem rgba(20, 10, 2, .45); }
.sheet h1 { margin: 0; padding: 1.1rem 1.75rem; text-align: center; background: var(--burnt); color: var(--cream-2); border-bottom: .25rem solid var(--cocoa);
  font: 700 2.5rem/1.15 var(--title); font-variation-settings: "SOFT" 100; text-shadow: 0 .12rem 0 rgba(71, 33, 14, .35); }
.sheet .body { padding: .6rem 2.75rem 2.5rem; }
.meta { margin: .4rem 0 1.1rem; text-align: center; color: var(--dim); font-weight: 700; font-size: .94rem; }
.sheet h2 { margin: 1.6rem 0 .4rem; padding-top: 1.4rem; border-top: .12rem solid rgba(71, 33, 14, .16); font: 700 1.5rem/1.25 var(--title); font-variation-settings: "SOFT" 100; color: var(--cocoa); }
.sheet ul { padding-left: 1.4rem; }
.sheet li { margin: .3rem 0; }
.sheet a { color: var(--burnt); font-weight: 700; text-underline-offset: .19rem; }

/* Ana sayfa bölümleri: özellikler, kural kartları, SSS. Başlık oyundaki gibi kalın krem, kahve çerçeveli */
.block { padding: .5rem 0 3rem; }
.section-title { margin: 0 0 1.6rem; text-align: center; font: 900 3rem/1.1 var(--title); font-variation-settings: "SOFT" 100, "WONK" 0; color: var(--cream-2);
  -webkit-text-stroke: .45rem var(--cocoa); paint-order: stroke fill; text-shadow: 0 .3rem 0 rgba(71, 33, 14, .45); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.feature { padding: 1.3rem 1.3rem 1.5rem; background: var(--cream); border: .25rem solid var(--cocoa); border-radius: 1.4rem; box-shadow: var(--pop); }
.feature h3 { margin: 0 0 .5rem; font: 700 1.6rem/1.15 var(--title); font-variation-settings: "SOFT" 100; color: var(--cocoa); }
.feature p { margin: 0; font: 600 1rem/1.5 var(--ui); }
.rule-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.9rem; }
.rule-card { display: block; padding: 1.5rem 1.75rem 1.75rem; color: var(--dark); text-decoration: none; background: var(--cream-2); border: .25rem solid var(--cocoa);
  border-radius: 1.4rem; box-shadow: var(--pop); transition: transform .15s, box-shadow .15s; }
.rule-card:hover { transform: translateY(-.25rem); box-shadow: 0 0 0 .3rem rgba(241, 157, 27, .45), var(--pop); }
.rule-card:focus-visible { outline: .19rem solid var(--burnt); outline-offset: .25rem; }
.rule-card h3 { margin: 0 0 .4rem; font: 700 2rem/1.1 var(--title); font-variation-settings: "SOFT" 100; color: var(--burnt); }
.rule-card p { margin: 0 0 1.1rem; font: 600 1.06rem/1.5 var(--ui); }
.rule-card .pill { background: var(--orange); }
.faq { display: grid; gap: .75rem; max-width: 56rem; margin: 0 auto; }
.faq details { background: var(--cream-2); border: .19rem solid var(--cocoa); border-radius: 1rem; box-shadow: var(--pop); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; font: 800 1.12rem/1.35 var(--ui); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 900 1.6rem/1 var(--ui); color: var(--burnt); }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: .19rem solid var(--burnt); outline-offset: .19rem; border-radius: .8rem; }
.faq details p { margin: 0; padding: 0 1.25rem 1.1rem; }
.faq a { color: var(--burnt); font-weight: 700; }
.sheet .faq { max-width: none; margin: .5rem 0 0; }
.sheet .faq details { box-shadow: 0 .19rem 0 rgba(71, 33, 14, .35); }

/* Kâğıt içi: gezinme yolu ve indirme kutusu */
.crumbs { margin: 1rem 0 0; text-align: center; font: 700 .88rem/1.4 var(--ui); color: var(--dim); }
.sheet .crumbs a { color: var(--burnt); }
.cta { margin: 2.2rem 0 .4rem; padding: 1.4rem 1.2rem; text-align: center; background: rgba(241, 157, 27, .16); border: .19rem dashed rgba(71, 33, 14, .35); border-radius: 1.2rem; }
.cta p { margin: 0 auto 1rem; font: 800 1.15rem/1.4 var(--ui); }
.sheet .cta .store { height: 3.6rem; padding: 0 1.9rem; font-size: 1.2rem; color: var(--dark); }

/* Alt bant: kahve plaka üstünde bağlantılar */
footer.band { height: 4rem; border-top: .25rem solid var(--cocoa); display: flex; align-items: center; justify-content: center; }
.plate { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.1rem; padding: .5rem 1.4rem; border-radius: .75rem; background: var(--cocoa); color: var(--cream-2); font: 700 .94rem/1.3 var(--ui); }
.plate a { text-decoration: none; }
.plate a:hover { text-decoration: underline; text-underline-offset: .19rem; }

/* Telefon ve dar pencere: ölçek sabit, tek sütun */
@media (max-width: 860px) {
  html { font-size: 16px; }
  .band { height: 3rem; }
  .logo { width: 6.75rem; left: .75rem; top: .2rem; }
  nav { gap: .38rem; }
  /* Dar ekranda logo ana sayfaya götürür; üç hap logoya binmesin */
  nav .pill[href="/"] { display: none; }
  .pill { height: 2.1rem; padding: 0 .75rem; font-size: .81rem; }
  header .wrap { padding: 0 .75rem; }
  .wrap { padding: 0 1rem; }
  .hero { display: block; min-height: 0; }
  .hero::before { display: none; }
  .hero-art { position: static; display: block; height: auto; aspect-ratio: 4 / 3; object-position: 88% center; border-bottom: .25rem solid var(--cocoa); }
  .hero .wrap { padding: 1.6rem 1rem 2rem; text-align: center; }
  .copy { margin: 0 auto; max-width: 35rem; }
  h1.big { font-size: clamp(2.6rem, 11vw, 4rem); -webkit-text-stroke-width: .5rem; }
  .lead { font-size: 1.06rem; }
  .store { width: 100%; justify-content: center; height: 3.75rem; font-size: 1.25rem; padding: 0 1.1rem; }
  .cards { grid-template-columns: 1fr; gap: 1.4rem; }
  .modes { padding-top: 1.9rem; }
  .card h2 { font-size: 2.1rem; }
  .chips li { height: 2.6rem; padding: 0 1.1rem; font-size: .94rem; }
  .room { padding: 4.75rem 0 2.5rem; background: none; }
  .sheet h1 { font-size: 1.75rem; }
  .sheet .body { padding: .4rem 1.25rem 1.75rem; }
  footer.band { height: auto; min-height: 4rem; padding: .6rem .75rem; }
  .section-title { font-size: 2.2rem; -webkit-text-stroke-width: .38rem; }
  .features { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .rule-links { grid-template-columns: 1fr; gap: 1.1rem; }
  .rule-card h3 { font-size: 1.6rem; }
  .sheet .cta .store { width: 100%; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pill, .store { transition: none; } }
