/* ==========================================================================
 * VAPEPIE VIS VIBE 70000 – Base design system
 * Owner: manager (frozen tokens). Section styles live in their own files.
 * ========================================================================== */

:root {
  /* surface */
  --bg: #07090F;
  --bg-soft: #0C1020;
  --card: #121728;
  --card-2: #171E33;
  --line: #242D48;
  --line-soft: rgba(36, 45, 72, .55);

  /* text */
  --txt: #EEF2FB;
  --txt-2: #C6D0E4;
  --dim: #8E9BB6;
  --faint: #7C89A6;

  /* brand accents */
  --cy: #2EF2D0;
  --cy-deep: #0FC9AA;
  --mag: #FF2E93;
  --gold: #FFC53D;
  --red: #FF4D5E;
  --green: #5CFFB1;

  /* geometry */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
  --pad: 16px;
  --maxw: 430px;

  /* elevation */
  --sh-cy: 0 10px 26px rgba(46, 242, 208, .26);
  --sh-card: 0 2px 10px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: .1px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.vp-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }

/* ---------- layout ---------- */
.vp-sec { padding: 30px var(--pad); }
.vp-sec--tight { padding-top: 18px; }

.vp-eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cy); margin: 0;
}
.vp-h2 {
  font-size: 24px; line-height: 1.18; font-weight: 900;
  letter-spacing: -.5px; margin: 7px 0 8px;
}
.vp-h2 em { font-style: normal; color: var(--cy); }
.vp-sub { color: var(--dim); font-size: 13.5px; margin: 0 0 18px; }
.vp-sub b { color: var(--txt-2); }

