:root {
  --red-900: #7a0000;
  --red-800: #b00505;
  --red-700: #d90707;
  --red-600: #ef1c12;
  --gold-500: #ffd46b;
  --gold-300: #fff1bd;
  --ink: #1e0808;
  --paper: #fffaf0;
  --muted: #825858;
  --green: #25d67c;
  --shadow: 0 18px 42px rgba(74, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 30% 10%, rgba(255, 214, 111, 0.28), transparent 25rem),
    linear-gradient(180deg, #9b0000 0%, #d90505 42%, #a30000 100%);
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 18%),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #ef160e 0%, #d80000 46%, #b90000 100%);
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.28);
}

.hero {
  position: relative;
  min-height: 94vh;
  padding: 34px 24px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset-inline: -18%;
  height: 260px;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(255, 226, 137, 0.36);
}

.hero::before {
  top: 58%;
  transform: rotate(-8deg);
}

.hero::after {
  top: 64%;
  transform: rotate(7deg);
}

.hero-kicker,
.hero-subtitle,
.section-kicker,
.form-kicker {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-kicker {
  font-size: clamp(18px, 4vw, 24px);
  color: var(--gold-300);
  padding-inline: 42px;
  position: relative;
}

.hero-kicker::before,
.hero-kicker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 1px;
  background: rgba(255, 244, 196, 0.75);
}

.hero-kicker::before {
  left: 0;
}

.hero-kicker::after {
  right: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: #fff8dc;
  text-align: center;
  font-size: clamp(43px, 12vw, 70px);
  line-height: 0.96;
  text-shadow: 0 5px 0 #ad0000, 0 14px 24px rgba(72, 0, 0, 0.38);
}

h1 span {
  display: block;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 18px;
  color: #e50000;
  background: linear-gradient(180deg, #fffdf0, #ffe2a5);
  border-radius: 8px;
  font-size: clamp(18px, 4.6vw, 25px);
  box-shadow: inset 0 -3px 0 rgba(215, 0, 0, 0.16), 0 14px 28px rgba(92, 0, 0, 0.26);
}

.free-burst {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #d80000;
  font-size: 22px;
  font-weight: 900;
  transform: rotate(12deg);
  filter: drop-shadow(0 7px 12px rgba(82, 0, 0, 0.36));
  background: var(--gold-500);
  clip-path: polygon(50% 0%, 60% 22%, 82% 10%, 77% 34%, 100% 42%, 80% 56%, 94% 76%, 68% 75%, 63% 100%, 47% 79%, 27% 94%, 27% 68%, 1% 62%, 22% 47%, 8% 25%, 34% 29%);
}

.terminal-visual {
  position: relative;
  width: 100%;
  min-height: 365px;
  display: grid;
  place-items: center;
  margin-top: 4px;
}

.monitor {
  width: min(100%, 430px);
  aspect-ratio: 1.28;
  border-radius: 8px;
  padding: 9px;
  background: linear-gradient(180deg, #31343c 0%, #07090d 100%);
  border: 5px solid rgba(255, 235, 170, 0.96);
  box-shadow: var(--shadow);
  position: relative;
}

.monitor::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -50px;
  width: 120px;
  height: 44px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #e8e8e8, #9c9c9c);
  clip-path: polygon(24% 0, 76% 0, 88% 100%, 12% 100%);
}

.monitor-toolbar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-inline: 6px;
  color: #d9deea;
  font-size: 13px;
}

.monitor-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5b5b;
}

.monitor-toolbar span:nth-child(2) {
  background: #ffcf57;
}

.monitor-toolbar span:nth-child(3) {
  background: #39db85;
}

.monitor-toolbar b {
  margin-left: 8px;
}

.screen-grid {
  height: calc(100% - 28px);
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 8px;
  background: #0b1017;
  border-radius: 6px;
  padding: 8px;
}

.chart-panel,
.quote-panel {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: #090d12;
}

.chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.grid-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.area {
  fill: rgba(255, 71, 56, 0.2);
}

.line {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}

.line.main {
  stroke: url("#lineGlow");
}

.line.gold {
  stroke: rgba(255, 214, 106, 0.8);
  stroke-width: 4;
}

.candles rect {
  fill: #f73f32;
  filter: drop-shadow(0 0 5px rgba(247, 63, 50, 0.72));
}

.candles rect:nth-child(3n) {
  fill: var(--green);
}

.signal circle {
  fill: #ffce54;
  stroke: #fff9ca;
  stroke-width: 4;
}

.signal text {
  fill: #b60000;
  font-size: 28px;
  font-weight: 900;
}

.quote-panel {
  display: grid;
  gap: 6px;
  padding: 8px;
}

.quote-panel div {
  display: grid;
  align-content: center;
  padding: 8px 6px;
  min-width: 0;
  color: #fff;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(239, 28, 18, 0.24), rgba(37, 214, 124, 0.1));
}

.quote-panel b {
  color: #ffd46b;
  font-size: 11px;
}

