:root {
  --bg: #050807;
  --panel: rgba(4, 8, 7, .72);
  --line: rgba(205, 232, 196, .18);
  --text: #f2f0e7;
  --muted: rgba(242, 240, 231, .68);
  --accent: #b8d788;
  --shadow: 0 24px 90px rgba(0, 0, 0, .75);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 18%, rgba(99, 126, 104, .25), transparent 36rem),
    linear-gradient(180deg, #0b1413 0%, #040606 52%, #020303 100%);
}

a { color: inherit; }

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 32px);
}

.card {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #08100f;
  overflow: hidden;
}

.hero-video,
.hero-fallback,
.hero-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  z-index: 2;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.hero-fallback { z-index: 1; display: block; }
.hero-fallback img { object-fit: cover; object-position: center center; }

.hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.03) 35%, rgba(0,0,0,.16) 58%, rgba(0,0,0,.88) 100%),
    radial-gradient(circle at 50% 37%, transparent 0 18rem, rgba(0,0,0,.20) 34rem);
}

.grain {
  position: absolute;
  inset: -60px;
  z-index: 4;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.title-copy {
  position: absolute;
  z-index: 5;
  left: 22px;
  right: 22px;
  bottom: 18px;
  text-align: center;
  text-shadow: 0 4px 22px rgba(0,0,0,.9);
}


h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(1.9rem, 8.5vw, 3.1rem);
  line-height: .92;
  max-width: 100%;
  overflow-wrap: break-word;
  color: #2ecc71;
  /* border: 2px solid #fdf182; */
  -webkit-text-stroke: .030em  #fdf182;
}

.tagline {
  margin: 14px 0 0;
  font-size: clamp(.9rem, 3.1vw, 1.08rem);
  color: rgba(242, 240, 231, .78);
}

.stores {
  display: grid;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(2,3,3,.45), rgba(2,3,3,.86)),
    radial-gradient(circle at 50% 0%, rgba(184, 215, 136, .13), transparent 18rem);
}

.store-button {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  min-height: 64px;
  padding: 10px 15px;
  gap: 13px;
  text-decoration: none;
  border: 1px solid rgba(242, 240, 231, .15);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(216, 239, 181, .45);
  background: rgba(255,255,255,.09);
  outline: none;
}

.store-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(0,0,0,.34);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.store-button small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.1;
}

.store-button strong {
  display: block;
  margin-top: 3px;
  font-size: 1.05rem;
  letter-spacing: .01em;
}

.triangle::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid var(--text);
  margin-left: 4px;
}

.footer {
  padding: 0 22px 22px;
  text-align: center;
  color: rgba(242, 240, 231, .55);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9rem;
  background: rgba(2,3,3,.86);
}

.footer p { margin: 0; }

@media (min-width: 760px) {
  .card { width: min(92vw, 460px); }
}

@media (max-width: 520px) {
  .page { padding: 0; }
  .card {
    min-height: 100svh;
    width: 100%;
    border: 0;
    border-radius: 0;
  }
  .stores { padding: 14px; gap: 10px; }
  .store-button { min-height: 58px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .store-button { transition: none; }
}
