:root {
  --page-width: 430px;
  --header-height: 92px;
  --black: #070503;
  --brown: #1d1009;
  --brown-2: #2b190f;
  --red: #f52f2f;
  --red-bright: #ff2545;
  --blue: #3389f6;
  --gold: #ffc645;
  --gold-light: #ffe99e;
  --cream: #fff0b8;
  --text: #fffaf2;
  --muted: #c2aa89;
  --radius-pill: 999px;
  --shadow-gold: 0 8px 24px rgba(255, 173, 35, .22);
}

* { box-sizing: border-box; }

html {
  background: #160d08;
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(94, 47, 14, .22), transparent 32rem),
    #160d08;
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.35;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
}

body.is-dragging {
  cursor: grabbing;
  user-select: none;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.floating-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 61px minmax(0, 1fr) 132px;
  align-items: center;
  gap: 9px;
  width: min(100%, var(--page-width));
  height: calc(var(--header-height) + env(safe-area-inset-top));
  padding: calc(9px + env(safe-area-inset-top)) 15px 9px;
  transform: translateX(-50%);
  background: linear-gradient(106deg, #ff3139 0%, #ff1d54 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  background: linear-gradient(155deg, #6047d4 0 72%, #fff1b4 72% 100%);
  box-shadow: inset 0 0 14px rgba(255,255,255,.18);
}

.brand-mark svg { width: 44px; height: 44px; margin-top: -10px; }
.brand-mark span {
  position: absolute;
  inset: auto 0 2px;
  color: #3d2c18;
  font-size: 7px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.header-copy { min-width: 0; line-height: 1.15; }
.header-copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.4px;
  white-space: nowrap;
}
.header-copy span { display: block; font-size: 12px; font-weight: 700; white-space: nowrap; }
.header-copy small { display: block; margin-top: 3px; font-size: 10px; white-space: nowrap; }

.header-cta {
  display: grid;
  place-items: center;
  min-height: 47px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #fff3bb, #ffe597);
  color: #e32722;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(255, 221, 104, 0);
  animation: headerPulse 1.55s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}

.header-cta:hover { filter: brightness(1.12); box-shadow: 0 0 22px rgba(255, 229, 113, .78); }
.header-cta:active { transform: scale(.96); filter: brightness(.95); }

@keyframes headerPulse {
  0%, 38%, 62%, 100% { transform: scale(1); filter: brightness(1); box-shadow: 0 0 0 rgba(255, 221, 104, 0); }
  50% { transform: scale(1.03); filter: brightness(1.13); box-shadow: 0 0 22px rgba(255, 221, 104, .72); }
}

.page-shell {
  width: min(100%, var(--page-width));
  min-height: 100vh;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + env(safe-area-inset-top));
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 0 38px rgba(0,0,0,.48);
}