.quote-panel span {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.bubble {
  position: absolute;
  z-index: 3;
  min-width: 86px;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px 14px;
  color: #fff8df;
  font-size: 18px;
  font-weight: 900;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff6a2f, #e30b08);
  border: 2px solid rgba(255, 245, 197, 0.86);
  box-shadow: 0 10px 20px rgba(89, 0, 0, 0.28);
}

.bubble::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 22px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.8);
}

.bubble-left-top {
  left: 4px;
  top: 20px;
}

.bubble-left-top::after {
  right: -30px;
  bottom: -16px;
  transform: rotate(20deg);
}

.bubble-right-top {
  right: 6px;
  top: 26px;
}

.bubble-right-top::after {
  left: -30px;
  bottom: -16px;
  transform: rotate(-20deg);
}

.bubble-left-bottom {
  left: 6px;
  bottom: 30px;
}

.bubble-left-bottom::after {
  right: -28px;
  top: -16px;
  transform: rotate(-22deg);
}

.bubble-right-bottom {
  right: 0;
  bottom: 34px;
}

.bubble-right-bottom::after {
  left: -28px;
  top: -16px;
  transform: rotate(22deg);
}

.claim-button,
.submit-button {
  border: 0;
  min-height: 58px;
  border-radius: 999px;
  padding: 0 54px;
  color: #e60000;
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 900;
  background: linear-gradient(180deg, #fff8d8 0%, #ffd46b 100%);
  box-shadow: inset 0 -4px 0 rgba(217, 0, 0, 0.14), 0 16px 26px rgba(95, 0, 0, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.claim-button:hover,
.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 -4px 0 rgba(217, 0, 0, 0.14), 0 20px 32px rgba(95, 0, 0, 0.38);
}

.features {
  padding: 36px 22px;
  background: linear-gradient(180deg, #b90000, #d60808);
}

.section-kicker {
  color: var(--gold-500);
  text-align: center;
  font-size: 18px;
}

.features h2 {
  margin: 4px 0 24px;
  text-align: center;
  font-size: clamp(32px, 9vw, 48px);
  color: #fff8dc;
  text-shadow: 0 4px 0 #a30000;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 178px;
  padding: 18px 14px;
  border-radius: 8px;
  background: #fffaf0;
  border: 1px solid rgba(255, 207, 87, 0.65);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(92, 0, 0, 0.22);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #f01c13, #b60000);
  font-weight: 900;
}

.feature-grid h3 {
  margin: 12px 0 8px;
  color: #e40000;
  font-size: 21px;
}

.feature-grid p {
  margin: 0;
  color: #3a1717;
  line-height: 1.62;
  font-size: 15px;
}

.belief {
  display: grid;
  place-items: center;
  gap: 22px;
  padding: 38px 24px 44px;
  text-align: center;
  background: linear-gradient(180deg, #d60808, #9b0000);
}

.belief p {
  margin: 0;
  max-width: 430px;
  color: #fff4cb;
  font-size: 24px;
  line-height: 1.42;
  font-weight: 900;
}

.claim-button.secondary {
  min-height: 50px;
  padding-inline: 38px;
  font-size: 24px;
}

.risk-warning {
  padding: 18px 16px 28px;
  text-align: center;
  color: #ffe7b4;
  font-size: 16px;
  background: #760000;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}

.claim-form {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 28px 24px 24px;
  border-radius: 8px;
  color: var(--ink);
  background: #fffaf0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #820000;
  background: transparent;
  font-size: 30px;
  line-height: 1;
}

.form-kicker {
  color: #e40000;
  font-size: 16px;
}

.claim-form h2 {
  margin: 6px 0 20px;
  color: #9c0000;
  font-size: 27px;
}

.claim-form label {
  display: block;
  margin-bottom: 8px;
  color: #5e2424;
  font-weight: 700;
}

.claim-form input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #efb4a4;
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  font-size: 20px;
  background: #fff;
}

.claim-form input:focus {
  border-color: #e40000;
  box-shadow: 0 0 0 4px rgba(228, 0, 0, 0.12);
}

.submit-button {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  font-size: 24px;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: #bd0000;
  text-align: center;
  font-weight: 700;
}

.success-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 40;
  width: min(calc(100% - 36px), 380px);
  transform: translate(-50%, 120px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  font-weight: 800;
  background: rgba(94, 0, 0, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  transition: transform 0.28s ease;
}

.success-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 430px) {
  .hero {
    padding-inline: 18px;
  }

  .terminal-visual {
    min-height: 330px;
  }

  .screen-grid {
    grid-template-columns: 1fr 74px;
    gap: 6px;
    padding: 6px;
  }

  .quote-panel {
    padding: 5px;
  }

  .quote-panel div {
    padding: 6px 4px;
  }

  .quote-panel b {
    font-size: 10px;
  }

  .quote-panel span {
    font-size: 16px;
  }

  .bubble {
    min-width: 74px;
    min-height: 38px;
    padding: 7px 10px;
    font-size: 16px;
  }

  .bubble-left-top,
  .bubble-left-bottom {
    left: -2px;
  }

  .bubble-right-top,
  .bubble-right-bottom {
    right: -2px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
