/* ============================================
   EVERGREEN OPTIN PAGE — Page-Specific Styles
   Pairs with base.css (Royal Protocol)
   ============================================ */

/* ---------- HERO ---------- */
.eg-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background:
    url('../assets/smash-grab-hero.jpg') center center / cover no-repeat;
  background-color: #0D0519;
}

/* Subtle vignette that protects text area without killing the image */
.eg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 80% 50%, transparent 20%, rgba(13,5,25,0.3) 100%),
    linear-gradient(to right, rgba(13,5,25,0.1) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.eg-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 48px 40px;
}

.eg-hero__logo {
  display: block;
  height: 38px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.92;
}

.eg-hero__text {
  position: relative;
  max-width: 600px;
  padding: 32px 44px;
  border-radius: 20px;
}

/* Frosted glass backing — fades from solid to transparent so the image reveals naturally */
.eg-hero__text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 130% 130% at 25% 50%, rgba(13,5,25,0.8) 0%, rgba(13,5,25,0.55) 45%, transparent 75%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  z-index: -1;
  mask-image: linear-gradient(to right, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 55%, transparent 100%);
}

.eg-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--rich-gold);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(13,5,25,0.7), 0 0 80px rgba(212, 175, 55, 0.12);
}

.eg-hero__sub {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  background: var(--warm-coral);
  padding: 7px 22px;
  border-radius: 6px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.eg-hero__desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 28px;
  text-shadow: 0 1px 16px rgba(13,5,25,0.9);
}

/* ---------- CTA BUTTON (Kartra modal trigger) ---------- */
.eg-hero__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.eg-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 44px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0D0519;
  background: linear-gradient(135deg, #D4AF37 0%, #F5D76E 50%, #D4AF37 100%);
  background-size: 200% 100%;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow:
    0 4px 24px rgba(212, 175, 55, 0.4),
    0 0 60px rgba(212, 175, 55, 0.15);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.eg-hero__cta-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255,255,255,0.15) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.eg-hero__cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 36px rgba(212, 175, 55, 0.5),
    0 0 80px rgba(212, 175, 55, 0.2);
  background-position: 100% 0;
}

.eg-hero__cta-btn:hover::after {
  transform: translateX(100%);
}

.eg-hero__cta-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.eg-hero__cta-btn:hover svg {
  transform: translateX(4px);
}

.eg-hero__cta-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}

.eg-hero__cta-note svg {
  opacity: 0.6;
}

/* Gentle pulse animation on the CTA */
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 4px 24px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.15); }
  50% { box-shadow: 0 4px 32px rgba(212, 175, 55, 0.55), 0 0 80px rgba(212, 175, 55, 0.25); }
}

.eg-hero__cta-btn {
  animation: cta-glow 3s ease-in-out infinite;
}

.eg-hero__cta-btn:hover {
  animation: none;
}

/* ---------- DISCOVER SECTION ---------- */
.eg-discover {
  background: var(--deep-purple);
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.eg-discover__heading {
  text-align: center;
}

.eg-discover__list {
  list-style: none;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eg-discover__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.06rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  padding: 20px 28px;
  background: rgba(45, 27, 78, 0.32);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s var(--ease-smooth), background 0.3s var(--ease-smooth);
}

.eg-discover__item:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(45, 27, 78, 0.48);
}

.eg-discover__check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  margin-top: 2px;
}

.eg-discover__check svg {
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.3));
}

/* ---------- MID-PAGE CTA BANNER ---------- */
.eg-mid-cta {
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(45,27,78,0.4) 100%);
  border-top: 1px solid rgba(212,175,55,0.15);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  padding: 48px 24px;
  text-align: center;
}

.eg-mid-cta__btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eg-mid-cta__text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}

.eg-mid-cta__text span {
  color: var(--rich-gold);
}

/* ---------- HOSTS SECTION ---------- */
.eg-hosts {
  background: linear-gradient(180deg, var(--near-black) 0%, var(--deep-purple) 50%, var(--near-black) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.eg-hosts__heading {
  text-align: center;
}

.eg-hosts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.eg-host-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}

.eg-host-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.08);
  transform: translateY(-3px);
}

.eg-host-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.1);
  margin-bottom: 20px;
  transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.eg-host-card:hover .eg-host-card__photo {
  border-color: var(--rich-gold);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.2);
}

.eg-host-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rich-gold);
  margin-bottom: 4px;
}

.eg-host-card__role {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--warm-coral);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eg-host-card__bio {
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--text-body);
}