/* ---------- buttons ---------- */
.vp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: 0; border-radius: var(--r); padding: 15px 18px;
  font-size: 16px; font-weight: 900; letter-spacing: .2px;
  text-decoration: none; transition: transform .12s ease, filter .12s ease;
}
.vp-btn:active { transform: scale(.985); }
.vp-btn--primary {
  width: 100%;
  background: linear-gradient(180deg, #3BFFDC, var(--cy-deep));
  color: #04211C; box-shadow: var(--sh-cy);
}
.vp-btn--gold {
  width: 100%;
  background: linear-gradient(180deg, #FFDA6E, #FFB301);
  color: #3A2400; box-shadow: 0 12px 30px rgba(255, 197, 61, .32);
}
.vp-btn--ghost {
  background: transparent; border: 1px solid var(--line); color: var(--dim);
}
.vp-btn:focus-visible,
.vp-fcard:focus-visible,
.vp-tier:focus-visible {
  outline: 2px solid var(--cy); outline-offset: 3px;
}

/* ---------- top bar ---------- */
.vp-top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 11px var(--pad);
  background: rgba(7, 9, 15, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.vp-top img { height: 22px; width: auto; }
.vp-top__right { display: flex; align-items: center; gap: 6px; }
.vp-top__chip {
  font-size: 10px; font-weight: 800; letter-spacing: .3px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 8px; color: var(--txt-2); white-space: nowrap;
}
.vp-top__chip--ok {
  color: var(--green); border-color: rgba(92, 255, 177, .38);
  background: rgba(92, 255, 177, .08);
}

/* ---------- hero ---------- */
.vp-hero {
  position: relative; overflow: hidden;
  padding: 0 0 24px;
  background:
    radial-gradient(120% 62% at 50% 0%, rgba(46, 242, 208, .15), transparent 62%),
    radial-gradient(92% 52% at 88% 18%, rgba(255, 46, 147, .13), transparent 62%),
    var(--bg);
}
.vp-hero__media { position: relative; padding: 12px 30px 0; }
.vp-hero__media img {
  width: 100%; height: auto; margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(46, 242, 208, .16));
}
.vp-hero__glow {
  position: absolute; left: 0; right: 0; bottom: 4%; height: 130px;
  background: radial-gradient(50% 100% at 50% 100%, rgba(46, 242, 208, .28), transparent 72%);
  filter: blur(22px); pointer-events: none;
}
.vp-badge {
  position: absolute; top: 12px; z-index: 2;
  font-size: 11px; font-weight: 900; letter-spacing: .5px;
  border-radius: 999px; padding: 5px 10px;
}
.vp-badge--off { left: var(--pad); background: #C4132B; color: #fff; }
.vp-badge--hint {
  right: var(--pad); color: var(--gold);
  background: rgba(255, 197, 61, .13); border: 1px solid rgba(255, 197, 61, .48);
}
.vp-hero__body { padding: 8px var(--pad) 0; }
.vp-hero__title {
  font-size: 32px; line-height: 1.06; font-weight: 900;
  letter-spacing: -1.1px; margin: 2px 0 6px;
}
.vp-hero__title span { color: var(--cy); }
.vp-hero__claim { font-size: 14px; color: var(--txt-2); margin: 0 0 14px; }
.vp-hero__claim b { color: #fff; }

.vp-ticks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; }
.vp-ticks li {
  display: flex; gap: 8px; font-size: 13.5px; color: var(--txt-2);
  align-items: flex-start;
}
.vp-ticks svg { flex: 0 0 auto; margin-top: 2px; }
.vp-ticks b { color: #fff; font-weight: 700; }

.vp-pricebox { display: flex; align-items: flex-end; gap: 9px; }
.vp-price {
  font-size: 38px; font-weight: 900; letter-spacing: -1.6px;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.vp-price sup { font-size: 15px; font-weight: 700; top: -.5em; }
.vp-was {
  color: var(--dim); text-decoration: line-through; font-size: 15px;
  font-weight: 600; padding-bottom: 4px;
}
.vp-save {
  font-size: 11px; font-weight: 900; color: #FF8A96;
  background: rgba(255, 77, 94, .15); border: 1px solid rgba(255, 77, 94, .4);
  border-radius: 6px; padding: 3px 7px; margin-bottom: 5px;
}
.vp-per { font-size: 11.5px; color: var(--dim); margin: 7px 0 15px; }
.vp-per b { color: var(--txt-2); }

.vp-ctanote {
  text-align: center; font-size: 11.5px; color: var(--dim); margin: 10px 0 0;
}
.vp-chips {
  display: flex; gap: 7px; overflow-x: auto; padding: 16px var(--pad) 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.vp-chips::-webkit-scrollbar { display: none; }
.vp-chip {
  flex: 0 0 auto; display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--txt-2); white-space: nowrap;
  border: 1px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 7px 11px;
}
.vp-chip svg { color: var(--cy); }

/* ---------- sticky bar ---------- */
.vp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: rgba(9, 12, 22, .95);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.vp-sticky[hidden] { display: none; }
.vp-sticky__info { flex: 1; min-width: 0; }
.vp-sticky__sel {
  font-size: 11px; color: var(--dim); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.vp-sticky__price {
  font-size: 17px; font-weight: 900; line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.vp-sticky__price s { font-size: 11px; color: var(--faint); font-weight: 600; margin-left: 5px; }
.vp-sticky__btn {
  border: 0; border-radius: 12px; padding: 13px 16px;
  font-size: 14.5px; font-weight: 900; white-space: nowrap;
  background: linear-gradient(180deg, #3BFFDC, var(--cy-deep)); color: #04211C;
}
.vp-sticky__btn:active { filter: brightness(.94); }

/* ---------- age gate ---------- */
.vp-gate {
  position: fixed; inset: 0; z-index: 120;
  display: none; align-items: center; justify-content: center;
  padding: 24px; background: rgba(4, 6, 11, .975);
}
.vp-gate.is-open { display: flex; }
.vp-gate__box { width: 100%; max-width: 360px; text-align: center; }
.vp-gate__logo { height: 24px; width: auto; margin: 0 auto 24px; }
.vp-gate__title {
  font-size: 25px; line-height: 1.15; font-weight: 900;
  letter-spacing: -.6px; margin: 0 0 10px;
}
.vp-gate__text { color: var(--dim); font-size: 13px; margin: 0 0 22px; line-height: 1.6; }
.vp-gate__btns { display: grid; gap: 9px; }
.vp-gate__fine { margin: 16px 0 0; font-size: 10.5px; color: #8B97B0; line-height: 1.6; }

/* ---------- footer ---------- */
.vp-foot {
  padding: 24px var(--pad) 34px;
  border-top: 1px solid var(--line); margin-top: 10px;
}
.vp-foot__logo { height: 20px; width: auto; margin-bottom: 14px; opacity: .85; }
.vp-foot__legal { margin: 0 0 10px; padding: 0; list-style: none; }
.vp-foot__legal li {
  font-size: 10.5px; color: var(--faint); line-height: 1.65;
  padding-left: 12px; position: relative;
}
.vp-foot__legal li::before {
  content: "•"; position: absolute; left: 0; color: var(--line);
}
.vp-foot__rules {
  font-size: 10.5px; color: var(--faint); line-height: 1.65;
  border-top: 1px solid var(--line-soft); padding-top: 12px; margin-top: 14px;
}
.vp-foot__rules b { color: var(--dim); }
.vp-foot__contact { font-size: 11px; color: var(--dim); margin-top: 12px; line-height: 1.7; }
.vp-foot__contact a {
  color: var(--cy); text-decoration: none;
  display: inline-block; padding: 6px 0; min-height: 28px;
}
.vp-foot__copy { font-size: 10px; color: #8B97B0; margin-top: 14px; }

/* ---------- shared badges ---------- */
.vp-tag {
  display: inline-block; font-size: 9.5px; font-weight: 900;
  letter-spacing: .4px; padding: 2.5px 7px; border-radius: 5px;
  text-transform: uppercase; line-height: 1.4;
}
.vp-tag--hot { background: rgba(255, 46, 147, .16); color: #FF86BF; border: 1px solid rgba(255, 46, 147, .36); }
.vp-tag--new { background: rgba(46, 242, 208, .13); color: var(--cy); border: 1px solid rgba(46, 242, 208, .36); }
.vp-tag--out { background: rgba(142, 155, 182, .13); color: #A9B5CE; border: 1px solid var(--line); }

/* ---------- a11y / motion ---------- */
.vp-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- tablet / desktop ---------- */
@media (min-width: 720px) {
  body {
    max-width: 100%;
    background:
      radial-gradient(60% 40% at 50% 0%, rgba(46, 242, 208, .07), transparent 60%),
      var(--bg);
  }
  body > header, body > main, body > footer.vp-foot {
    max-width: var(--maxw); margin-inline: auto;
  }
  .vp-sticky { border-radius: 16px 16px 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, .5); }
  .vp-hero__title { font-size: 36px; }
}
