/* #MyPadXStats promotion pages, dressed like the PadX app and the rebuilt padx.ai:
   app colour tokens, Barlow and Barlow Condensed, stadium buttons and chips, rounded
   cards with the pink edge, and the same nav and footer as src/styles.css. Static
   files, so the shared rules are copied here. */
:root {
  /* App tokens (padx_ui BaseColor), as src/styles.css */
  --ink: #0b0b0b;
  --ink-2: #0f0f11;
  --panel: #141417;
  --glass-2: #1c1d22;
  --rule: #2b2e34;
  --line: rgba(255, 255, 255, 0.07);
  --paper: #f5f5f7;
  --paper-2: #d0d2d6;
  --paper-3: #8e929a;
  --crimson: #fd0158;
  --crimson-hover: #ff2a74;
  --crimson-text: #ff5c8f; /* small crimson text on ink (AA) */
  --card-edge: rgba(253, 1, 88, 0.28);
  --r: 16px;
  --r-lg: 20px;
  --cyan: #22d3ee;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; /* app labels are tracked Barlow caps */
  --hud: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --nav-h: 72px;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 767px) { :root { --nav-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scrollbar-color: #2a2a31 var(--ink); scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 60px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--body); font-weight: 400; font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--crimson); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; color: #fff; }
strong { color: #fff; font-weight: 600; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--crimson); color: #fff; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--paper); color: var(--ink); border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-2); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); flex: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; color: var(--paper); margin: 0; letter-spacing: 0.005em; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 0.92; margin-bottom: 18px; }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1; }
p { margin: 0 0 14px; color: var(--paper-2); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 36ch; }

/* Buttons: the app's stadium pills, Barlow semibold, primary with a soft pink glow */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--crimson);
  background: var(--crimson); color: #fff; box-shadow: 0 6px 22px -6px rgba(253, 1, 88, 0.6);
  font-family: var(--body); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0;
  text-decoration: none; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--crimson-hover); border-color: var(--crimson-hover); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: var(--glass-2); border-color: var(--rule); color: var(--paper); box-shadow: none; }
