/* Blockshot: Hide & Shoot website: the game's own look (blue voxel sky, navy outlined panels, yellow pixel buttons). */

@font-face {
  font-family: 'Pixel';
  src: url('fonts/Silkscreen-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --edge: #0a1020;
  --navy: #16233f;
  --navy-2: #1d2e52;
  --rim: #3c5a92;
  --deep: #0e1730;
  --yellow: #ffc21a;
  --yellow-dark: #c98a00;
  --yellow-rim: #ffe27a;
  --sky-1: #2a7fe0;
  --sky-2: #7cc4ff;
  --sand: #e8d29a;
  --green: #7cffb2;
  --text: #ffffff;
  --muted: #b9c8e6;
  --pixel: 'Pixel', ui-monospace, monospace;
  --body: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); background: var(--deep); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--yellow); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- chunky pieces ---------- */
.pixel { font-family: var(--pixel); letter-spacing: 0.02em; text-transform: uppercase; }
.panel { background: var(--navy); border: 4px solid var(--edge); border-radius: 14px; box-shadow: inset 0 0 0 3px var(--rim), 0 6px 0 rgba(0, 0, 0, 0.35); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 64px; padding: 10px 26px 16px;
  font-family: var(--pixel); font-size: 22px; text-transform: uppercase; text-decoration: none; color: #2a1a00;
  background: var(--yellow); border: 4px solid var(--edge); border-radius: 12px;
  box-shadow: inset 0 0 0 3px var(--yellow-rim), inset 0 -10px 0 var(--yellow-dark), 0 5px 0 rgba(0, 0, 0, 0.4);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 0 0 3px var(--yellow-rim), inset 0 -10px 0 var(--yellow-dark), 0 1px 0 rgba(0, 0, 0, 0.4); }
