/* Colony Conquest indirme sayfası (colony.cantalay.com). Oyunun renkleri: lacivert gece, altın şerit, parşömen kart,
   yeşil düğme. Yazı tipi oyunla aynı: Baloo Bhaijaan 2 (OFL, assets/fonts/OFL.txt), Latin ve Türkçe harflere kırpılmış. */
@font-face {
  font-family: "Baloo";
  src: url("/assets/fonts/baloo-bhaijaan2-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Baloo";
  src: url("/assets/fonts/baloo-bhaijaan2-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  --night: #14213d;
  --night-2: #1d3461;
  --ink: #eef1f8;
  --ink-muted: #b3bdd3;
  --gold: #f2c14e;
  --gold-deep: #c8902a;
  --parchment: #f7ecd0;
  --parchment-ink: #3b2a17;
  --parchment-muted: #6d5638;
  --green: #4fb23d;
  --green-hi: #74d05c;
  --green-deep: #2b7a1f;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Baloo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(120% 60% at 50% 0%, #2a4a86 0%, rgba(42, 74, 134, 0) 70%),
    linear-gradient(180deg, var(--night-2) 0%, var(--night) 55%, #0e172b 100%);
  background-color: var(--night);
}

.page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 16px 8px;
}

/* --- Başlık ve indirme düğmesi --- */
.hero { text-align: center; }

.hero__icon {
  display: block;
  margin: 8px auto 14px;
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 0 0 4px var(--gold-deep), 0 12px 30px rgba(0, 0, 0, 0.45);
}

.hero__title {
  margin: 0;
  font-size: clamp(38px, 11vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: #e9edf6;
  text-shadow: 0 3px 0 #0b1325;
}
.hero__title span { color: var(--gold); }

.hero__tagline {
  margin: 10px 0 22px;
  font-size: 19px;
  color: var(--ink-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  min-height: 60px;
  padding: 10px 22px;
  border-radius: 16px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  background: linear-gradient(180deg, var(--green-hi) 0%, var(--green) 55%, #43a033 100%);
  box-shadow: 0 5px 0 var(--green-deep), 0 10px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--green-deep), 0 4px 10px rgba(0, 0, 0, 0.35); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.btn__icon { width: 28px; height: 28px; fill: currentColor; flex: none; }

.hero__meta {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--ink-muted);
}
.hero__note {
  margin: 10px auto 0;
  max-width: 360px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--parchment-ink);
  background: var(--parchment);
}

/* --- Ekran görüntüleri: yatay kaydırma --- */
.shots {
  display: flex;
  gap: 12px;
  margin: 30px -16px 0;
  padding: 4px 16px 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots img {
  flex: none;
  width: 46%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 14px;
  scroll-snap-align: center;
  box-shadow: 0 0 0 2px rgba(242, 193, 78, 0.55), 0 8px 18px rgba(0, 0, 0, 0.4);
  background: var(--night-2);
}

/* --- Kurulum kartı --- */
.card {
  margin-top: 22px;
  padding: 20px 20px 16px;
  border-radius: var(--radius);
  color: var(--parchment-ink);
  background: var(--parchment);
  box-shadow: inset 0 0 0 3px var(--gold-deep), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.card__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 8px 0 8px 46px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 7px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  color: #fff;
  background: var(--night-2);
  box-shadow: 0 0 0 2px var(--gold-deep);
}
.card__note {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--parchment-muted);
}

/* --- Özellikler --- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}
@media (min-width: 480px) {
  .features { grid-template-columns: 1fr 1fr; }
}
.feature {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(242, 193, 78, 0.28);
}
.feature h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
}
.feature p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-muted);
}

/* --- Alt bilgi --- */
.footer {
  max-width: 560px;
  margin: 26px auto 0;
  padding: 18px 16px max(26px, env(safe-area-inset-bottom));
  text-align: center;
  font-size: 15px;
  color: var(--ink-muted);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.footer a, .footer__lang {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(242, 193, 78, 0.6);
}
.footer__lang {
  padding: 0;
  border: 0;
  font: inherit;
  background: none;
  cursor: pointer;
}
.footer__copy { margin: 10px 0 0; font-size: 14px; opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
