/* ==========================================================================
   Wealthify Annual Free Prize Draw 2026 - Master Design System
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-dark: #041210;
  --bg-card: rgba(8, 26, 22, 0.75);
  --bg-card-hover: rgba(12, 38, 32, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(0, 208, 132, 0.4);

  /* Brand Emerald & Greens */
  --emerald-primary: #00D084;
  --emerald-glow: rgba(0, 208, 132, 0.35);
  --emerald-dark: #00965e;
  --emerald-mint: #4EFEB3;
  --teal-accent: #00C6B2;

  /* Prize Gold & Highlights */
  --gold-primary: #FFB800;
  --gold-glow: rgba(255, 184, 0, 0.3);
  --gold-light: #FFE082;
  --silver: #E2E8F0;
  --bronze: #CD7F32;

  /* Typography Colors */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  --text-dark: #0F172A;

  /* Dimensions & Shapes */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name,
.hero-title,
.section-title {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Ambient Background Light Flares */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.45;
}

.glow-top-left {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00D084 0%, rgba(0, 208, 132, 0) 70%);
}

.glow-top-right {
  top: 150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #007F54 0%, rgba(0, 127, 84, 0) 70%);
}

.glow-center {
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 208, 132, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}

/* ==========================================================================
   Top Announcement Banner
   ========================================================================== */
.top-banner {
  display: none;
  background: linear-gradient(90deg, #0A1C16 0%, #0F3124 50%, #0A1C16 100%);
  border-bottom: 1px solid rgba(0, 208, 132, 0.2);
  padding: 0.55rem 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 50;
}

.top-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 208, 132, 0.2);
  color: var(--emerald-mint);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 208, 132, 0.4);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--emerald-mint);
  border-radius: 50%;
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 0 0 rgba(0, 255, 163, 0.7);
  }

  70% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(0, 255, 163, 0);
  }

  100% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 0 0 rgba(0, 255, 163, 0);
  }
}

.banner-text {
  color: #E2E8F0;
  margin: 0;
}

.banner-link {
  color: var(--emerald-mint);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.banner-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-logo-img {
  width: 155px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.brand-name .dot {
  color: var(--emerald-primary);
}

.brand-tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--emerald-mint);
  font-weight: 700;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00E590 0%, #00B36B 100%);
  color: #032014;
  box-shadow: 0 4px 18px var(--emerald-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #24f1a2 0%, #00c776 100%);
  box-shadow: 0 8px 24px rgba(0, 208, 132, 0.55);
  color: #032014;
}

.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--emerald-primary);
  color: var(--emerald-mint);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #FFC72C 0%, #FF9900 100%);
  color: #261700;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.6);
  color: #170d00;
}

.btn-xl {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #FFFFFF;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg,
      transparent 20%,
      rgba(255, 255, 255, 0.25) 50%,
      transparent 80%);
  transform: translateX(-100%);
  animation: shineSweep 4s infinite;
}

@keyframes shineSweep {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }

  25%,
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}

.spin-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Wealthify Exact Reference Hero Section
   ========================================================================== */
.reference-hero-section {
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  padding: clamp(1rem, 3vh, 2.75rem) 0 clamp(0.85rem, 2.5vh, 2.5rem);
  position: relative;
  z-index: 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 76% 38%, rgba(16, 94, 73, 0.42) 0%, rgba(3, 36, 31, 0.12) 36%, transparent 58%),
    radial-gradient(circle at 18% 28%, rgba(0, 160, 100, 0.08) 0%, transparent 44%),
    linear-gradient(115deg, #03151a 0%, #031a17 48%, #041719 100%);
}

.reference-hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 208, 132, 0.45) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 35%, rgba(0, 0, 0, 1) 15%, transparent 75%);
  mask-image: radial-gradient(ellipse at 75% 35%, rgba(0, 0, 0, 1) 15%, transparent 75%);
}