.btn small { display: block; font-family: var(--body); font-weight: 900; font-size: 11px; letter-spacing: 0.06em; color: #6a4400; }
.btn .lines { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.btn svg { width: 30px; height: 30px; flex: none; }
.btn.navy { color: #fff; background: var(--navy); box-shadow: inset 0 0 0 3px var(--rim), 0 5px 0 rgba(0, 0, 0, 0.4); }
.btn.navy small { color: var(--muted); }

/* ---------- top bar ---------- */
.topbar { position: absolute; inset: 0 0 auto; z-index: 5; padding: 14px 0; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-family: var(--pixel); font-size: 15px; color: #fff; text-decoration: none; background: var(--navy); border: 3px solid var(--edge); border-radius: 10px; box-shadow: inset 0 0 0 2px var(--rim); }
.chip img { width: 26px; height: 26px; border-radius: 6px; }
.topbar nav { display: flex; gap: 8px; }
@media (max-width: 480px) { .topbar nav a[href='#features'] { display: none; } .chip { font-size: 13px; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: min(100svh, 980px); display: flex; flex-direction: column; background: linear-gradient(var(--sky-1), var(--sky-2) 55%, #9ad4ff); }
.hero-art { position: absolute; inset: auto 0 0; height: 62%; background: url('hero.jpg') center 20% / cover; }
/* (melts into the sky at the top and into the page at the bottom) */
.hero-art { -webkit-mask-image: linear-gradient(transparent 0%, #000 30%); mask-image: linear-gradient(transparent 0%, #000 30%); }
.hero-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(14, 23, 48, 0) 72%, var(--deep) 100%); }
.hero-content { position: relative; z-index: 2; padding: 92px 0 0; text-align: center; }
.hero-logo { width: min(620px, 92%); margin: 0 auto; filter: drop-shadow(0 6px 0 rgba(10, 16, 32, 0.35)); }
.tagline { margin-top: 10px; font-weight: 900; font-size: clamp(14px, 3.6vw, 20px); letter-spacing: 0.08em; color: #fff; text-shadow: 0 2px 0 var(--edge), 0 0 12px rgba(10, 16, 32, 0.5); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 16px; font-weight: 900; font-size: 13px; letter-spacing: 0.05em; color: #fff; text-shadow: 0 2px 0 var(--edge); }
.perks span::before { content: '■ '; color: var(--yellow); }
.hero-spacer { flex: 1; min-height: 46vh; }

/* blocky clouds drifting across the sky */
.cloud { position: absolute; z-index: 1; width: 120px; height: 34px; background: #fff; box-shadow: 30px -22px 0 -2px #fff, 64px -12px 0 #fff, -26px 8px 0 -6px #eef6ff; opacity: 0.92; animation: drift linear infinite; }
.cloud.c1 { top: 12%; animation-duration: 70s; animation-delay: -10s; }
.cloud.c2 { top: 26%; transform: scale(0.7); animation-duration: 95s; animation-delay: -60s; }
.cloud.c3 { top: 6%; transform: scale(1.2); animation-duration: 120s; animation-delay: -30s; }
@keyframes drift { from { left: -200px; } to { left: 110%; } }

/* ---------- stats strip ---------- */
.stats { position: relative; z-index: 3; margin-top: -48px; }
.stats ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
.stats li { text-align: center; padding: 10px 6px; background: var(--navy-2); border: 3px solid var(--edge); border-radius: 10px; }
.stats b { display: block; font-family: var(--pixel); font-size: 30px; line-height: 1.1; color: var(--yellow); text-shadow: 0 3px 0 var(--edge); }
.stats span { font-weight: 900; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- features ---------- */
.section-title { text-align: center; margin: 72px 0 8px; font-family: var(--pixel); font-size: clamp(30px, 7vw, 48px); line-height: 1.05; color: var(--yellow); text-shadow: 0 4px 0 var(--edge); text-transform: uppercase; }
.section-sub { text-align: center; color: var(--muted); font-weight: 700; margin-bottom: 36px; }
.features { display: grid; gap: 28px; }
.feature { display: grid; gap: 22px; align-items: center; padding: 22px; }
.feature h3 { font-family: var(--pixel); font-size: clamp(24px, 5.5vw, 34px); line-height: 1.05; text-transform: uppercase; color: var(--yellow); text-shadow: 0 3px 0 var(--edge); }
.feature .kicker { display: inline-block; margin-bottom: 8px; padding: 3px 10px; font-weight: 900; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--edge); background: var(--green); border: 2px solid var(--edge); border-radius: 6px; }
.feature p { margin-top: 10px; font-size: 17px; color: #e7eefc; }
.feature ul { margin-top: 12px; list-style: none; display: grid; gap: 6px; }
.feature li { padding-left: 24px; position: relative; font-weight: 700; color: #e7eefc; }
.feature li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 11px; height: 11px; background: var(--yellow); border: 2px solid var(--edge); }
.phone { width: min(280px, 78%); margin: 0 auto; border: 6px solid var(--edge); border-radius: 30px; overflow: hidden; background: var(--edge); box-shadow: 0 0 0 3px var(--rim), 0 14px 0 rgba(0, 0, 0, 0.35); transform: rotate(-2deg); }
.feature:nth-child(even) .phone { transform: rotate(2deg); }
.phone img { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; }

/* ---------- gallery ---------- */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 30px; scrollbar-width: thin; scrollbar-color: var(--rim) transparent; }
.gallery figure { flex: none; width: 210px; scroll-snap-align: center; }
.gallery img { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; border: 5px solid var(--edge); border-radius: 24px; box-shadow: 0 0 0 3px var(--rim), 0 10px 0 rgba(0, 0, 0, 0.3); }
.gallery figcaption { margin-top: 12px; text-align: center; font-family: var(--pixel); font-size: 16px; color: var(--yellow); text-transform: uppercase; }

/* ---------- final call ---------- */
.final { margin: 70px auto 0; padding: 34px 22px; text-align: center; }
.final img.icon { width: 112px; height: 112px; margin: 0 auto 16px; border-radius: 26px; border: 4px solid var(--edge); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35); }
.final h2 { font-family: var(--pixel); font-size: clamp(28px, 6vw, 44px); line-height: 1.05; color: var(--yellow); text-shadow: 0 4px 0 var(--edge); text-transform: uppercase; }
.final p { margin-top: 8px; color: var(--muted); font-weight: 700; }

/* ---------- sand footer ---------- */
footer { margin-top: 80px; padding: 34px 0 40px; background: var(--sand); color: #3a2a10; border-top: 6px solid #c9ad66; box-shadow: inset 0 6px 0 #f3e2b4; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: #3a2a10; font-weight: 900; }
footer small { font-weight: 700; }

/* ---------- document pages (privacy, support) ---------- */
.page-hero { padding: 92px 0 36px; text-align: center; background: linear-gradient(var(--sky-1), var(--sky-2)); border-bottom: 6px solid var(--edge); }
.page-hero h1 { font-family: var(--pixel); font-size: clamp(34px, 8vw, 56px); line-height: 1.05; color: var(--yellow); text-shadow: 0 4px 0 var(--edge); text-transform: uppercase; }
.page-hero p { margin-top: 8px; font-weight: 900; color: #fff; text-shadow: 0 2px 0 var(--edge); }
.doc { margin-top: 32px; padding: 26px 22px; }
.doc h2 { margin: 28px 0 8px; font-family: var(--pixel); font-size: 22px; line-height: 1.15; color: var(--yellow); text-transform: uppercase; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #e7eefc; }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 8px 0 0 20px; display: grid; gap: 6px; }
.doc .note { margin-top: 14px; padding: 12px 14px; background: var(--deep); border: 3px solid var(--edge); border-radius: 10px; color: var(--muted); }
.faq details { padding: 14px 16px; background: var(--navy-2); border: 3px solid var(--edge); border-radius: 10px; }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 17px; list-style: none; }
.faq summary::before { content: '+ '; color: var(--yellow); font-family: var(--pixel); }
.faq details[open] summary::before { content: '- '; }
.faq details p { margin-top: 10px; }
.mail { margin-top: 18px; }

/* ---------- scroll reveal (assets/site.js); never hides anything without JS ---------- */
.js .reveal { opacity: 0; transform: translateY(26px) scale(0.98); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- bigger screens ---------- */
@media (min-width: 760px) {
  .stats ul { grid-template-columns: repeat(5, 1fr); }
  .feature { grid-template-columns: 1.15fr 0.85fr; padding: 34px 40px; gap: 40px; }
  .feature:nth-child(even) .text { order: 2; }
  .gallery { justify-content: safe center; }
  .hero-art { height: 60%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud { animation: none; left: 10%; }
  .cloud.c2 { left: 60%; }
  .cloud.c3 { left: 78%; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- online 1v1: the headline ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vs-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 16px; font-weight: 900; font-size: 13px; letter-spacing: 0.06em; color: #fff; text-decoration: none; background: var(--navy); border: 3px solid var(--edge); border-radius: 10px; box-shadow: inset 0 0 0 2px #ff5a4e, 0 4px 0 rgba(0, 0, 0, 0.35); }
.vs-badge b { padding: 2px 8px; font-family: var(--pixel); font-weight: 700; font-size: 16px; color: #fff; background: #e53935; border: 2px solid var(--edge); border-radius: 6px; }
.feature.star { border-color: var(--edge); box-shadow: inset 0 0 0 3px var(--yellow), 0 0 0 3px rgba(255, 194, 26, 0.25), 0 8px 0 rgba(0, 0, 0, 0.35); background: linear-gradient(160deg, #1f3266, var(--navy) 60%); }
.feature.star .kicker { background: #ff5a4e; color: #fff; }
.feature.star h3 { font-size: clamp(28px, 6.5vw, 42px); }
.home-faq { margin-top: 24px; }
.section-sub.wrap { margin-inline: auto; }
.vs-badge, .vs-badge b { white-space: nowrap; }
@media (max-width: 480px) { .vs-badge { font-size: 11px; gap: 8px; padding: 7px 10px; } .vs-badge b { font-size: 14px; } }
