@font-face {
  font-family: "RoadRadio";
  src: url("../fonts/roadradio_bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #D3DEEB;
  --accent: #B42D29;
  --dot: #890003;
  --ink: #313E44;
  --offer-ink: #788596;
  --scale: calc(100vw / 402px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: none; display: block; }

/* ---------- Stage (Figma frame, 402x852, scaled to fit any mobile width) ---------- */
.stage-wrap {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  height: calc(852px * var(--scale));
}

.stage {
  width: 402px;
  height: 852px;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(var(--scale));
  transform-origin: top left;
  overflow: hidden;
  background: #ffffff;
}

/* ---------- Hero background ---------- */
.hero-bg {
  position: absolute;
  left: -33px;
  top: -36px;
  width: 439px;
  height: 619px;
}

.tagline-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 32px;
  background: #ffffff;
}

.tagline {
  position: absolute;
  left: 0;
  top: 7px;
  width: 100%;
  margin: 0;
  padding: 0 16px;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 15px;
  color: var(--ink);
}

/* ---------- Hero title / lead ---------- */
.hero-title {
  position: absolute;
  left: 12px;
  top: 47px;
  width: 378px;
  margin: 0;
  font-family: "RoadRadio", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 25px;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-title .accent {
  color: var(--accent);
}

.hero-lead {
  position: absolute;
  left: 27px;
  top: 189px;
  width: 348px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.1px;
  text-align: center;
  color: var(--ink);
}

.hero-lead strong {
  font-weight: 700;
}

/* ---------- Bullets ---------- */
.bullet-card {
  position: absolute;
  left: 18px;
  width: 366px;
  height: 47px;
  background: var(--bg);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.bullet-card .dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dot);
}

.bullet-card p {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  color: var(--ink);
}

/* ---------- Gallery ---------- */
.gallery {
  position: absolute;
  left: 0;
  top: 425px;
  width: 402px;
  height: 169px;
  overflow: hidden;
}

/* Track is moved by JS (see the marquee script at the end of index.html) */
.gallery__track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 11px;
  width: max-content;
}

.gallery__track img {
  height: 169px;
  width: auto;
  flex: 0 0 auto;
}

/* ---------- Offers ---------- */
.offer-card {
  position: absolute;
  top: 610px;
  width: 119px;
  height: 71px;
  border: 2px solid var(--bg);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  text-align: center;
}

.offer-card p {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 13px;
  color: var(--offer-ink);
}

/* ---------- CTA ---------- */
.cta {
  position: absolute;
  left: 45px;
  top: 697px;
  width: 312px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  animation: cta-pulse 2.4s ease-in-out infinite;
  transform-origin: center;
}

.cta__img {
  width: 100%;
  height: auto;
  display: block;
}

.cta__shine {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 76px;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
}

.cta__shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(75deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  animation: cta-shine 2.8s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes cta-shine {
  0% { left: -60%; }
  40% { left: 130%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .cta { animation: none; }
  .cta__shine::before { animation: none; }
}
