:root {
  --kagit: #f3ede3;
  --murekkep: #1b1814;
  --soluk: #6f665c;
  --cizgi: #ded3c3;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--kagit);
  color: var(--murekkep);
  font: 16px/1.5 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.ust, main, .alt-bilgi { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- üst ---------- */
.ust { display: flex; align-items: center; justify-content: space-between; padding: 20px 0 0; }
.marka { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; }
.marka img { border-radius: 8px; }
.dil {
  display: inline-grid; place-items: center; min-width: 44px; height: 36px; padding: 0 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none;
  border: 1.5px solid var(--cizgi); border-radius: 999px;
}
.dil:hover { border-color: var(--murekkep); }

/* ---------- giriş ---------- */
.giris { padding: clamp(44px, 8vw, 96px) 0 clamp(28px, 4vw, 48px); }
.etiket { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.etiket span { color: var(--soluk); font-weight: 600; }
h1 { margin: 0; font-size: clamp(40px, 7.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 850; }
.alt { margin: 20px 0 0; font-size: clamp(17px, 1.7vw, 20px); color: var(--soluk); }

/* ---------- vitrin ---------- */
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.vitrin {
  --metin: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  min-height: 460px; border-radius: 36px; background: var(--renk); color: var(--metin);
}
.vitrin::before {
  /* hafif ışık: düz renk bandı yerine derinlik */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
              radial-gradient(90% 80% at 100% 100%, rgba(0, 0, 0, 0.22), transparent 60%);
}
.metin { padding: clamp(28px, 4.5vw, 56px); }
.kimlik { display: flex; align-items: center; gap: 14px; }
.ikon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.25); }
.tur { margin: 0; font-size: 14px; font-weight: 600; opacity: 0.85; display: flex; gap: 10px; }
.tur span { font-variant-numeric: tabular-nums; opacity: 0.7; }
.vitrin h2 { margin: 22px 0 0; font-size: clamp(34px, 4.6vw, 58px); line-height: 1; letter-spacing: -0.04em; font-weight: 850; }
.ozet { margin: 14px 0 0; max-width: 460px; font-size: 17px; line-height: 1.5; opacity: 0.88; }
.dugmeler { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border-radius: 14px; font-size: 15px; font-weight: 700; text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:active { transform: scale(0.97); }
.btn-ana { background: #fff; color: var(--renk); }
.btn-ana:hover { background: #fff6e8; }
.btn-magaza { background: rgba(255, 255, 255, 0.13); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.32); }
.btn-magaza:hover { background: rgba(255, 255, 255, 0.22); }
.btn:focus-visible, .dil:focus-visible, .marka:focus-visible, .alt-bilgi a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* oyun ekranı: telefon çerçevesi, bandın kenarından taşar */
.ekran { margin: 0; align-self: stretch; position: relative; }
.ekran img {
  position: absolute; border: 9px solid #121010; background: #121010;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.ekran-dikey img { width: min(300px, 70%); height: auto; left: 50%; top: 48px; transform: translateX(-50%) rotate(4deg); border-radius: 44px; }
.ekran-yatay img { width: 128%; height: auto; left: 4%; top: 50%; transform: translateY(-50%) rotate(-3deg); border-radius: 36px; }
.vitrin:nth-child(even) .metin { order: 2; }
.vitrin:nth-child(even) .ekran-dikey img { transform: translateX(-50%) rotate(-4deg); }

/* ---------- alt ---------- */
.alt-bilgi { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); color: var(--soluk); font-size: 14px; }
.alt-bilgi p { margin: 0; }
.alt-bilgi a { font-weight: 600; color: var(--murekkep); text-underline-offset: 3px; }

/* ---------- telefon ---------- */
@media (max-width: 760px) {
  .vitrin { grid-template-columns: 1fr; min-height: 0; border-radius: 28px; }
  .vitrin:nth-child(even) .metin { order: 0; }
  .metin { padding: 26px 22px 24px; }
  .ikon { width: 60px; height: 60px; border-radius: 15px; }
  .vitrin h2 { margin-top: 18px; }
  .ozet { font-size: 16px; }
  .btn { flex: 1 1 auto; }
  .ekran-dikey { height: 300px; }
  .ekran-dikey img { width: 62%; top: 8px; }
  .ekran-yatay { height: 210px; }
  .ekran-yatay img { width: 118%; left: 6%; top: 16px; transform: rotate(-3deg); border-width: 7px; border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