/* Banner Right Top Logo */
.banner-top-logo {
  position: absolute;
  top: clamp(1rem, 2.5vh, 2.2rem);
  right: clamp(1.2rem, 3.5vw, 3.2rem);
  z-index: 35;
  display: flex;
  align-items: center;
}

.banner-top-logo a {
  display: inline-block;
  line-height: 0;
  transition: transform var(--transition-fast);
}

.banner-logo-img {
  width: clamp(120px, 11vw, 160px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 208, 132, 0.4));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.banner-top-logo a:hover .banner-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 22px rgba(0, 255, 163, 0.75));
}

.reference-hero-container {
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(0.75rem, 2vh, 1.9rem);
}

.ref-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 0;
  align-items: end;
  min-height: 0;
}

/* Left Column */
.ref-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.ref-badge-wrap {
  margin-bottom: clamp(0.7rem, 2.2vh, 1.65rem);
}

.ref-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 45, 30, 0.65);
  border: 1.5px solid rgba(0, 208, 132, 0.5);
  color: var(--emerald-mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
}

.badge-gold-star {
  color: #FFC72C;
  font-size: 0.85rem;
}

.ref-kicker {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: #00D084;
  text-transform: uppercase;
  margin-bottom: clamp(0.4rem, 1.2vh, 0.85rem);
}

.ref-main-title {
  font-size: clamp(2.25rem, 7vh, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: clamp(0.65rem, 1.8vh, 1.25rem);
  color: #FFFFFF;
}

.emerald-highlight {
  color: #00D084;
}

.ref-title-line {
  width: 52px;
  height: 3.5px;
  background: #00D084;
  border-radius: 2px;
  margin-bottom: clamp(0.7rem, 1.8vh, 1.35rem);
}

.ref-subtext {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: clamp(0.8rem, 2.2vh, 2rem);
  max-width: 480px;
}

/* White Service Pills with Green Circle Icon */
.ref-service-pills {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(0.9rem, 2.5vh, 2.25rem);
  flex-wrap: wrap;
}

.ref-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.42rem 1.25rem 0.42rem 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-fast);
}

.ref-service-pill:hover {
  transform: translateY(-2px);
}

.ref-icon-svg {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #00B36B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ref-icon-svg svg {
  stroke: #FFFFFF;
  width: 15px;
  height: 15px;
}

.ref-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-ref-primary {
  background: linear-gradient(135deg, #00a86b 0%, #00d889 55%, #16e39a 100%);
  color: #021B10;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 0 28px rgba(0, 208, 132, 0.45);
  transition: all var(--transition-fast);
}

.btn-ref-primary:hover {
  background: linear-gradient(135deg, #00bd79 0%, #00eb96 55%, #37f3af 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 38px rgba(0, 255, 163, 0.65);
  color: #021B10;
}

/* Right Column: Team Stage with Halo */
.ref-hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ref-team-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glowing Neon Green Circle with reduced radius */
.ref-neon-ring {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 440px;
  border: 1.8px solid #00FFA3;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(0, 255, 163, 0.45), inset 0 0 18px rgba(0, 208, 132, 0.2);
  clip-path: polygon(-20% -20%, 120% -20%, 120% 88%, -20% 88%);
  pointer-events: none;
  z-index: 1;
}

.ref-radial-glow {
  position: absolute;
  top: -45px;
  left: 54%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 208, 132, 0.26) 0%, rgba(0, 150, 94, 0.08) 55%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.ref-dot-pattern {
  position: absolute;
  top: -150px;
  right: -80px;
  width: 720px;
  height: 580px;
  background-image: radial-gradient(rgba(0, 208, 132, 0.38) 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, rgba(0, 0, 0, 1) 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, rgba(0, 0, 0, 1) 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Transparent Team Image - 100% Solid & Crisp with NO Mask / Fade */
.ref-team-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  border: none;
  outline: none;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.ref-team-img:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   Bottom 3 Grand Prizes Glass Card
   ========================================================================== */
.ref-prizes-bar-card {
  width: 100%;
  position: relative;
  z-index: 10;
  background: rgba(3, 22, 18, 0.88);
  border: 1.5px solid rgba(0, 208, 132, 0.4);
  border-radius: 18px;
  padding: clamp(0.85rem, 2vh, 1.65rem) 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(0, 255, 163, 0.2);
}

.ref-prizes-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.ref-gift-icon-box {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gift-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 208, 132, 0.4));
}

.ref-prizes-label {
  display: flex;
  flex-direction: column;
}

.ref-p-accent {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--emerald-primary);
  line-height: 1.1;
}

.ref-p-white {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #FFFFFF;
  line-height: 1.1;
}

.ref-prizes-divider {
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, 0.12);
}

