/* ZarManya tanıtım sitesi — oyunla aynı lacivert / altın tema, Baloo 2 başlıklar (OFL, sitede barınır) */
@font-face { font-family: "Baloo 2"; src: url("/fonts/Baloo2-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("/fonts/Baloo2-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy-950: #071022;
  --navy-900: #0b1730;
  --navy-800: #12234a;
  --navy-700: #1b3366;
  --sky: #45a8ff;
  --gold: #f6c544;
  --gold-deep: #e39a1c;
  --text: #eef3ff;
  --muted: #a9b8d8;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.09);
  --radius: 22px;
  --head: "Baloo 2", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(69, 168, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(246, 197, 68, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950) 70%);
  background-color: var(--navy-950);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }

/* ---------------------------------------------------------------- üst çubuk */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 16, 34, 0.72);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span {
  font-family: var(--head); font-weight: 800; font-size: 26px; letter-spacing: 3px;
  background: linear-gradient(180deg, #ffe58a, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand.small span { font-size: 20px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.lang {
  font: 700 14px var(--body); color: var(--navy-950); background: var(--gold);
  border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer;
  box-shadow: 0 3px 0 var(--gold-deep);
}
.lang:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--gold-deep); }

/* ---------------------------------------------------------------- giriş */
.hero { padding: 64px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px;
  background: rgba(69, 168, 255, 0.14); color: #9fd2ff; font-weight: 700; font-size: 14px; letter-spacing: .5px;
}
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; }
h1 { font-weight: 800; font-size: clamp(40px, 5.4vw, 68px); text-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); }
.lead { color: var(--muted); font-size: 18px; margin: 18px 0 26px; max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; opacity: .92;
}
.store svg { width: 26px; height: 26px; fill: #fff; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 18px; }
.store small { font-weight: 500; font-size: 11px; color: #cfd8ea; text-transform: uppercase; letter-spacing: .6px; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

.hero-shot { position: relative; }
.device {
  border-radius: 28px; padding: 12px; background: linear-gradient(160deg, #26324f, #0d1528);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}
.device img { border-radius: 18px; }
.float-dice {
  position: absolute; width: 150px; right: -18px; bottom: -42px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5));
  animation: bob 4.5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(4deg); } }

/* ---------------------------------------------------------------- bölümler */
.section { padding: 72px 0; }
.section h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); text-align: center; margin-bottom: 36px; }
.section .sub { text-align: center; color: var(--muted); max-width: 40em; margin: -18px auto 34px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .25s, border-color .25s, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(246, 197, 68, 0.4); background: rgba(255, 255, 255, 0.07); }
.card .ico { font-size: 34px; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; }
.card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.how { background: linear-gradient(180deg, transparent, rgba(69, 168, 255, 0.06), transparent); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps span {
  position: absolute; top: -20px; left: 24px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font: 800 22px var(--head); color: var(--navy-950);
  background: linear-gradient(180deg, #ffe58a, var(--gold)); box-shadow: 0 4px 0 var(--gold-deep);
}
.steps h3 { font-size: 24px; margin: 6px 0 6px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- görüntüler */
.shots {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(16px, calc((100% - 1180px) / 2)) 22px;
  scrollbar-width: thin; scrollbar-color: var(--navy-700) transparent;
}
.shots figure { margin: 0; flex: 0 0 min(760px, 86%); scroll-snap-align: center; }
.shots img { border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); border: 1px solid var(--line); }
.shots figcaption { color: var(--muted); font-weight: 600; margin-top: 10px; text-align: center; }

/* ---------------------------------------------------------------- zarlar */
.dice-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 10px; max-width: 900px; margin: 0 auto; }
.dice-row figure { margin: 0; text-align: center; }
.dice-row img { width: 100%; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.45)); transition: transform .3s; }
.dice-row figure:hover img { transform: translateY(-6px) rotate(-4deg); }
.dice-row figcaption { font: 700 16px var(--head); color: var(--muted); }

/* ---------------------------------------------------------------- SSS */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 700 19px var(--head); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------------------------------------------------------------- alt bilgi */
.foot { border-top: 1px solid var(--line); padding: 28px 0; margin-top: 30px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--text); }
.foot p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- yazı sayfaları (gizlilik, koşullar) */
.doc { padding: 56px 0 40px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 8px; }
.doc .date { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 24px; text-align: left; margin: 30px 0 10px; }
.doc p, .doc li { color: #d5def2; }
.doc ul { padding-left: 22px; }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.back { display: inline-block; margin-bottom: 20px; color: var(--sky); text-decoration: none; font-weight: 700; }

/* ---------------------------------------------------------------- dar ekran */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .device { transform: none; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 36px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 34px; }
  .float-dice { width: 96px; right: -6px; bottom: -30px; }
  .foot nav { margin-left: 0; }
  .dice-row { gap: 12px 6px; }
  .dice-row figcaption { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
