:root {
  --page: #fff8ef;
  --text: #202124;
  --orange: #ff5a00;
  --orange-2: #ff8a00;
  --gold: #ffb000;
  --muted: #6b625b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
button, a { font: inherit; }

.earnmax-page {
  min-height: 100vh;
  background: var(--page);
  overflow-x: hidden;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 24px 20px 52px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 183, 77, 0.22), transparent 30%), linear-gradient(180deg, #fffdf9 0%, #fff8ef 100%);
}
.glow { position: absolute; border-radius: 999px; filter: blur(70px); pointer-events: none; }
.glow-left { left: -120px; top: -120px; width: 320px; height: 320px; background: rgba(255, 122, 0, 0.12); }
.glow-right { right: -140px; top: 120px; width: 360px; height: 360px; background: rgba(255, 190, 72, 0.25); }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}
.nav.is-scrolled {
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 1px 0 rgba(120, 53, 15, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.logo { display: block; width: 202px; height: 48px; }

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 116px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 52px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: #ea580c;
  font-size: 18px;
  font-weight: 850;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}
.hero-title {
  margin: 0;
  max-width: 680px;
  color: #111;
  font-size: clamp(46px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -2.8px;
  font-weight: 950;
}
.hero-title span { color: var(--orange); display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary {
  background: linear-gradient(135deg, #ff4d00, #ff8a00);
  color: #fff;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(255, 90, 0, 0.32);
}
.btn-outline {
  border: 2px solid transparent;
  background: linear-gradient(#fff8ef, #fff8ef) padding-box, linear-gradient(135deg, #ff5a00, #ffb000) border-box;
  color: #2b2b2b;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(120, 53, 15, 0.08);
}
.btn-secondary {
  background: #fff;
  color: var(--orange);
  padding: 15px 34px;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(120, 53, 15, 0.18);
}

.visual-area {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.visual-glow {
  position: absolute;
  left: 50%; bottom: 20px;
  width: 460px; height: 220px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 138, 0, 0.16) 0%, rgba(255, 244, 229, 0.55) 42%, rgba(255, 248, 239, 0) 72%);
  filter: blur(10px);
  z-index: 0;
}
.phone-shadow {
  position: absolute;
  left: 50%; bottom: 52px;
  width: 280px; height: 56px;
  transform: translateX(-50%) rotate(6deg);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(55, 42, 30, 0.22) 0%, rgba(55, 42, 30, 0.1) 42%, rgba(55, 42, 30, 0) 72%);
  filter: blur(16px);
  z-index: 1;
}
.coin {
  position: absolute;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.22);
}
.coin-one { left: 18px; top: 70px; width: 74px; height: 74px; font-size: 38px; background: linear-gradient(135deg, #ffc94a, #ff8a00); transform: rotate(-12deg); }
.coin-two { right: 20px; top: 26px; width: 52px; height: 52px; font-size: 28px; background: linear-gradient(135deg, #ffd767, #ff9d00); transform: rotate(18deg); }
.arrow-shape {
  position: absolute;
  right: 18px; bottom: 42px;
  color: #ff8a00;
  font-size: 168px;
  line-height: 1;
  font-weight: 950;
  opacity: 0.92;
  transform: rotate(-4deg);
  text-shadow: 0 18px 34px rgba(249, 115, 22, 0.18);
}
.phone-outer {
  position: relative;
  z-index: 2;
  width: 246px;
  height: 440px;
  border-radius: 38px;
  background: #151515;
  padding: 10px;
  box-shadow: 0 22px 46px rgba(30, 20, 10, 0.18), 0 56px 110px rgba(255, 138, 0, 0.12);
  transform: rotate(6deg);
}
.phone-inner {
  position: relative;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffdf9 0%, #fff7ec 100%);
  overflow: hidden;
  padding: 16px;
}
.phone-top-glow {
  position: absolute;
  right: -48px; top: -52px;
  width: 150px; height: 150px;
  border-radius: 999px;
  background: rgba(255, 176, 0, 0.14);
}
.phone-bar { display: flex; align-items: center; justify-content: space-between; transform: scale(0.58); transform-origin: left center; width: 172%; margin-bottom: 10px; }
.phone-logo { width: 202px; height: 48px; display: block; }
.phone-menu { font-size: 24px; font-weight: 800; }
.phone-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(120, 53, 15, 0.1);
}
.phone-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.phone-label { margin: 0; color: #80746a; font-size: 12px; font-weight: 800; }
.phone-amount { margin: 6px 0 0; color: #171717; font-size: 34px; font-weight: 950; letter-spacing: -1.4px; }
.phone-green { margin: 5px 0 0; color: #16a34a; font-size: 12px; font-weight: 850; }
.phone-coin-badge { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff5a00, #ffb000); font-size: 20px; font-weight: 950; box-shadow: 0 10px 22px rgba(255, 106, 0, 0.2); }
.chart-wrap { position: relative; height: 98px; border-radius: 22px; background: linear-gradient(180deg, #fff4e8 0%, #fff 100%); overflow: hidden; }
.chart-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 138, 0, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 138, 0, 0.05) 1px, transparent 1px); background-size: 22px 22px; }
.chart-bar { position: absolute; bottom: 18px; width: 16px; border-radius: 8px 8px 0 0; }
.chart-bar-one { left: 28px; height: 24px; background: rgba(255, 106, 0, 0.14); }
.chart-bar-two { left: 58px; height: 36px; background: rgba(255, 176, 0, 0.18); }
.chart-bar-three { left: 88px; height: 48px; background: rgba(255, 106, 0, 0.12); }
.chart-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.chart-fade { position: absolute; left: 16px; right: 16px; bottom: 12px; height: 44px; background: linear-gradient(180deg, rgba(255, 106, 0, 0.24), rgba(255, 106, 0, 0.02)); border-radius: 16px; }
.phone-stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.phone-stat-card { background: #fff; border-radius: 20px; padding: 13px; display: grid; gap: 5px; box-shadow: 0 10px 24px rgba(120, 53, 15, 0.08); }
.phone-stat-card-secondary { background: linear-gradient(180deg, #fff, #fff7ec); }
.phone-stat-label { color: #80746a; font-size: 11px; font-weight: 850; }
.phone-stat-value { color: #171717; font-size: 24px; line-height: 1; font-weight: 950; letter-spacing: -0.7px; }
.phone-stat-trend { color: #16a34a; font-size: 11px; font-weight: 850; }

.steps-section { position: relative; padding: 46px 20px 36px; }
.section-header { text-align: center; margin-bottom: 48px; }
.steps-kicker { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; color: #ea580c; font-size: 13px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; }
.section-title { margin: 0; color: var(--text); font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -1.6px; font-weight: 950; }
.section-title span { color: var(--orange); }
.steps-rail { display: grid; grid-template-columns: 1fr 88px 1fr 88px 1fr; gap: 0; align-items: stretch; }
.step-card { position: relative; overflow: hidden; min-height: 174px; background: linear-gradient(160deg, #fff 0%, #ffefd8 100%); border-radius: 28px; padding: 30px 22px 26px; text-align: center; box-shadow: 0 24px 56px rgba(120, 53, 15, 0.12); }
.step-glow { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 106, 0, 0.07), rgba(255, 176, 0, 0.04)); pointer-events: none; }
.step-decor { position: absolute; pointer-events: none; }
.step-decor-01a { right: -34px; top: 26px; width: 118px; height: 118px; border-radius: 999px; border: 18px solid rgba(255, 190, 72, 0.11); }
.step-decor-01b { left: 32px; bottom: 26px; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 138, 0, 0.045); transform: rotate(18deg); }
.step-decor-02a { right: 26px; top: -48px; width: 132px; height: 132px; border-radius: 34px; background: rgba(255, 190, 72, 0.1); transform: rotate(24deg); }
.step-decor-02b { left: -28px; bottom: 18px; width: 92px; height: 92px; border-radius: 999px; border: 14px solid rgba(255, 106, 0, 0.04); }
.step-decor-03a { right: -26px; bottom: -40px; width: 144px; height: 144px; border-radius: 999px; background: rgba(255, 190, 72, 0.09); }
.step-decor-03b { left: 44px; top: 34px; width: 64px; height: 64px; border-radius: 18px; border: 12px solid rgba(255, 138, 0, 0.04); transform: rotate(-16deg); }
.step-index-wrap { position: absolute; top: 16px; left: 16px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,0.72); border: 1px solid rgba(255,190,120,0.55); box-shadow: 0 8px 18px rgba(120,53,15,0.06); }
.step-index-wrap span { color: #b45309; font-size: 10px; line-height: 1; font-weight: 900; letter-spacing: 0.8px; text-transform: uppercase; display: inline-flex; align-items: center; }
.step-index-wrap strong { color: var(--orange); font-size: 14px; line-height: 1; font-weight: 950; letter-spacing: 0.4px; display: inline-flex; align-items: center; }
.step-icon { position: relative; z-index: 1; width: 66px; height: 66px; border-radius: 24px; margin: 0 auto 16px; display: grid; place-items: center; background: #fff; box-shadow: 0 14px 30px rgba(255, 106, 0, 0.14); }
.step-icon svg { width: 34px; height: 34px; display: block; overflow: visible; fill: none; stroke: var(--orange); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.step-name { position: relative; z-index: 1; display: block; color: inherit; font-size: 21px; font-weight: 950; letter-spacing: -0.5px; }
.step-desc { position: relative; z-index: 1; display: block; margin-top: 7px; color: rgba(104,96,90,0.86); font-size: 14px; font-weight: 750; }
.step-connector { display: flex; align-items: center; justify-content: center; min-width: 0; }
.step-connector span { width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--orange); box-shadow: 0 10px 22px rgba(120,53,15,0.1); }
.step-connector svg { width: 15px; height: 15px; display: block; transform: translateX(1px); fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

.rewards-section { padding: 34px 20px 32px; }
.rewards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.reward-card { position: relative; overflow: hidden; border-radius: 28px; padding: 28px; box-shadow: 0 22px 52px rgba(120, 53, 15, 0.07); }
.reward-card-light { background: linear-gradient(135deg, #fff, #fff3e5); }
.reward-card-team { background: linear-gradient(135deg, #fff, #fff6e8); box-shadow: 0 22px 52px rgba(120, 53, 15, 0.08); }
.reward-watermark { position: absolute; right: -22px; top: -40px; color: rgba(255, 106, 0, 0.06); font-size: 190px; line-height: 1; font-weight: 950; pointer-events: none; }
.reward-watermark-team { color: rgba(255, 138, 0, 0.055); }
.reward-header { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.reward-eyebrow { display: inline-flex; margin-bottom: 10px; color: #ea580c; font-size: 12px; font-weight: 950; letter-spacing: 1.4px; text-transform: uppercase; }
.reward-eyebrow-team { color: #b45309; }
.reward-header h3 { margin: 0; color: var(--text); font-size: 30px; font-weight: 950; letter-spacing: -0.9px; }
.reward-coin { width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #ff5a00, #ffb000); font-size: 28px; font-weight: 950; box-shadow: 0 16px 30px rgba(255,106,0,0.18); flex-shrink: 0; }
.reward-coin-team { background: linear-gradient(135deg, #ff7a00, #ffc247); box-shadow: 0 16px 30px rgba(255,122,0,0.16); }
.reward-rule { position: relative; z-index: 1; margin-top: 24px; background: linear-gradient(135deg, #ff5a00, #ffb000); border-radius: 24px; padding: 22px 24px; display: grid; gap: 6px; box-shadow: 0 18px 36px rgba(255,106,0,0.2); }
.reward-rule-team { background: linear-gradient(135deg, #ff7a00, #ffc247); box-shadow: 0 18px 36px rgba(255,122,0,0.16); }
.reward-rule > span { color: rgba(255,255,255,0.78); font-size: 13px; font-weight: 900; letter-spacing: 1.1px; text-transform: uppercase; }
.reward-rule strong { color: #fff; font-size: 34px; line-height: 1.12; font-weight: 950; letter-spacing: -0.8px; }
.reward-rule small { display: block; margin-top: 8px; color: rgba(255,255,255,0.72); font-size: 12px; line-height: 1.5; font-weight: 400; }
.reward-example { position: relative; z-index: 1; margin-top: 16px; padding: 2px 4px; display: grid; gap: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; font-weight: 400; }
.reward-example p { margin: 0; }
.reward-example .formula { display: block; color: var(--orange); font-size: 16px; line-height: 1.45; font-weight: 400; }

.cta-section { padding: 32px 20px 72px; }
.cta-card { max-width: 1120px; margin: 0 auto; border-radius: 28px; background: linear-gradient(135deg, #ff5a00, #ffb000); color: #fff; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 24px 58px rgba(234, 88, 12, 0.24); }
.cta-card p { margin: 0; color: rgba(255,255,255,0.78); font-size: 13px; font-weight: 950; text-transform: uppercase; letter-spacing: 3px; }
.cta-card h2 { margin: 8px 0 0; color: #fff; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 950; }
.mobile-sticky-cta { display: none; }

@media (max-width: 767px) {
  .earnmax-page { padding-bottom: 92px; }
  .mobile-sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,253,249,0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 -1px 0 rgba(120,53,15,0.06), 0 -16px 34px rgba(120,53,15,0.08); }
  .mobile-sticky-cta .btn { width: 100%; padding: 16px 24px; }
  .nav { padding: 10px 18px; }
  .logo { width: 150px; height: auto; }
  .hero-section { padding: 18px 18px 36px; }
  .hero-grid { display: flex; flex-direction: column; gap: 26px; padding-top: 88px; }
  .hero-content { width: 100%; }
  .eyebrow { font-size: 15px; margin-bottom: 14px; }
  .hero-title { max-width: 100%; font-size: 39px; line-height: 1.03; letter-spacing: -1.7px; }
  .hero-actions { display: none; }
  .visual-area { width: 100%; min-height: 390px; margin-top: 4px; transform: scale(0.92); transform-origin: top center; }
  .phone-outer { width: 220px; height: 394px; }
  .coin-one { left: 4px; top: 70px; width: 58px; height: 58px; font-size: 30px; }
  .coin-two { right: 4px; top: 34px; width: 42px; height: 42px; font-size: 22px; }
  .arrow-shape { right: -8px; bottom: 58px; font-size: 118px; opacity: 0.75; }
  .visual-glow { width: 340px; height: 170px; bottom: 40px; }
  .phone-shadow { width: 230px; bottom: 72px; }

  .steps-section { padding: 40px 18px 28px; }
  .section-header { margin-bottom: 28px; }
  .steps-kicker { font-size: 12px; }
  .section-title { font-size: 31px; line-height: 1.08; letter-spacing: -1.2px; }
  .steps-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .step-card { min-height: 112px; padding: 16px 8px 12px; border-radius: 20px; }
  .step-index-wrap { top: 8px; left: 9px; height: 18px; padding: 0; border: 0; background: transparent; box-shadow: none; gap: 0; opacity: 0.58; transform: skewX(-8deg); }
  .step-index-wrap span { display: none; }
  .step-index-wrap strong { font-size: 16px; color: rgba(255, 90, 0, 0.64); font-style: italic; letter-spacing: -0.2px; }
  .step-icon { width: 42px; height: 42px; border-radius: 16px; margin: 0 auto 9px; }
  .step-icon svg { width: 24px; height: 24px; }
  .step-name { font-size: 14px; line-height: 1.12; letter-spacing: -0.2px; }
  .step-desc { margin-top: 5px; font-size: 11px; line-height: 1.2; }
  .step-connector { display: none; }

  .rewards-section { padding: 24px 18px 28px; }
  .rewards-grid { grid-template-columns: 1fr; gap: 16px; }
  .reward-card { padding: 22px; }
  .reward-header { gap: 12px; }
  .reward-header h3 { font-size: 27px; }
  .reward-coin { width: 44px; height: 44px; font-size: 24px; }
  .reward-rule { margin-top: 20px; padding: 18px; }
  .reward-rule strong { font-size: 28px; line-height: 1.15; word-break: break-word; }
  .reward-example { align-items: flex-start; gap: 6px; }

  .cta-section { padding: 26px 18px 56px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 22px; }
  .cta-card h2 { font-size: 36px; }
}