.ref-prizes-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
  gap: 2rem;
}

.ref-prize-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ref-rank-medallion {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.medallion-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
  color: #241400;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.medallion-silver {
  background: linear-gradient(135deg, #E2E8F0 0%, #94A3B8 100%);
  color: #0F172A;
}

.medallion-bronze {
  background: linear-gradient(135deg, #D97706 0%, #92400E 100%);
  color: #FFFFFF;
}

.ref-prize-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--emerald-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.ref-prize-store {
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* ==========================================================================
   Section Standard Formatting
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 10;
}

.section-header {
  margin-bottom: 3.5rem;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--emerald-primary);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.85rem;
}

.section-title .highlight {
  color: var(--emerald-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Prizes Section (3 Cards)
   ========================================================================== */
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.prize-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.prize-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.prize-first {
  background: linear-gradient(180deg, rgba(26, 38, 28, 0.85) 0%, rgba(13, 23, 38, 0.9) 100%);
  border: 2px solid rgba(255, 184, 0, 0.6);
  box-shadow: 0 10px 30px rgba(255, 184, 0, 0.15);
  transform: scale(1.03);
}

.prize-first:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 24px 50px rgba(255, 184, 0, 0.25);
}

.prize-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold-primary);
  color: #231400;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.silver-ribbon {
  background: #CBD5E1;
  color: #0F172A;
}

.bronze-ribbon {
  background: #D97706;
  color: #FFFFFF;
}

.prize-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.prize-emoji {
  font-size: 2.5rem;
}

