/* TNT Boom landing page — phone first, the game's day sky + TNT red, pixel headings. */
:root {
  --sky: #5cb8f0;
  --sky-2: #a9dcfb;
  --navy: #1d2a4a;
  --card: #ffffff;
  --line: #1d2a4a;
  --text: #1d2a4a;
  --muted: #4f5d7c;
  --tnt: #e0382b;
  --tnt-dark: #8f1d16;
  --gold: #ffd23f;
  --grass: #5aa93a;
  --dirt: #8a5a35;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html[data-lang="tr"] [lang="en"]:not(html),
html[data-lang="en"] [lang="tr"]:not(html) { display: none !important; }
body.lp {
  margin: 0; color: var(--text);
  font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, var(--sky) 0, #7fc8f5 700px, var(--sky-2) 100%);
  background-color: var(--sky-2);
  padding-bottom: env(safe-area-inset-bottom);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.pixel { font-family: "Pixelify Sans", "Inter", system-ui, sans-serif; letter-spacing: .01em; }
main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* ---------- top ---------- */
.lp-top { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.lp-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; text-decoration: none; color: #fff; text-shadow: 0 2px 0 rgba(29, 42, 74, .35); }
.lp-brand .mark { width: 30px; height: 16px; background: var(--tnt); -webkit-mask: url(/img/brand/mark.png) center / contain no-repeat; mask: url(/img/brand/mark.png) center / contain no-repeat; }
.lang { display: inline-flex; background: rgba(255, 255, 255, .25); border: 2px solid #fff; border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 800; padding: 7px 12px; cursor: pointer; }
html[data-lang="tr"] .lang [data-set="tr"], html[data-lang="en"] .lang [data-set="en"] { background: #fff; color: var(--navy); }

/* ---------- hero: video first ---------- */
.hero { display: grid; gap: 14px; }
.phone {
  position: relative; margin: 0 auto; /* video takes whatever height is left after title + both store buttons */
  height: clamp(180px, calc(100vh - 380px), 746px); height: clamp(180px, calc(100svh - 380px), 746px);
  width: auto; max-width: 100%;
  aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden;
  background: #000 url(/tntboom/video/poster.jpg) center / cover;
  border: 4px solid #fff; box-shadow: 0 8px 0 var(--navy), 0 22px 50px rgba(29, 42, 74, .35);
}
.newest { position: absolute; z-index: 1; top: 12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--red, #e8402f); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 3px 0 var(--navy); }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.hero-text { text-align: center; }
.title { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.title img { width: 64px; height: 64px; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 4px 0 var(--navy); }
.title h1 { margin: 0; font-family: "Inter", system-ui, sans-serif; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.01em; color: #fff; text-shadow: 0 3px 0 var(--navy); }
.title .sub { margin: 4px 0 0; color: var(--navy); font-weight: 800; font-size: 14px; }
.lead { font-size: 17px; font-weight: 700; margin: 10px auto 14px; max-width: 30ch; }

/* ---------- store buttons ---------- */
.cta { display: grid; gap: 10px; max-width: 420px; margin: 0 auto; }
.store {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 62px; padding: 10px 18px; border-radius: 16px; text-decoration: none;
  font-weight: 800; color: #fff; background: #111; border: 3px solid var(--navy);
  box-shadow: 0 5px 0 var(--navy); transition: transform .08s ease, box-shadow .08s ease;
  -webkit-tap-highlight-color: transparent;
}
.store:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--navy); }
.store svg { width: 30px; height: 30px; flex: none; }
.store span { text-align: left; line-height: 1.1; }
.store small { display: block; font-size: 12px; font-weight: 600; opacity: .85; }
.store b { display: block; font-size: 21px; }
.store.play { background: #111; }
/* both stores look the same; the visitor's own store is only put first (lp.js) */
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.fine { color: var(--muted); font-size: 12px; margin: 12px 0 0; }

/* ---------- features ---------- */
section h2 { font-size: 30px; text-align: center; margin: 44px 0 16px; color: #fff; text-shadow: 0 3px 0 var(--navy); }
.feats ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feats li { background: var(--card); border: 3px solid var(--navy); border-top-width: 10px; border-radius: 16px; padding: 12px 14px; box-shadow: 0 4px 0 var(--navy); }
.feats b { color: var(--navy); display: block; font-size: 20px; line-height: 1.15; margin-bottom: 4px; }
.feats span { color: var(--muted); font-size: 14px; line-height: 1.4; display: block; }
.feats .c1 { border-top-color: var(--tnt); }
.feats .c2 { border-top-color: #ff8a2a; }
.feats .c3 { border-top-color: #8a5a35; }
.feats .c4 { border-top-color: var(--gold); }
.feats .c5 { border-top-color: #5aa93a; }
.feats .c6 { border-top-color: #4dabf7; }

/* ---------- screenshots ---------- */
.gallery { margin-top: 36px; }
.strip { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip img { width: 29vw; max-width: 190px; height: auto; object-fit: cover; flex: none; aspect-ratio: 540 / 1174; border-radius: 12px; border: 2px solid var(--navy); scroll-snap-align: center; image-rendering: pixelated; background: var(--card); box-shadow: 0 3px 0 var(--navy); }

.again { padding-bottom: 20px; }

/* ---------- footer ---------- */
.lp-foot { margin: 30px 0 0; padding: 26px 16px 110px; border-top: 12px solid var(--grass); background: var(--dirt); color: #f3e3d0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.lp-foot a { color: #fff; font-weight: 700; }
.lp-foot div { width: 100%; text-align: center; font-size: 12px; }

/* ---------- sticky download bar (phones) ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 3px solid var(--navy);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky.on { transform: none; }
.sticky .store { width: 100%; font: inherit; cursor: pointer; justify-content: flex-start; min-height: 56px; padding: 6px 8px; background: transparent; color: var(--navy); border: 0; box-shadow: none; max-width: 520px; margin: 0 auto; }
.sticky img { width: 40px; height: 40px; border-radius: 10px; }
.sticky span { flex: 1; }
.sticky span b { font-size: 16px; }
.sticky em { font-style: normal; font-weight: 800; color: #fff; background: var(--tnt); border: 2px solid var(--navy); border-radius: 12px; padding: 10px 18px; box-shadow: 0 4px 0 var(--navy); }

/* ---------- wider screens: video left, text right ---------- */
@media (min-width: 860px) {
  .hero { grid-template-columns: auto 1fr; align-items: center; gap: 48px; padding-top: 18px; }
  .phone { height: min(711px, 78vh); }
  .hero-text { text-align: left; }
  .lead { margin-left: 0; font-size: 22px; }
  .cta { margin: 0; }
  .feats ul { grid-template-columns: repeat(3, 1fr); }
  .again .cta { margin: 0 auto; }
  .sticky { display: none; }
  .lp-foot { padding-bottom: 30px; }
}
@media (max-width: 360px) {
  .title h1 { font-size: 36px; }
  .feats ul { grid-template-columns: 1fr; }
}

/* ---------- store chooser (sticky bar → iOS / Android) ---------- */
.sheet { position: fixed; inset: 0; z-index: 20; display: none; }
.sheet.on { display: block; }
.sheet .dim { position: absolute; inset: 0; background: rgba(29, 42, 74, .55); }
.sheet .box {
  position: absolute; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto;
  background: #fff; border: 3px solid var(--navy); border-bottom: 0; border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); animation: up .22s ease-out;
}
.sheet h3 { margin: 0 0 12px; text-align: center; font-size: 22px; color: var(--navy); }
.sheet .cta { max-width: none; }
.sheet .close { display: block; margin: 12px auto 0; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; padding: 8px 16px; cursor: pointer; }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }

/* short phones (iPhone SE, 8…): keep both store buttons on the first screen */
@media (max-width: 859px) and (max-height: 740px) {
  .lp-top { padding: 8px 16px; }
  .phone { height: clamp(170px, calc(100vh - 330px), 746px); height: clamp(170px, calc(100svh - 330px), 746px); border-radius: 20px; border-width: 3px; }
  .hero { gap: 10px; }
  .title img { width: 48px; height: 48px; border-radius: 12px; }
  .title h1 { font-size: 34px; }
  .lead { font-size: 15px; margin: 6px auto 10px; }
  .cta { gap: 8px; }
  .store { min-height: 54px; }
  .fine { margin-top: 8px; }
}
