/* =============================================
   REWARDS PAGE — Premium Fire Theme
   ============================================= */

.rewards-page { background: var(--hh-black); }


/* =============================================
   HERO — Full Viewport, Split Layout
   ============================================= */
.rw-hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 48px;
}

/* Fire glow background */
.rw-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.rw-hero__glow {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(227, 0, 11, 0.15) 0%,
    rgba(255, 150, 0, 0.08) 40%,
    transparent 70%
  );
  filter: blur(40px);
}
.rw-hero__watermark {
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 400px;
  height: 400px;
  opacity: 0.03;
  object-fit: contain;
}

.rw-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-direction: column-reverse;
  position: relative;
  z-index: 1;
}

/* Copy */
.rw-hero__copy {
  text-align: center;
  max-width: 520px;
}
.rw-hero__label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFD700;
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 100px;
}
.rw-hero__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 10vw, 72px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 24px;
  background: linear-gradient(
    90deg,
    #FFD700 0%,
    #FFF5C3 45%,
    #FFD700 55%,
    #FFD700 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rw-shimmer 5s ease-in-out infinite;
}
.rw-hero__sub {
  font-size: 17px;
  color: rgba(250, 250, 248, 0.7);
  line-height: 1.65;
  margin-bottom: 24px;
}
.rw-hero__hook {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFD700;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 10px 18px;
  margin-bottom: 28px;
}
.rw-hero__hook-icon { flex-shrink: 0; }
.rw-hero__cta {
  width: 100%;
  max-width: 320px;
}
.rw-hero__proof {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(250, 250, 248, 0.4);
  letter-spacing: 0.02em;
}

/* Phone Mockup */
.rw-hero__phone {
  position: relative;
  flex-shrink: 0;
  max-width: 300px;
  width: 100%;
}
.rw-hero__phone::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.14) 0%,
    rgba(255, 150, 0, 0.06) 40%,
    transparent 65%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.rw-hero__phone img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 64px rgba(0, 0, 0, 0.6));
}

/* Sparkles */
.rw-hero__sparkle {
  position: absolute;
  border-radius: 50%;
  background: #FFD700;
  z-index: 2;
  animation: rw-sparkle 3s ease-in-out infinite;
}
.rw-hero__sparkle--1 { top: 8%; right: 6%; width: 6px; height: 6px; animation-delay: 0s; }
.rw-hero__sparkle--2 { bottom: 20%; left: 4%; width: 4px; height: 4px; animation-delay: 1s; }
.rw-hero__sparkle--3 { top: 35%; right: -2%; width: 5px; height: 5px; animation-delay: 2s; }
.rw-hero__sparkle--4 { bottom: 35%; right: 10%; width: 3px; height: 3px; animation-delay: 0.5s; }

@keyframes rw-sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.9; transform: scale(1.3); }
}
@keyframes rw-shimmer {
  0% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}


/* =============================================
   REWARDS MARQUEE
   ============================================= */
.rw-marquee {
  background: #FFD700;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.rw-marquee__track {
  display: flex;
  animation: rw-marquee-scroll 14s linear infinite;
}
.rw-marquee__content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hh-black);
}
.rw-marquee__star {
  font-size: 10px;
  opacity: 0.5;
}
@keyframes rw-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* =============================================
   HOW IT WORKS
   ============================================= */
.rw-how {
  padding: 80px 24px;
  background: var(--hh-charcoal);
  position: relative;
}
.rw-how::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(227, 0, 11, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.rw-how__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.rw-how__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 6vw, 40px);
  text-transform: uppercase;
  color: var(--hh-white);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.rw-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.rw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  width: 100%;
  max-width: 320px;
  position: relative;
  transition: border-color 0.3s, transform 0.2s;
}
.rw-step:hover {
  border-color: rgba(227, 0, 11, 0.25);
  transform: translateY(-2px);
}
.rw-step__number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hh-red);
  color: var(--hh-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  border-radius: 50%;
}
.rw-step__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFD700;
  margin-bottom: 16px;
}
.rw-step__icon svg {
  width: 36px;
  height: 36px;
}
.rw-step__connector {
  color: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
  flex-shrink: 0;
}
.rw-step__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--hh-white);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.rw-step__desc {
  font-size: 14px;
  color: var(--hh-gray);
  line-height: 1.5;
}


/* =============================================
   THE PERKS
   ============================================= */
.rw-perks {
  padding: 80px 24px;
  background: var(--hh-black);
}
.rw-perks__inner {
  max-width: 800px;
  margin: 0 auto;
}
.rw-perks__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 6vw, 40px);
  text-transform: uppercase;
  color: #FFD700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.rw-perks__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.rw-perk {
  padding: 32px 24px;
  background: var(--hh-charcoal);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.rw-perk:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.06);
}
.rw-perk__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.08);
  border-radius: 14px;
  color: #FFD700;
  transition: background 0.3s;
}
.rw-perk:hover .rw-perk__icon {
  background: rgba(255, 215, 0, 0.14);
}
.rw-perk__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--hh-white);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.rw-perk__desc {
  font-size: 14px;
  color: var(--hh-gray);
  line-height: 1.5;
}


/* =============================================
   BOTTOM CTA — Full Bleed
   ============================================= */
.rw-cta {
  padding: 80px 24px;
  background: var(--hh-charcoal);
  position: relative;
  overflow: hidden;
}
.rw-cta__glow {
  position: absolute;
  top: 50%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(227, 0, 11, 0.1) 0%,
    rgba(255, 150, 0, 0.05) 40%,
    transparent 65%
  );
  transform: translateY(-50%);
  filter: blur(40px);
  pointer-events: none;
}
.rw-cta__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 1;
}
.rw-cta__content {
  max-width: 500px;
}
.rw-cta__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 7vw, 52px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: #FFD700;
  margin-bottom: 16px;
}
.rw-cta__sub {
  font-size: 17px;
  color: rgba(250, 250, 248, 0.6);
  line-height: 1.6;
  margin-bottom: 32px;
}
.rw-cta__btn {
  min-width: 240px;
}
.rw-cta__phone {
  max-width: 240px;
  flex-shrink: 0;
}
.rw-cta__phone img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.5));
  opacity: 0.9;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (min-width: 520px) {
  .rw-perks__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 769px) {
  .rw-hero__inner {
    flex-direction: row;
    gap: 64px;
  }
  .rw-hero__copy {
    text-align: left;
    flex: 1;
  }
  .rw-hero__cta {
    width: auto;
  }
  .rw-hero__phone {
    max-width: 380px;
  }

  /* Steps horizontal */
  .rw-steps {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }
  .rw-step {
    flex: 1;
    max-width: none;
  }
  .rw-step__connector {
    transform: rotate(0deg);
    display: flex;
    align-items: center;
    padding: 0 4px;
  }

  /* CTA split */
  .rw-cta__inner {
    flex-direction: row;
    text-align: left;
  }
  .rw-cta__content {
    flex: 1;
  }
  .rw-cta__phone {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .rw-step__connector {
    display: none;
  }
  .rw-hero {
    padding-top: 60px;
    min-height: auto;
  }
}


/* =============================================
   PRINT
   ============================================= */
@media print {
  .subpage-header,
  .rw-marquee { display: none; }
  .rw-hero { background: #fff; min-height: auto; }
  .rw-hero__heading {
    color: #000;
    -webkit-text-fill-color: #000;
    background: none;
  }
}