.prize-value-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  background: rgba(0, 208, 132, 0.15);
  color: var(--emerald-mint);
  border: 1px solid rgba(0, 208, 132, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.gold-glow .prize-value-pill {
  background: rgba(255, 184, 0, 0.2);
  color: var(--gold-light);
  border-color: rgba(255, 184, 0, 0.5);
}

.silver-pill {
  background: rgba(203, 213, 225, 0.15);
  color: #E2E8F0;
  border-color: rgba(203, 213, 225, 0.3);
}

.bronze-pill {
  background: rgba(217, 119, 6, 0.15);
  color: #FCD34D;
  border-color: rgba(217, 119, 6, 0.3);
}

.prize-body {
  flex: 1;
  margin-bottom: 1.75rem;
}

.prize-name {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.prize-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.prize-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.prize-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #CBD5E1;
}

.prize-features svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   How to Enter Steps
   ========================================================================== */
.steps-section {
  background: rgba(5, 10, 18, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
}

.step-card.active-step {
  border-color: rgba(0, 208, 132, 0.4);
  background: linear-gradient(160deg, rgba(16, 32, 45, 0.8) 0%, rgba(9, 18, 28, 0.9) 100%);
  box-shadow: 0 10px 25px rgba(0, 208, 132, 0.1);
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.step-icon {
  width: 54px;
  height: 54px;
  background: rgba(0, 208, 132, 0.15);
  border: 1px solid rgba(0, 208, 132, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-primary);
  margin-bottom: 1.5rem;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Entry Form Portal
   ========================================================================== */
.entry-section {
  position: relative;
}

.entry-card-wrapper {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.entry-card-glow {
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.6), rgba(0, 198, 178, 0.2), rgba(255, 184, 0, 0.4));
  border-radius: var(--radius-xl);
  filter: blur(15px);
  opacity: 0.45;
  z-index: 0;
}

.entry-form-container {
  background: rgba(11, 20, 33, 0.95);
  border: 1px solid rgba(0, 208, 132, 0.35);
  border-radius: var(--radius-xl);
  padding: 3.25rem 3rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

.form-pill-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: rgba(0, 208, 132, 0.15);
  border: 1px solid rgba(0, 208, 132, 0.4);
  color: var(--emerald-mint);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.form-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.prize-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
}

.form-group label .required {
  color: #FF5C5C;
}

.form-group label .optional {
  color: var(--text-subtle);
  font-weight: 400;
  font-size: 0.8rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon svg {
  position: absolute;
  left: 14px;
  color: var(--text-subtle);
  pointer-events: none;
  transition: color var(--transition-fast);
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  background: rgba(6, 12, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.input-with-icon select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
  border-color: var(--emerald-primary);
  background: rgba(6, 12, 20, 0.95);
  box-shadow: 0 0 0 3px rgba(0, 208, 132, 0.2);
}

.input-with-icon input:focus+svg,
.input-with-icon select:focus+svg {
  color: var(--emerald-primary);
}

.input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.field-error {
  font-size: 0.78rem;
  color: #F87171;
  min-height: 1rem;
  display: block;
}

/* ==========================================================================
   Conditional Survey / Qualification Flow
   ========================================================================== */
.survey-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(4, 18, 16, 0.65);
  border: 1px solid rgba(0, 208, 132, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.45rem;
  position: relative;
}

.survey-question-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: slideFadeDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.survey-question-group.hidden,
.survey-subquestion.hidden {
  display: none !important;
}

.survey-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #F1F5F9;
  line-height: 1.45;
}

.survey-label .required {
  color: #FF5C5C;
}

.q-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 208, 132, 0.15);
  border: 1.5px solid var(--emerald-primary);
  color: var(--emerald-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.survey-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.survey-options-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

@media (max-width: 540px) {
  .survey-options-3 {
    grid-template-columns: 1fr;
  }
}

.survey-option-card {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.survey-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.survey-option-card .option-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: rgba(6, 14, 24, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.survey-option-card:hover .option-btn {
  border-color: rgba(0, 208, 132, 0.5);
  color: #FFFFFF;
  background: rgba(0, 208, 132, 0.08);
}

.survey-option-card input[type="radio"]:checked + .option-btn {
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.28) 0%, rgba(0, 150, 94, 0.4) 100%);
  border-color: var(--emerald-primary);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(0, 208, 132, 0.4), inset 0 0 10px rgba(0, 208, 132, 0.25);
  font-weight: 700;
}

/* Sub-question */
.survey-subquestion {
  margin-top: 0.35rem;
  padding: 1rem 1.15rem;
  background: rgba(0, 208, 132, 0.06);
  border-left: 3.5px solid var(--emerald-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: slideFadeDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.survey-sublabel {
  color: #E2E8F0;
  font-size: 0.88rem;
}

.q-sub-dot {
  color: var(--emerald-primary);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

@keyframes slideFadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Checkbox */
.consent-block {
  margin-top: 0.5rem;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  background: rgba(6, 12, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.custom-checkbox:hover input~.checkmark {
  border-color: var(--emerald-primary);
}

.custom-checkbox input:checked~.checkmark {
  background: var(--emerald-primary);
  border-color: var(--emerald-primary);
}

.checkmark::after {
  content: "";
  display: none;
  width: 5px;
  height: 9px;
  border: solid #032014;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.custom-checkbox input:checked~.checkmark::after {
  display: block;
}

.checkbox-text a {
  color: var(--emerald-mint);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit-wrap {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* Success Card */
.success-card {
  text-align: center;
  padding: 1.5rem 0;
  animation: fadeInScale 0.5s ease forwards;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hidden {
  display: none !important;
}

.success-icon-badge {
  width: 80px;
  height: 80px;
  background: rgba(0, 208, 132, 0.15);
  border: 2px solid var(--emerald-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px var(--emerald-glow);
}

.success-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.success-msg {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.ticket-stub {
  background: linear-gradient(135deg, #0d1b2a 0%, #102538 100%);
  border: 1px dashed rgba(0, 208, 132, 0.5);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.ticket-valid {
  color: var(--emerald-primary);
  background: rgba(0, 208, 132, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.92rem;
}

.t-label {
  color: var(--text-muted);
}

.t-val {
  color: #FFFFFF;
}

#successTicketId {
  color: var(--gold-light);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
}

.ticket-notch {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: rgba(11, 20, 33, 0.95);
  border-radius: 50%;
  transform: translateY(-50%);
}

.ticket-notch-left {
  left: -10px;
}

.ticket-notch-right {
  right: -10px;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Three Main Wealthify Tools Section
   ========================================================================== */
.tools-section {
  background: rgba(8, 15, 26, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.35rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 208, 132, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 208, 132, 0.15);
}

.tool-card.tool-featured {
  border-color: rgba(255, 184, 0, 0.4);
  background: linear-gradient(165deg, rgba(16, 32, 45, 0.9) 0%, rgba(8, 20, 28, 0.95) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.tool-card.tool-featured:hover {
  border-color: rgba(255, 184, 0, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 184, 0, 0.2);
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.tool-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 208, 132, 0.12);
  border: 1px solid rgba(0, 208, 132, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-icon-box {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.35);
}

.tool-tag-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(0, 208, 132, 0.15);
  border: 1px solid rgba(0, 208, 132, 0.35);
  color: var(--emerald-mint);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.pill-gold {
  background: rgba(255, 184, 0, 0.15);
  border-color: rgba(255, 184, 0, 0.4);
  color: var(--gold-light);
}

.pill-coming-soon {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #A5B4FC;
}

.tool-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.tool-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tool-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex: 1;
}

.tool-features li {
  font-size: 0.86rem;
  color: #CBD5E1;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.tool-features li span {
  color: var(--emerald-primary);
  font-weight: 800;
  flex-shrink: 0;
}

.tool-card.tool-featured .tool-features li span {
  color: #FFB800;
}

.tool-action {
  margin-top: auto;
}

.btn-tool-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: rgba(0, 208, 132, 0.12);
  border: 1.5px solid rgba(0, 208, 132, 0.4);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-tool-cta:hover {
  background: var(--emerald-primary);
  border-color: var(--emerald-primary);
  color: #031c13;
  box-shadow: 0 6px 20px var(--emerald-glow);
  transform: translateY(-2px);
}

.btn-gold-cta {
  background: rgba(255, 184, 0, 0.15);
  border-color: rgba(255, 184, 0, 0.45);
  color: var(--gold-light);
}

.btn-gold-cta:hover {
  background: linear-gradient(135deg, #FFC72C 0%, #FF9900 100%);
  border-color: #FFB800;
  color: #170d00;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5);
}

.btn-tool-muted {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
}

.btn-tool-muted:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 208, 132, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-toggle-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--emerald-primary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.35rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Bottom CTA
   ========================================================================== */
.bottom-cta-section {
  padding: 3rem 0 5rem;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(16, 32, 50, 0.9) 0%, rgba(9, 24, 38, 0.95) 100%);
  border: 1px solid rgba(0, 208, 132, 0.35);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.cta-action-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: #040810;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0.5rem;
  transition: transform var(--transition-fast);
}

.footer-logo-link:hover {
  transform: translateY(-2px);
}

.footer-logo-img {
  width: 175px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 208, 132, 0.3));
}

.brand-tagline-text {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--emerald-mint);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.brand-mission {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 360px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--emerald-primary);
}

.footer-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
}

.legal-text {
  font-size: 0.8rem;
  color: var(--text-subtle);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-extra-links {
  display: flex;
  gap: 1.5rem;
}

.footer-extra-links a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0B1422;
  border: 1px solid rgba(0, 208, 132, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-card-lg {
  max-width: 680px;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.modal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: rgba(0, 208, 132, 0.15);
  color: var(--emerald-mint);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.75rem 0;
}

.qr-canvas-frame {
  background: #FFFFFF;
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

#modalQrCode {
  width: 200px;
  height: 200px;
}

#modalQrCode img,
#modalQrCode canvas {
  width: 200px !important;
  height: 200px !important;
}

.qr-url-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.5rem 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #CBD5E1;
}

.copy-url-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--emerald-primary);
  border: none;
  color: #041B10;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-url-btn:hover {
  background: var(--emerald-mint);
}

.modal-tip {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.terms-content {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin: 1.25rem 0;
}

.terms-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--emerald-mint);
  margin: 1rem 0 0.35rem;
}

.terms-content p,
.terms-content ul {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.terms-content ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin: 0.5rem 0;
}

.text-right {
  text-align: right;
}

/* ==========================================================================
   Admin Drawer / Leads Debugging Component
   ========================================================================== */
.admin-lead-drawer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 990;
}

.drawer-toggle-btn {
  background: #0B1422;
  border: 1px solid rgba(0, 208, 132, 0.4);
  color: #FFFFFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: all var(--transition-fast);
}

.drawer-toggle-btn:hover {
  transform: scale(1.08);
  border-color: var(--emerald-primary);
}

.drawer-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--emerald-primary);
  color: #032014;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-panel {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 320px;
  background: #0B1422;
  border: 1px solid rgba(0, 208, 132, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  display: none;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.drawer-panel.open {
  display: flex;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.drawer-body {
  padding: 1rem 1.25rem;
  max-height: 240px;
  overflow-y: auto;
}

.drawer-note {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}

.empty-list-msg {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem 0;
}

.lead-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.lead-item strong {
  display: block;
  color: #FFFFFF;
}

.lead-item span {
  color: var(--text-muted);
}

.drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .reference-hero-section {
    display: block;
    height: auto;
    min-height: auto;
    padding: 5rem 0 2.5rem;
    overflow-x: hidden;
    width: 100%;
  }

  .reference-hero-container {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .ref-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .ref-hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ref-badge-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .ref-service-pills {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ref-cta-wrap {
    justify-content: center;
    width: 100%;
  }

  .ref-hero-right {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
  }

  .ref-team-stage {
    margin-top: 1rem;
    width: 100%;
    max-width: 480px;
    position: relative;
  }

  .ref-neon-ring {
    width: 300px;
    height: 300px;
    top: -25px;
  }

  .ref-radial-glow {
    width: 300px;
    height: 300px;
    top: -10px;
  }

  .ref-dot-pattern {
    display: none !important;
  }

  .ref-prizes-bar-card {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0.5rem;
  }

  .ref-prizes-divider {
    width: 100%;
    height: 1px;
  }

  .ref-prizes-grid {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    box-sizing: border-box;
  }

  .prizes-grid,
  .services-grid,
  .steps-grid,
  .pillars-banner {
    grid-template-columns: 1fr;
  }

  .prize-first {
    transform: none;
  }

  .prize-first:hover {
    transform: translateY(-8px);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-banner-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-action-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .top-banner-content {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }

  .banner-text {
    max-width: 340px;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #070D18;
    border-bottom: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    z-index: 200;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .reference-hero-section {
    padding-top: 4.25rem;
    padding-bottom: 2rem;
  }

  .banner-top-logo {
    top: 0.85rem;
    right: 0.85rem;
  }

  .banner-logo-img {
    width: 100px;
  }

  .ref-pill-badge {
    max-width: 100%;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    font-size: 0.68rem;
    letter-spacing: 0.6px;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    box-sizing: border-box;
  }

  .ref-main-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    letter-spacing: -0.5px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }

  .ref-subtext {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 100%;
  }

  .ref-service-pills {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .ref-service-pill {
    padding: 0.35rem 0.85rem 0.35rem 0.5rem;
    font-size: 0.82rem;
  }

  .ref-team-stage {
    margin-top: 1.25rem;
  }

  .ref-neon-ring {
    width: 250px;
    height: 250px;
    top: -20px;
  }

  .ref-radial-glow {
    width: 250px;
    height: 250px;
    top: -10px;
  }

  .ref-team-img {
    max-height: 320px;
  }

  .ref-prizes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .ref-prize-val {
    font-size: 1.2rem;
  }

  .ref-prize-store {
    font-size: 0.72rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .entry-form-container {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .form-header h2 {
    font-size: 1.75rem;
  }

  .survey-options-3 {
    grid-template-columns: 1fr;
  }

  .contact-cta-bar {
    flex-direction: column;
    text-align: center;
  }

  .contact-cta-links {
    justify-content: center;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .modal-card {
    padding: 1.75rem 1.25rem;
    margin: 1rem;
    border-radius: var(--radius-lg);
  }

  .modal-header h3 {
    font-size: 1.25rem;
  }

  #modalQrCode {
    width: 160px;
    height: 160px;
  }

  #modalQrCode img,
  #modalQrCode canvas {
    width: 160px !important;
    height: 160px !important;
  }
}

@media (max-width: 480px) {
  .reference-hero-section {
    padding-top: 3.5rem;
    padding-bottom: 1.5rem;
  }

  .banner-top-logo {
    top: 0.65rem;
    right: 0.65rem;
  }

  .banner-logo-img {
    width: 85px;
  }

  .ref-kicker {
    font-size: 0.7rem;
    letter-spacing: 1.2px;
  }

  .ref-main-title {
    font-size: 1.6rem;
    line-height: 1.15;
  }

  .ref-service-pills {
    gap: 0.35rem;
  }

  .ref-service-pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem 0.3rem 0.4rem;
  }

  .ref-icon-svg {
    width: 20px;
    height: 20px;
  }

  .ref-icon-svg svg {
    width: 11px;
    height: 11px;
  }

  .btn-ref-primary {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .ref-team-stage {
    margin-top: 0.75rem;
  }

  .ref-neon-ring {
    width: 200px;
    height: 200px;
    top: -15px;
  }

  .ref-radial-glow {
    width: 200px;
    height: 200px;
    top: -5px;
  }

  .ref-team-img {
    max-height: 240px;
  }

  .ref-prizes-bar-card {
    padding: 1rem 0.65rem;
    border-radius: var(--radius-md);
  }

  .ref-prizes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
  }

  .ref-prize-val {
    font-size: 1rem;
  }

  .ref-prize-store {
    font-size: 0.65rem;
    line-height: 1.15;
  }

  .ref-rank-medallion {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }

  .ref-gift-icon-box {
    width: 38px;
    height: 38px;
  }

  .ref-p-accent {
    font-size: 0.9rem;
  }

  .ref-p-white {
    font-size: 1.1rem;
  }

  .entry-form-container {
    padding: 1.5rem 0.85rem;
  }

  .form-header h2 {
    font-size: 1.5rem;
  }

  .survey-section {
    padding: 1rem 0.75rem;
  }

  .survey-label {
    font-size: 0.85rem;
  }

  .survey-options {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .survey-option-card .option-btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
  }

  .prize-card {
    padding: 1.5rem 1.15rem;
  }

  .prize-emoji {
    font-size: 2rem;
  }

  .prize-name {
    font-size: 1.2rem;
  }

  .step-card {
    padding: 1.5rem 1.15rem;
  }

  .footer-extra-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}