.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: #24252b; }
.btn .icon { width: 22px; height: 22px; flex: none; }
.btn-store { padding: 9px 18px 9px 14px; min-height: 54px; text-transform: none; letter-spacing: 0; }
.btn-store span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; font-family: var(--body); font-weight: 700; font-size: 1.05rem; }
.btn-store small { font-size: 0.6875rem; font-weight: 500; opacity: 0.85; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Nav (as the rebuilt site) */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); background: rgba(11, 11, 11, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { height: var(--nav-h); max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.nav-logo { margin-right: auto; display: flex; padding: 4px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.nav-link { font-family: var(--body); font-weight: 600; font-size: 1rem; color: var(--paper-2); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.nav-link:hover, .nav-link[aria-current='page'] { color: var(--paper); border-bottom-color: var(--crimson); text-decoration: none; }
.nav-cta { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
@media (max-width: 899px) { .nav-links { display: none; } }

/* Promotion sub-bar: the page's own sections, under the site nav */
.promo-bar { margin-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); z-index: 40; border-bottom: 1px solid var(--line); background: rgba(20, 20, 23, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.promo-bar-inner { display: flex; align-items: center; gap: 22px; min-height: 48px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.promo-bar-inner::-webkit-scrollbar { display: none; }
.promo-bar-inner { gap: 8px; }
.promo-bar a { font-family: var(--body); font-weight: 600; font-size: 0.875rem; color: var(--paper-2); text-decoration: none; padding: 6px 14px; border-radius: 999px; background: var(--glass-2); }
.promo-bar a:hover { color: var(--paper); background: #24252b; }
.promo-bar a[aria-current='page'] { color: #fff; background: var(--crimson); }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3.6rem, 19vw, 5rem); line-height: 0.84; margin: 0 0 24px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--crimson); }
.hero-media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #0a0a0e; aspect-ratio: 16 / 9; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.9); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--cyan); opacity: 0.9; pointer-events: none; }
.corner.tl { left: 14px; top: 14px; border-right: 0; border-bottom: 0; }
.corner.tr { right: 14px; top: 14px; border-left: 0; border-bottom: 0; }
.corner.bl { left: 14px; bottom: 14px; border-right: 0; border-top: 0; }
.hero-tag { position: absolute; left: 0; bottom: 0; padding: 5px 9px; background: var(--ink); font-family: var(--hud); font-size: 0.625rem; letter-spacing: 0.14em; color: var(--cyan); }
.media-toggle {
  position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(4, 4, 6, 0.7); color: #fff;
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.media-toggle svg { width: 16px; height: 16px; }
.media-toggle .i-play { display: none; }
.media-toggle[aria-pressed='true'] .i-play { display: block; }
.media-toggle[aria-pressed='true'] .i-pause { display: none; }
.dates { margin: 24px 0 0; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-3); }
.dates span { color: var(--paper); }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 136px); border-top: 1px solid var(--line); }
.section.alt { background: var(--ink-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); }

/* Prize cards: flush panels on shared rules, like the plans rig */
/* App cards: rounded panels with the pink edge, apart from each other */
.cards { display: grid; gap: 14px; max-width: 400px; }
.card { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--card-edge); border-radius: var(--r-lg); display: flex; flex-direction: column; box-shadow: 0 0 24px -12px rgba(253, 1, 88, 0.35); }
.card .tag { display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--glass-2); font-weight: 600; }
.card-img { aspect-ratio: 4 / 3; background: #15151c; overflow: hidden; }
.card-img picture, .feature-image picture { display: block; width: 100%; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 20px 26px; display: flex; flex-direction: column; flex: 1; }
.card .tag { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--paper-3); text-transform: uppercase; }
.card h3 { margin: 10px 0 12px; }
.card p { margin: 0; }
.card .prize-note { font-size: 0.8125rem; color: var(--paper-3); margin-top: 12px; line-height: 1.45; }

/* How to enter */
.how-grid { display: grid; gap: 40px; align-items: center; }
.steps { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.step { background: var(--panel); padding: 18px 18px 20px; border: 1px solid var(--rule); border-radius: var(--r); }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(253, 1, 88, 0.14); color: var(--crimson-text); font-family: var(--body); font-weight: 700; font-size: 0.875rem; }
.step h3 { margin: 8px 0; }
.step p { margin: 0; }
.tag-chip { display: inline-block; font-family: var(--body); font-weight: 600; font-size: 0.875rem; color: #fff; background: rgba(253, 1, 88, 0.16); border: 1px solid rgba(253, 1, 88, 0.5); border-radius: 999px; padding: 0 9px; white-space: nowrap; }
.note { margin: 28px 0 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; color: var(--paper); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.05; }
.note sup { color: var(--crimson-text); }
.how-terms { margin-top: 10px; font-size: 0.8125rem; color: var(--paper-3); }
.how-visual { display: flex; justify-content: center; }
.how-visual img { width: min(72vw, 340px); height: auto; filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.6)); }
.w2s-strip { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px; border: 1px solid var(--card-edge); border-radius: var(--r); background: var(--panel); }
.w2s-strip img { height: 30px; width: auto; }
.w2s-strip p { margin: 0; flex: 1 1 240px; font-size: 0.9375rem; }

/* Grand prize feature */
.feature { display: grid; gap: 32px; align-items: center; }
.feature-image { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 1 / 1; background: #15151c; width: 100%; max-width: 470px; } /* source 1008px: keep 2x sharp */
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature .big { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--paper); }
.feature .when { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.fine { font-size: 0.8125rem; color: var(--paper-3); margin-top: 20px; }

/* Panels: two app cards, equal height, buttons on one baseline */
.split { display: grid; gap: 14px; align-items: stretch; }
.panel { display: flex; flex-direction: column; padding: 32px 24px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.panel.pink { background: linear-gradient(140deg, rgba(253, 1, 88, 0.24), rgba(253, 1, 88, 0.04) 60%), var(--panel); border-color: var(--card-edge); }
.panel h3 { margin-bottom: 12px; }
.panel .btn-row { margin-top: auto; padding-top: 20px; }
.panel .btn { min-height: 54px; }

/* Terms summary accordions */
.terms-list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  color: var(--paper); font-size: clamp(1.3rem, 2.4vw, 1.6rem); letter-spacing: 0.01em; line-height: 1.1;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-weight: 400; font-size: 1.4rem; color: var(--crimson-text); }
details[open] summary::after { content: '\2212'; }
summary:hover { color: #fff; }
.terms-copy { padding: 0 0 24px; max-width: 860px; font-size: 0.9375rem; }
.terms-copy h4 { font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); margin: 22px 0 8px; }
.terms-copy h4:first-child { margin-top: 0; }

/* Footer (as the rebuilt site) */
.footer { border-top: 1px solid var(--line); padding-block: 56px calc(36px + env(safe-area-inset-bottom, 0px)); background: var(--ink); }
.footer-tagline { margin: 0 0 40px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--paper); }
.footer-tagline span { color: var(--crimson); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 40px; width: auto; }
.footer-copy { margin: 14px 0 0; font-size: 0.875rem; color: var(--paper-3); }
.footer-copy a { color: var(--paper-2); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-family: var(--body); font-weight: 600; font-size: 1rem; color: var(--paper-2); text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current='page'] { color: var(--paper); }
.credit { padding-top: 26px; text-align: center; }
.credit a { font-family: var(--hud); font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--paper-3); text-decoration: none; }
.credit a:hover { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 899px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Sticky mobile CTA */
.sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; transition: opacity 0.25s, transform 0.25s; }
.sticky .btn { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
.sticky.hide { opacity: 0; transform: translateY(16px); pointer-events: none; }
.has-sticky .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }

/* Legal page */
.legal { max-width: 800px; margin: 0 auto; padding: clamp(36px, 7vw, 72px) var(--gutter) 72px; }
.legal h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: 0.92; margin: 0 0 14px; }
.legal .updated { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-3); padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--rule); }
.legal h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1; margin: 48px 0 14px; }
.legal h3 { font-size: 1.35rem; line-height: 1.1; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 1rem; color: var(--paper-2); }
.legal ol, .legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal .back { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-3); text-decoration: none; display: inline-block; margin-bottom: 32px; }
.legal .back:hover { color: var(--paper); }
.placeholder { background: rgba(255, 214, 0, 0.16); color: #ffe36e; border: 1px dashed rgba(255, 214, 0, 0.6); border-radius: 6px; padding: 1px 6px; font-weight: 500; }
.toc { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.legal .toc { padding-left: 0; }
.legal .toc li { margin: 0; }
.toc a { display: inline-block; font-family: var(--body); font-weight: 600; font-size: 0.875rem; color: var(--paper-2); text-decoration: none; background: var(--glass-2); border: 1px solid transparent; border-radius: 999px; padding: 6px 14px; }
.toc a:hover { border-color: var(--crimson); color: #fff; }

/* Tablet and up */
@media (min-width: 700px) {
  /* three across from here: each card image stays within its source at 2x */
  .cards { grid-template-columns: repeat(3, 1fr); max-width: none; }
}
@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .panel { padding: 40px 36px; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .hero h1 { font-size: clamp(5rem, 9vw, 8.5rem); }
  .how-grid { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.75fr); gap: clamp(40px, 6vw, 88px); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .feature { grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); }
  .sticky { display: none; }
  .has-sticky .footer { padding-bottom: 36px; }
}
@media (max-width: 400px) {
  .btn-store { flex: 1 1 140px; padding-inline: 12px 14px; gap: 8px; }
  .btn-store span { font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