.hero-section {
  position: relative;
  padding: 31px 18px 12px;
  background:
    radial-gradient(ellipse at 50% 47%, rgba(104, 50, 12, .46) 0%, rgba(18, 9, 4, .3) 47%, transparent 70%),
    linear-gradient(#090703, #080503 76%, #160c07);
}

.hero-heading { position: relative; z-index: 2; text-align: center; }
.hero-heading h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(25px, 7.2vw, 32px);
  font-style: italic;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -1.2px;
  text-shadow: 0 3px 0 #4d2609, 0 6px 14px rgba(0,0,0,.95);
}
.hero-heading h1 span { color: #fff8e8; }
.hero-heading p {
  margin: 12px 0 13px;
  color: #fff4df;
  font-size: 15px;
  font-style: italic;
  font-weight: 750;
}
.hero-heading p strong { color: #ffe245; font-size: 19px; }

.cta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 49px;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  color: white;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .25);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cta:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 9px 24px rgba(255, 64, 49, .28); }
.cta:active { transform: scale(.975); filter: brightness(.94); }
.cta:focus-visible, .header-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cta-blue { background: linear-gradient(180deg, #3b91fa, #2e83ed); }
.cta-red { background: linear-gradient(180deg, #fa3732, #ee292a); }

.hero-art {
  position: relative;
  height: 300px;
  margin: -4px -18px -2px;
  overflow: hidden;
}
.hero-art::before,
.hero-art::after {
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  height: 64px;
  content: "";
  pointer-events: none;
}
.hero-art::before { top: 0; background: linear-gradient(#090604, transparent); }
.hero-art::after { bottom: 0; background: linear-gradient(transparent, #100805); }
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 65%;
}

.bonus-banner {
  position: relative;
  z-index: 2;
  width: 91%;
  min-height: 47px;
  margin: -8px auto 24px;
  padding: 10px 15px;
  border: 1px solid #f9c751;
  border-radius: var(--radius-pill);
  background: linear-gradient(105deg, #fff1a7, #ffc451);
  color: #2e2010;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.bonus-banner strong { color: #d52617; white-space: nowrap; }

.features-section {
  padding: 10px 14px 20px;
  border-top: 1px solid rgba(255,255,255,.85);
  background: #090604;
}

.feature-panel {
  padding: 0 13px 18px;
  border: 1px solid #8f704b;
  border-radius: 18px;
  background: linear-gradient(180deg, #2b1b11, #1a0d08);
  box-shadow: inset 0 0 25px rgba(0,0,0,.35);
}

.section-ribbon {
  width: 88%;
  min-height: 45px;
  margin: 0 auto 5px;
  padding: 8px 22px;
  clip-path: polygon(0 0, 100% 0, 89% 100%, 11% 100%);
  background: linear-gradient(100deg, #fff0b8, #d99c32 54%, #fff1ae);
  color: #2b1d0e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 1px #fff2b2;
}

.section-subtitle {
  margin: 8px 0 12px;
  color: #ad9274;
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.feature-list { display: grid; gap: 9px; }
.feature-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 107px;
  padding: 10px 12px;
  border: 1px solid #ffe69a;
  border-radius: 10px;
  background: linear-gradient(104deg, #fffbd0 0%, #ffe087 54%, #ffca62 100%);
  color: #5a311f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  border-radius: 11px;
  background: rgba(245, 220, 138, .55);
}
.feature-icon svg { width: 56px; height: 56px; filter: drop-shadow(0 4px 3px rgba(126, 74, 21, .25)); }
.icon-disc { fill: #e7a928; stroke: #fff1a0; stroke-width: 1; }
.icon-line { fill: none; stroke: #f0642c; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h2 { margin: 0 0 5px; color: #c84b27; font-size: 15px; line-height: 1.12; }
.feature-card p { margin: 0; color: #70513b; font-size: 11px; line-height: 1.36; }
.features-section > .cta { margin-top: 19px; }

.trust-section {
  padding: 7px 16px 9px;
  background: linear-gradient(#090604, #050403);
}
.trust-heading { padding: 15px 0 15px; text-align: center; }
.trust-heading h2 {
  margin: 0;
  color: #ffe0a0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-style: italic;
  font-weight: 900;
  text-shadow: 0 3px 8px rgba(125, 68, 19, .75);
}
.trust-heading p { margin: 7px 0 0; color: #b58a54; font-size: 15px; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.trust-card {
  position: relative;
  min-width: 0;
  height: 213px;
  overflow: hidden;
  border: 1px solid #343434;
  border-radius: 9px;
  background: #07101b;
}
.trust-card::after {
  position: absolute;
  inset: 40% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(0,0,0,.78) 36%, #050505 100%);
  pointer-events: none;
}
.trust-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.trust-card > div {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  left: 8px;
  text-align: center;
}
.trust-card h3 { margin: 0 0 4px; color: white; font-size: 14px; line-height: 1.1; text-shadow: 0 2px 5px #000; }
.trust-card p { margin: 0; color: #e8e8e8; font-size: 9.5px; line-height: 1.25; text-shadow: 0 1px 3px #000; }
.trust-section > .cta { margin-top: 9px; }

.risk-footer {
  min-height: 78px;
  padding: 14px 20px 20px;
  background: white;
  color: #777;
  text-align: center;
}
.risk-footer p { margin: 0; font-size: 11px; line-height: 1.45; }
.risk-footer strong { color: #555; }

.config-notice {
  position: fixed;
  z-index: 1200;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 380px;
  margin: auto;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff3cc;
  color: #4a2e16;
  font-size: 13px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.32);
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 374px) {
  :root { --header-height: 84px; }
  .floating-header { grid-template-columns: 54px minmax(0, 1fr) 112px; gap: 7px; padding-right: 9px; padding-left: 10px; }
  .brand-mark { width: 54px; height: 54px; }
  .header-copy strong { font-size: 16px; }
  .header-copy span { font-size: 10.5px; }
  .header-copy small { font-size: 8.6px; letter-spacing: -.15px; }
  .header-cta { min-height: 43px; padding: 0 7px; font-size: 11px; }
  .hero-section { padding-right: 14px; padding-left: 14px; }
  .hero-heading h1 { font-size: 24px; }
  .hero-heading p { font-size: 13px; }
  .hero-art { height: 280px; margin-right: -14px; margin-left: -14px; }
  .bonus-banner { width: 96%; font-size: 15px; }
  .features-section { padding-right: 9px; padding-left: 9px; }
  .feature-panel { padding-right: 9px; padding-left: 9px; }
  .section-ribbon { width: 94%; padding-right: 13px; padding-left: 13px; font-size: 17px; }
  .feature-card { grid-template-columns: 62px minmax(0, 1fr); gap: 8px; padding-right: 9px; padding-left: 9px; }
  .feature-icon { width: 58px; height: 58px; }
  .feature-icon svg { width: 50px; height: 50px; }
  .feature-card h2 { font-size: 13.5px; }
  .feature-card p { font-size: 10.3px; }
  .trust-section { padding-right: 11px; padding-left: 11px; }
  .trust-card { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header-cta { animation: none; }
  .cta, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