.eg-host-card__bio strong {
  color: var(--white);
  font-weight: 600;
}

/* ---------- URGENCY / FINAL CTA ---------- */
.eg-urgency {
  background: var(--near-black);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.eg-urgency::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.eg-urgency__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.eg-urgency__card {
  background: rgba(26, 10, 46, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.eg-urgency__card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.08);
}

.eg-urgency__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--warm-coral);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.eg-urgency__heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--rich-gold);
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(212, 175, 55, 0.15);
}

.eg-urgency__text {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA button inside urgency (same style as hero) */
.eg-urgency .eg-hero__cta-wrap {
  align-items: center;
}

.eg-urgency .eg-hero__cta-btn {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ---------- AMBIENT PARTICLES (optional decoration) ---------- */
.eg-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.eg-particles__dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25);
  animation: eg-float 12s ease-in-out infinite;
}

.eg-particles__dot:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 14s; }
.eg-particles__dot:nth-child(2) { left: 25%; top: 60%; animation-delay: 2s; animation-duration: 11s; }
.eg-particles__dot:nth-child(3) { left: 50%; top: 10%; animation-delay: 4s; animation-duration: 16s; }
.eg-particles__dot:nth-child(4) { left: 70%; top: 45%; animation-delay: 1s; animation-duration: 13s; }
.eg-particles__dot:nth-child(5) { left: 85%; top: 75%; animation-delay: 3s; animation-duration: 10s; }
.eg-particles__dot:nth-child(6) { left: 40%; top: 85%; animation-delay: 5s; animation-duration: 15s; }
.eg-particles__dot:nth-child(7) { left: 60%; top: 30%; animation-delay: 6s; animation-duration: 12s; width: 2px; height: 2px; background: rgba(200, 184, 232, 0.18); }
.eg-particles__dot:nth-child(8) { left: 15%; top: 50%; animation-delay: 7s; animation-duration: 17s; width: 2px; height: 2px; background: rgba(200, 184, 232, 0.15); }

@keyframes eg-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  25% { transform: translate(12px, -18px) scale(1.3); opacity: 0.6; }
  50% { transform: translate(-8px, -30px) scale(1); opacity: 0.4; }
  75% { transform: translate(16px, -12px) scale(1.2); opacity: 0.5; }
}

/* ---------- GOLD LINE DIVIDERS ---------- */
.eg-gold-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rich-gold), transparent);
  margin: 0 auto 40px;
  opacity: 0.5;
}

/* ---------- RESPONSIVE — TABLET ---------- */
@media (max-width: 968px) {
  .eg-hero__content {
    padding: 12px 32px 40px;
  }

  .eg-hero__text {
    max-width: 520px;
    padding: 28px 32px;
  }

  .eg-hero__headline {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
  }

  .eg-hosts__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .eg-urgency__card {
    padding: 40px 28px;
  }
}

/* ---------- RESPONSIVE — MOBILE ---------- */
@media (max-width: 640px) {
  .eg-hero {
    background-position: 70% center;
  }

  .eg-hero__content {
    padding: 12px 20px 32px;
  }

  .eg-hero__text {
    max-width: 100%;
    padding: 24px 20px;
  }

  .eg-hero__text::before {
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: radial-gradient(ellipse 140% 130% at 50% 40%, rgba(13,5,25,0.85) 0%, rgba(13,5,25,0.6) 50%, transparent 80%);
  }

  .eg-hero__headline {
    font-size: 1.65rem;
  }

  .eg-hero__desc {
    font-size: 0.92rem;
  }

  .eg-hero__logo {
    height: 32px;
    margin-bottom: 22px;
  }

  .eg-hero__cta-btn {
    padding: 18px 32px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .eg-hero__cta-wrap {
    align-items: stretch;
  }

  .eg-discover__item {
    padding: 16px 20px;
    font-size: 0.94rem;
    gap: 14px;
  }

  .eg-discover__check {
    width: 26px;
    height: 26px;
  }

  .eg-discover__check svg {
    width: 14px;
    height: 14px;
  }

  .eg-hosts__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .eg-host-card {
    padding: 28px 24px;
  }

  .eg-host-card__name {
    font-size: 1.15rem;
  }

  .eg-host-card__bio {
    font-size: 0.9rem;
  }

  .eg-urgency__card {
    padding: 32px 20px;
  }

  .eg-urgency__heading {
    font-size: 1.4rem;
  }

  .eg-urgency .eg-hero__cta-btn {
    width: 100%;
    justify-content: center;
  }

  .eg-mid-cta__text {
    font-size: 1rem;
  }
}
