/* =========================
   0. CSS Custom Properties
   ========================= */
:root {
  --gold: #f9c701;
  --dark-purple: #312d64;
  --purple-cta: #702ad0;
  --body-text: #444;
  --footer-bg: #311f4a;
  --highlight: rgba(249, 199, 1, 0.35);
  --hero-gradient: linear-gradient(131deg, #26c1e3 13.9%, #702bd0 99.9%);
  --cta-gradient: linear-gradient(102deg, #fff275 0.9%, #f9a300 101.8%);
  --final-cta-gradient: linear-gradient(126deg, #3b97de 0.7%, #6e2fd1 92.4%);
  --footer-gradient: linear-gradient(137deg, #32aae1 11.2%, #6e2fd1 76.1%);
  --earn-gradient: linear-gradient(to right, #26c1e3, #1189ad 45.7%, #7120cc);
  --cta-shadow: 0px 4px 20px rgba(249, 163, 0, 0.3);
  --font-rubik: 'Rubik', sans-serif;
  --font-nunito: 'Nunito', sans-serif;
}

/* =========================
   1. Reset & Base
   ========================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-nunito); color: var(--body-text); overflow-x: hidden; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.content-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* =========================
   2. Shared CTA Button
   ========================= */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cta-gradient);
  color: var(--purple-cta);
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
  border: none;
  border-radius: 166px;
  padding: 16px 40px;
  height: 76px;
  box-shadow: var(--cta-shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 6px 24px rgba(249, 163, 0, 0.45);
}

/* =========================
   3. Banner
   ========================= */
.banner {
  background: var(--gold);
  text-align: center;
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--dark-purple);
  line-height: normal;
}

.banner .content-wrapper {
  padding: 12px 40px;
}

/* =========================
   4. Hero Section
   ========================= */
.hero {
  background: var(--hero-gradient);
  border-radius: 0 0 36px 36px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  padding: 140px 120px 80px;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero h1 {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 56px;
  line-height: 66px;
  color: #fff;
  margin: 0;
}

.hero h1 .gold {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-family: var(--font-rubik);
  font-weight: 500;
  font-size: 24px;
  color: #fff;
  max-width: 700px;
  line-height: normal;
}

.hero .cta-wrapper {
  padding-top: 56px;
}

.hero-image {
  position: absolute;
  right: 120px;
  top: -86px;
  width: 446px;
  height: 688px;
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-pattern {
  position: absolute;
  top: -260px;
  right: -80px;
  width: 1173px;
  height: 1184px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* =========================
   5. Earn Section
   ========================= */
.earn-section {
  background: #fff;
  overflow: hidden;
}

.earn-section .content-wrapper {
  padding: 80px 120px;
}

.section-header {
  text-align: center;
}

.earn-header {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 48px;
  line-height: normal;
  color: #7120cc;
  background: var(--earn-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-family: var(--font-nunito);
  font-weight: 500;
  font-size: 20px;
  color: var(--body-text);
  margin-top: 16px;
}

.earn-layout {
  display: flex;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
  padding-left: 80px;
}

.steps {
  width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.step-text {
  font-family: var(--font-nunito);
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: var(--body-text);
  text-align: center;
}

.step-text strong {
  font-weight: 700;
}

.highlight {
  position: relative;
  font-weight: 700;
  display: inline;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -2px;
  right: -2px;
  height: 12px;
  background: var(--highlight);
  border-radius: 42px;
  z-index: -1;
}

.image-area {
  flex: 1;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  height: 600px;
}

.image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   6. Cashout Section
   ========================= */
.cashout-section {
  background: #fff;
  overflow: hidden;
}

.cashout-section .content-wrapper {
  padding: 40px 120px 80px;
}

.cashout-header {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 48px;
  line-height: normal;
  color: var(--body-text);
  text-align: center;
}

.cashout-layout {
  display: flex;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.scor-card {
  width: 420px;
  flex-shrink: 0;
}

.scor-card img {
  width: 100%;
  height: auto;
}

.explanations {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.explanation h3 {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 24px;
  color: var(--body-text);
  line-height: normal;
}

.explanation p {
  font-family: var(--font-nunito);
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: var(--body-text);
  margin-top: 8px;
}

/* =========================
   7. Final CTA Section
   ========================= */
.final-cta {
  background: #fff;
}

.final-cta .content-wrapper {
  padding: 40px 160px;
}

.final-cta-card {
  background: var(--final-cta-gradient);
  border-radius: 26px;
  padding: 64px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.final-cta-card h2 {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #fff;
}

.final-cta-card .gold {
  color: var(--gold);
}

.final-cta-card .cta-button {
  min-width: 346px;
}

/* =========================
   8. Footer
   ========================= */
.footer-outer {
  background: var(--footer-bg);
  border-radius: 36px 36px 0 0;
  padding: 20px 20px 0;
}

.footer-inner {
  background: var(--footer-gradient);
  border-radius: 24px 24px 0 0;
}

.footer-content {
  padding: 28px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 126px;
}

.footer-logo {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 36px;
}

.footer-tagline {
  font-family: var(--font-rubik);
  font-weight: 700;
  font-size: 38px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: normal;
}

.footer-tagline .gold {
  color: var(--gold);
}

.footer-legal {
  font-family: var(--font-nunito);
  font-weight: 500;
  font-size: 18px;
  line-height: 45px;
  color: #fff;
  text-align: center;
}

.footer-legal a {
  color: #fff;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-social {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  transition: opacity 0.2s ease;
}

.social-icon:hover {
  opacity: 0.8;
}

.social-icon img {
  width: 100%;
  height: 100%;
}

/* =========================
   9. Scroll Reveal
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   10. Responsive (tablet)
   ========================= */
@media (max-width: 1100px) {
  .hero-inner {
    padding: 80px 60px 60px;
  }

  .hero-image {
    display: none;
  }

  .earn-section .content-wrapper {
    padding: 60px 40px;
  }

  .earn-layout {
    padding-left: 0;
    gap: 40px;
  }

  .steps {
    width: 320px;
  }

  .cashout-section .content-wrapper {
    padding: 40px 40px 60px;
  }

  .cashout-layout {
    gap: 40px;
  }

  .scor-card {
    width: 300px;
  }

  .final-cta .content-wrapper {
    padding: 40px 40px;
  }

  .footer-logo {
    display: none;
  }
}

/* =========================
   11. Responsive (mobile)
   ========================= */
@media (max-width: 768px) {
  /* Banner */
  .banner {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .banner .content-wrapper {
    padding: 8px 16px;
  }

  /* Hero */
  .hero {
    border-radius: 0 0 24px 24px;
  }

  .hero-inner {
    padding: 40px 24px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
    max-width: 100%;
  }

  .hero .cta-wrapper {
    padding-top: 24px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero .cta-button {
    font-size: 16px;
    padding: 12px 28px;
    height: auto;
    letter-spacing: 1px;
  }

  .hero-image,
  .hero-pattern {
    display: none;
  }

  .mobile-break {
    display: block;
  }

  /* Earn Section */
  .earn-section .content-wrapper {
    padding: 48px 24px;
  }

  .earn-header {
    font-size: 24px;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--body-text);
    background-clip: unset;
    color: var(--body-text);
  }

  .section-subtitle {
    font-size: 14px;
    margin-top: 8px;
  }

  .earn-layout {
    flex-direction: column-reverse;
    gap: 32px;
    padding-left: 0;
    margin-top: 32px;
  }

  .steps {
    width: 100%;
    gap: 24px;
  }

  .step-icon {
    width: 40px;
    height: 40px;
  }

  .step-text {
    font-size: 16px;
    line-height: 24px;
  }

  .image-area {
    width: 100%;
    height: 218px;
    border-radius: 24px;
  }

  /* Cashout Section */
  .cashout-section .content-wrapper {
    padding: 48px 24px;
  }

  .cashout-header {
    font-size: 28px;
  }

  .cashout-layout {
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
  }

  .scor-card {
    width: 240px;
    margin: 0 auto;
  }

  .explanations {
    gap: 24px;
  }

  .explanation h3 {
    font-size: 18px;
  }

  .explanation p {
    font-size: 15px;
    line-height: 24px;
    margin-top: 4px;
  }

  /* Final CTA */
  .final-cta .content-wrapper {
    padding: 24px 16px;
  }

  .final-cta-card {
    padding: 40px 24px;
    border-radius: 20px;
    gap: 24px;
  }

  .final-cta-card h2 {
    font-size: 22px;
    line-height: 32px;
  }

  .final-cta-card .cta-button {
    width: auto;
    min-width: auto;
    font-size: 16px;
    padding: 12px 28px;
    height: auto;
  }

  /* Footer */
  .footer-outer {
    border-radius: 24px 24px 0 0;
    padding: 12px 12px 0;
  }

  .footer-inner {
    border-radius: 16px 16px 0 0;
  }

  .footer-content {
    padding: 24px 20px;
    gap: 12px;
    min-height: auto;
  }

  .footer-logo {
    position: static;
    transform: none;
    width: 46px;
    height: 36px;
  }

  .footer-tagline {
    font-size: 20px;
  }

  .footer-legal {
    font-size: 11px;
    line-height: 18px;
  }

  .footer-social {
    position: static;
    transform: none;
  }

  .social-icon {
    width: 29px;
    height: 29px;
  }
}
