@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Sora:wght@400;600;700;800&display=swap');

:root {
  /* Color Palette - Cyberpunk Pakistan Flag theme */
  --bg-dark: #050d08;
  --bg-card: rgba(12, 28, 18, 0.7);
  --bg-card-hover: rgba(20, 42, 28, 0.85);
  --flag-green-raw: 147, 45%, 20%; /* HSL values for customization */
  --flag-green: hsl(147, 75%, 15%);
  --neon-green-raw: 140, 100%, 50%;
  --neon-green: hsl(140, 100%, 50%);
  --neon-green-dim: hsl(140, 100%, 40%);
  --neon-green-alpha: rgba(0, 255, 102, 0.15);
  
  --pure-white: #ffffff;
  --text-white: #f3f4f6;
  --text-gray: #9ca3af;
  --text-dark: #111827;
  --error-red: #ef4444;
  --success-green: #10b981;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(0, 255, 102, 0.3);
  --border-neon-active: rgba(0, 255, 102, 0.8);
  
  /* Layout and sizing */
  --max-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Fallback gradients color space */
  --in-oklab: ;
  --in-oklch: ;
}

@supports (linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Base background grid texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    linear-gradient(to right, rgba(0, 255, 102, 0.03) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(to bottom, rgba(0, 255, 102, 0.03) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(circle at 50% 50%, rgba(0, 102, 45, 0.15) 0%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

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

button, input, select, textarea {
  font: inherit;
}

/* Glassmorphism Classes */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-hover:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-neon);
  box-shadow: 0 8px 32px 0 rgba(0, 255, 102, 0.1);
  transform: translateY(-4px);
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 102, 0.2);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 102, 0.5);
}

/* Visually Hidden Recipie for a11y */
.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

/* Top Announcement Bar */
.top-announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(var(--in-oklab) 90deg, var(--flag-green), #04140a);
  border-bottom: 1px solid var(--border-neon);
  color: var(--text-white);
  z-index: 110;
  font-size: 0.85rem;
  padding: 0.5rem 1.5rem;
  text-align: center;
  display: none; /* Controlled dynamically by JS */
  box-shadow: 0 4px 15px rgba(0, 255, 102, 0.15);
  animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.announcement-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.announcement-timer {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--neon-green);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-neon);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

body.has-announcement {
  padding-top: 36px;
}

body.has-announcement header {
  top: 36px;
}

@media (max-width: 768px) {
  body.has-announcement {
    padding-top: 56px;
  }
  
  body.has-announcement header {
    top: 56px;
  }
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.6rem 0;
  background: rgba(5, 13, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  color: var(--pure-white);
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

.logo span {
  color: var(--neon-green);
}

.logo-icon {
  font-size: 1.8rem;
}

.nav-cta {
  background: linear-gradient(var(--in-oklch) 135deg, var(--neon-green), var(--neon-green-dim));
  color: var(--bg-dark);
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

/* New Desktop Navigation styles */
.nav-menu {
  display: block;
}

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

.nav-link-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-link-item:hover {
  color: var(--neon-green);
}

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

.btn-fb-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(24, 119, 242, 0.1);
  border: 1px solid rgba(24, 119, 242, 0.4);
  color: #1877f2;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-fb-nav:hover {
  background: #1877f2;
  color: white;
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
  border-color: #1877f2;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.6);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid var(--border-neon);
  border-radius: 50px;
  color: var(--neon-green);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  color: var(--pure-white);
}

.hero-tagline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
  margin-top: -0.5rem;
}

.text-gradient-green {
  background: linear-gradient(var(--in-oklch) 135deg, var(--pure-white) 30%, var(--neon-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(0, 255, 102, 0.1);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-gray);
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-primary {
  background: linear-gradient(var(--in-oklch) 135deg, var(--neon-green), var(--neon-green-dim));
  color: var(--bg-dark);
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.7);
}

.btn-secondary {
  background: transparent;
  color: var(--pure-white);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-neon);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
}

.hero-left-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.hero-mini-mascot {
  width: 110px;
  height: 110px;
  border-radius: var(--border-radius-md);
  padding: 3px;
  background: linear-gradient(135deg, var(--neon-green), rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(0, 255, 102, 0.2);
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--border-radius-md) - 3px);
}


/* Stats Banner Section */
.stats-banner {
  max-width: var(--max-width);
  margin: 0 auto 6rem auto;
  padding: 0 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--pure-white);
  font-family: 'Sora', sans-serif;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.stat-value.neon-val {
  color: var(--neon-green);
  text-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  white-space: nowrap;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Live Counter & Milestone Section */
.milestones-section {
  max-width: var(--max-width);
  margin: 0 auto 6rem auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--pure-white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 600px;
}

/* Live Counter Display */
.live-counter-card {
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-neon);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.1);
  margin-bottom: 3rem;
}

.live-counter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(var(--in-oklab) 90deg, var(--neon-green), var(--pure-white));
}

.pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 50px;
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); opacity: 0.5; box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.counter-display {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.counter-digit {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 6vw, 5.5rem);
  font-weight: 800;
  background: linear-gradient(180deg, #1b3823, #0a1b0f);
  color: var(--neon-green);
  border: 1px solid var(--border-neon);
  border-radius: var(--border-radius-md);
  padding: 0.2rem 0.6rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.6);
  min-width: 1.2ch;
  text-align: center;
}

.counter-comma {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 6vw, 5.5rem);
  font-weight: 800;
  color: var(--text-white);
  align-self: flex-end;
  padding-bottom: 0.2rem;
}

.counter-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--pure-white);
  margin-bottom: 2rem;
}

/* Progress Meter */
.progress-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 600;
}

.progress-bar-outer {
  height: 24px;
  background: rgba(0,0,0,0.5);
  border-radius: 50px;
  border: 1px solid var(--border-glass);
  padding: 3px;
  position: relative;
  margin-bottom: 2.5rem;
}

.progress-bar-inner {
  height: 100%;
  width: 0%; /* Dynamic fill */
  background: linear-gradient(var(--in-oklab) 90deg, var(--neon-green), var(--pure-white));
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
  transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
  position: relative;
}

.progress-glow {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 20px;
  background: white;
  filter: blur(5px);
  opacity: 0.5;
  border-radius: 50%;
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); opacity: 0; }
}

/* Milestones Timeline */
.milestones-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.milestone-node {
  background: rgba(12, 28, 18, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.milestone-node::before {
  content: "🔒";
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.milestone-node.unlocked {
  border-color: var(--border-neon);
  background: rgba(0, 255, 102, 0.05);
}

.milestone-node.unlocked::before {
  content: "✅";
}

.milestone-node.active-milestone {
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
  transform: scale(1.05);
}

.milestone-node.active-milestone::before {
  content: "⚡";
  animation: rotateGlow 2s infinite linear;
}

.milestone-num {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 0.2rem;
}

.milestone-node.unlocked .milestone-num {
  color: var(--neon-green);
}

.milestone-title {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Celebration Alert Container */
.celebration-banner {
  background: linear-gradient(var(--in-oklab) 135deg, #0c2012, #041008);
  border: 2px dashed var(--neon-green);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin-top: 3rem;
  text-align: center;
  display: none; /* Triggered via JS */
  position: relative;
  overflow: hidden;
  animation: borderFlash 1.5s infinite alternate;
}

@keyframes borderFlash {
  from { border-color: var(--border-neon); box-shadow: 0 0 15px rgba(0, 255, 102, 0.2); }
  to { border-color: var(--neon-green); box-shadow: 0 0 35px rgba(0, 255, 102, 0.6); }
}

.celebration-title {
  font-size: 2rem;
  color: var(--neon-green);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
}

.celebration-desc {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

/* Live Countdown Box */
.countdown-box {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.countdown-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.countdown-value {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pure-white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  text-shadow: 0 0 10px rgba(255,255,255,0.1);
  width: 100%;
  text-align: center;
}

.countdown-segment:hover .countdown-value {
  border-color: var(--border-neon);
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

.countdown-label {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 4-Step Registration Form Section */
.registration-section {
  max-width: var(--max-width);
  margin: 0 auto 6rem auto;
  padding: 0 2rem;
  scroll-margin-top: 100px;
}

.form-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

/* ── Registration: Single-Column Stack (Card Top, Form Below) ────────────── */
.registration-layout-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

/* Card preview container — centered, limited width for a compact card feel */
.card-preview-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* The member card wrapper — landscape/horizontal proportioned */
.card-preview-container .member-card-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

/* Form column — full width, max centered */
.registration-form-column {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

/* Card Top Header Row: badge + tier pill on the same line */
.card-top-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Success state: compact centered form */
.registration-layout-container.is-success .registration-form-column {
  width: 100%;
}

/* ── Step subtitle line ──────────────────────────────────────────────────── */
.step-sub {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: 0.25rem 0 1.25rem 0;
  line-height: 1.5;
}

/* Card Preview Badge styling */
.card-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid var(--border-neon);
  border-radius: 50px;
  color: var(--neon-green);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.1);
  transition: var(--transition-smooth);
}

.card-preview-badge.official {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.4);
  color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
}

.card-preview-badge.official .preview-dot {
  background-color: #ffd700;
  box-shadow: 0 0 8px #ffd700;
  animation: none;
}

.preview-dot {
  width: 7px;
  height: 7px;
  background-color: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: previewPulse 1.5s infinite;
}

@keyframes previewPulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* Registration Form Nav Indicator */
.form-nav-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.form-nav-steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-glass);
  z-index: 1;
  transform: translateY(-50%);
}

.form-nav-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%; /* Adjusted via JS */
  height: 2px;
  background: var(--neon-green);
  z-index: 2;
  transform: translateY(-50%);
  transition: width 0.4s ease;
}

.form-nav-step {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  color: var(--text-gray);
  font-size: 0.9rem;
  transition: var(--transition-bounce);
  cursor: default;
}

.form-nav-step.active {
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  transform: scale(1.1);
}

.form-nav-step.completed {
  border-color: var(--neon-green);
  background: var(--neon-green);
  color: var(--bg-dark);
}

/* Steps content */
.form-step {
  display: none;
  animation: slideFadeIn 0.4s ease forwards;
}

.form-step.active {
  display: block;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title-block {
  margin-bottom: 2rem;
}

.step-num-indicator {
  font-size: 0.85rem;
  color: var(--neon-green);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  display: block;
}

.step-heading {
  font-size: 1.6rem;
  color: var(--pure-white);
}

/* Custom Input Styling */
.form-group {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-green);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.2);
}

/* Real-time HTML5 form validation overrides */
.form-group input:user-invalid,
.form-group select:user-invalid,
.form-group textarea:user-invalid {
  border-color: var(--error-red);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.form-group input:user-valid {
  border-color: var(--success-green);
}

.input-hint {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 0.2rem;
}

.error-message {
  font-size: 0.85rem;
  color: var(--error-red);
  font-weight: 600;
  display: none;
  margin-top: 0.2rem;
}

/* Row elements for form grid */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Custom Tag Radio buttons for step 3 */
.interest-tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tag-checkbox-container {
  position: relative;
}

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

.tag-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
  user-select: none;
  font-size: 0.95rem;
}

.tag-checkbox-container input:checked + .tag-label {
  background: rgba(0, 255, 102, 0.08);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.15);
}

.tag-icon {
  font-size: 1.3rem;
}

/* Textarea override */
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Pledge component for Step 4 */
.pledge-card {
  background: rgba(0, 255, 102, 0.03);
  border: 1px dashed var(--border-neon);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.pledge-title {
  color: var(--neon-green);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pledge-text {
  font-size: 0.95rem;
  color: var(--text-white);
  font-style: italic;
  line-height: 1.5;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.checkbox-group input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--neon-green);
  margin-top: 0.2rem;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.4;
  cursor: pointer;
}

/* Navigation buttons */
.form-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
}

.btn-nav-prev {
  background: transparent;
  color: var(--text-gray);
  border: 1px solid var(--border-glass);
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-nav-prev:hover:not(:disabled) {
  color: var(--pure-white);
  background: rgba(255,255,255,0.05);
}

.btn-nav-prev:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-nav-next, .btn-submit {
  background: linear-gradient(var(--in-oklch) 135deg, var(--neon-green), var(--neon-green-dim));
  color: var(--bg-dark);
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-nav-next:hover, .btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.5);
}

/* Spinner for AJAX submitting */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(5, 13, 8, 0.3);
  border-top: 3px solid var(--bg-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Registration Success & Digital ID Card */
.registration-success-container {
  display: none;
  text-align: center;
  animation: slideFadeIn 0.6s ease forwards;
}

.success-icon-anim {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: bounceScale 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate;
}

@keyframes bounceScale {
  from { transform: scale(0.9); }
  to { transform: scale(1.1); }
}

.success-title {
  font-size: 2rem;
  color: var(--neon-green);
  margin-bottom: 0.5rem;
}

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

/* Card Visual Rendering */
.member-card-wrapper {
  perspective: 1000px;
  margin: 0 auto 2rem auto;
  max-width: 420px;
  width: 100%;
  container-type: inline-size;
}

.member-card {
  width: 100%;
  aspect-ratio: 1.586; /* Credit card ratio */
  background: linear-gradient(var(--in-oklab) 135deg, #081d11 0%, #030805 100%);
  border: 1px solid var(--border-neon);
  border-radius: var(--border-radius-md);
  padding: clamp(0.5rem, 4.2cqw, 1.25rem);
  position: relative;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 255, 102, 0.25);
  transition: transform 0.1s ease;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Futuristic chip & lines */
.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 100% 0%, rgba(0, 255, 102, 0.1) 0%, transparent 60%),
    linear-gradient(45deg, transparent 40%, rgba(0, 255, 102, 0.05) 50%, transparent 60%);
  z-index: 1;
}

.card-decor-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.15;
  background: repeating-linear-gradient(0deg, transparent, transparent 4px, var(--neon-green) 4px, var(--neon-green) 5px);
  z-index: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-block-end: clamp(0.3rem, 2.5cqw, 0.75rem);
  position: relative;
  z-index: 2;
}

.card-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(0.65rem, 4cqw, 0.95rem);
  color: var(--pure-white);
  line-height: 1;
}

.card-brand span {
  color: var(--neon-green);
  display: block;
  font-size: clamp(0.5rem, 3.2cqw, 0.75rem);
  letter-spacing: 0.15em;
  margin-top: 0.2rem;
}

.card-badge {
  font-size: clamp(0.5rem, 3cqw, 0.65rem);
  font-weight: 800;
  color: var(--bg-dark);
  background: var(--neon-green);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.badge-founder {
  background: linear-gradient(135deg, #ffd700, #b8860b) !important;
  color: #020704 !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4) !important;
  border: 1px solid #ffd700 !important;
}

/* Cyber-Gold Founding Member Card Styling */
.member-card.founder-card {
  border-color: rgba(255, 215, 0, 0.5) !important;
  background: linear-gradient(var(--in-oklab) 135deg, #1a1403 0%, #050400 100%) !important;
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2) !important;
}

.member-card.founder-card::before {
  background: 
    radial-gradient(circle at 100% 0%, rgba(255, 215, 0, 0.1) 0%, transparent 60%),
    linear-gradient(45deg, transparent 40%, rgba(255, 215, 0, 0.05) 50%, transparent 60%) !important;
}

.member-card.founder-card .card-decor-lines {
  background: repeating-linear-gradient(0deg, transparent, transparent 4px, #ffd700 4px, #ffd700 5px) !important;
  opacity: 0.1;
}

.member-card.founder-card .card-photo-box {
  border-color: rgba(255, 215, 0, 0.5) !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2) !important;
}

.member-card.founder-card .card-brand span {
  color: #ffd700 !important;
}

.card-chip {
  width: clamp(24px, 9cqw, 36px);
  height: clamp(18px, 6.8cqw, 26px);
  background: linear-gradient(135deg, #ffe066, #d4af37 40%, #aa8000 80%, #ffd700);
  border-radius: 6px;
  position: relative;
  margin-bottom: clamp(0.25rem, 2cqw, 0.5rem);
  z-index: 2;
  box-shadow: 
    0 1px 3px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.4);
  border: 1px solid rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.card-chip::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  border: 1px solid rgba(0,0,0,0.15);
  background: 
    linear-gradient(90deg, transparent 48%, rgba(0,0,0,0.2) 48%, rgba(0,0,0,0.2) 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(0,0,0,0.2) 48%, rgba(0,0,0,0.2) 52%, transparent 52%);
  background-size: 50% 50%;
  border-radius: 3px;
  opacity: 0.85;
}

.card-chip::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 50%;
  top: 25%;
  left: 30%;
  background: linear-gradient(135deg, #d4af37, #ffe066);
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.2);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.card-body {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(0.3rem, 2.5cqw, 0.75rem);
  display: flex;
  gap: clamp(0.5rem, 3.5cqw, 1rem);
  align-items: center;
}

.card-profile-photo-area {
  flex-shrink: 0;
}

.card-photo-box {
  width: clamp(55px, 18cqw, 85px);
  height: clamp(65px, 22cqw, 100px);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-neon);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.15);
  overflow: hidden;
  background: #020704;
}

.card-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #020704;
}

.card-info-area {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.15rem, 1.2cqw, 0.3rem);
  overflow: hidden;
}

.card-name {
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.8rem, 4.8cqw, 1.15rem);
  font-weight: 700;
  color: var(--pure-white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.1rem;
}

.card-meta-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: clamp(0.1rem, 0.8cqw, 0.2rem);
  column-gap: clamp(0.4rem, 2.5cqw, 0.8rem);
}

/* Founding Member Pricing Tier Styles */
.tier-item {
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.tier-item.active {
  border-color: var(--neon-green) !important;
  background: rgba(0, 255, 102, 0.12) !important;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.2);
  position: relative;
}

.tier-item.active::after {
  content: '★ ACTIVE';
  font-size: 0.65rem;
  color: var(--neon-green);
  font-weight: 800;
  margin-left: 0.5rem;
  letter-spacing: 0.05em;
}

.tier-item.filled {
  opacity: 0.35;
  text-decoration: line-through;
}

.tier-item.filled .tier-price {
  color: var(--text-gray) !important;
}

.card-meta {
  display: flex;
  flex-direction: column;
}

.card-meta-label {
  font-size: clamp(0.45rem, 2.6cqw, 0.6rem);
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-meta-value {
  font-size: clamp(0.55rem, 3.2cqw, 0.78rem);
  font-weight: 600;
  color: var(--text-white);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.card-id {
  font-family: monospace;
  font-size: clamp(0.65rem, 3.8cqw, 0.95rem);
  letter-spacing: 0.1em;
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
}

.card-serial {
  font-size: clamp(0.55rem, 3.2cqw, 0.75rem);
  color: var(--text-gray);
}

/* Card actions */
.card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn-card-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--pure-white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-card-action:hover {
  background: rgba(0, 255, 102, 0.08);
  border-color: var(--border-neon);
  color: var(--neon-green);
}

/* Card Email / Blob Status Panel */
.card-email-status {
  margin-top: 1.75rem;
  min-height: 0;
  transition: all 0.4s ease;
}

.card-status-box {
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  animation: slideFadeIn 0.4s ease forwards;
}

.card-status-box.loading {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  justify-content: center;
  text-align: center;
}

.card-status-box.success {
  background: rgba(0, 255, 102, 0.05);
  border: 1px solid rgba(0, 255, 102, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.08);
}

.card-status-box.error {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.card-status-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.card-status-body {
  flex: 1;
  min-width: 0;
}

.card-status-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pure-white);
  margin-bottom: 0.3rem;
}

.card-status-title.green { color: var(--neon-green); }
.card-status-title.red   { color: var(--error-red); }

.card-status-desc {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.card-status-desc strong {
  color: var(--text-white);
}

.card-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-dim));
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  transition: var(--transition-smooth);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.card-download-link:hover {
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  transform: translateY(-1px);
}

.card-expiry-timer {
  display: block;
  font-size: 0.78rem;
  color: #ef4444;
  font-weight: 600;
  margin-top: 0.5rem;
}

.status-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--neon-green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* Manifesto Section */
.manifesto-section {
  max-width: var(--max-width);
  margin: 0 auto 6rem auto;
  padding: 0 2rem;
}

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

.manifesto-card {
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.manifesto-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--border-neon);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.1);
  margin-bottom: 0.5rem;
}

.manifesto-card-title {
  font-size: 1.4rem;
  color: var(--pure-white);
}

.manifesto-card-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* FAQ / Memes Section */
.faq-section {
  max-width: var(--max-width);
  margin: 0 auto 6rem auto;
  padding: 0 2rem;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.01);
  border: none;
  color: var(--pure-white);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  background: rgba(0, 255, 102, 0.03);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--neon-green);
  transition: transform 0.3s ease;
}

.faq-item.active {
  border-color: var(--border-neon);
}

.faq-item.active .faq-question {
  background: rgba(0, 255, 102, 0.05);
  color: var(--neon-green);
}

.faq-item.active .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-gray);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust according to content size */
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(0, 255, 102, 0.1);
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 4rem 2rem 2rem 2rem;
  background: #020704;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pure-white);
}

.footer-logo span {
  color: var(--neon-green);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  max-width: 320px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links-title {
  font-size: 1.05rem;
  color: var(--pure-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-size: 0.95rem;
  color: var(--text-gray);
}

.footer-links-list a:hover {
  color: var(--neon-green);
  padding-inline-start: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: var(--text-gray);
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.social-link:hover {
  background: rgba(0, 255, 102, 0.08);
  border-color: var(--border-neon);
  color: var(--neon-green);
  transform: translateY(-2px);
}

/* Confetti/Particle Canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  pointer-events: none;
  display: none;
}

/* =========================================================
   SCROLL REVEAL ANIMATIONS (Intersection Observer)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.reveal-scale {
  transform: scale(0.92);
}

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

/* Stagger delays for grouped reveals */
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 500ms; }

/* =========================================================
   MOBILE HAMBURGER NAVIGATION
   ========================================================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  padding: 8px;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--pure-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger:hover {
  background: rgba(0, 255, 102, 0.08);
  border-color: var(--border-neon);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 13, 8, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.mobile-nav-links a {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 7vw, 2.2rem);
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
  transition: var(--transition-smooth);
  position: relative;
}

.mobile-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-green);
  transition: width 0.3s ease;
}

.mobile-nav-links a:hover {
  color: var(--neon-green);
}

.mobile-nav-links a:hover::after {
  width: 100%;
}

.mobile-nav-cta {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-dim));
  color: var(--bg-dark);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius-md);
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.4);
  transition: var(--transition-bounce);
  font-family: 'Sora', sans-serif;
}

.mobile-nav-cta:active {
  transform: scale(0.97);
}

/* =========================================================
   RESPONSIVE OVERRIDES - Tablet (max 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .nav-menu,
  .nav-actions {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .hero-content {
    display: contents;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .badge {
    order: 1;
    align-self: center;
  }
  
  .hero-title {
    order: 2;
  }
  
  .hero-tagline {
    order: 3;
  }
  
  #video-manifesto-section,
  #registration-form-section {
    order: 4;
    margin: 1.5rem auto;
    width: 100%;
    max-width: 480px;
  }

  .registration-layout-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  
  .hero-desc {
    order: 5;
    margin: 0.5rem auto 0 auto;
    max-width: 600px;
  }
  
  .founding-tiers-tracker {
    order: 6;
    margin: 0.5rem auto 0 auto;
    width: 100%;
    max-width: 600px;
  }

  .hero-left-bottom {
    order: 7;
    flex-direction: column-reverse;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
  }

  .hero-mini-mascot {
    width: 130px;
    height: 130px;
  }
  
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Registration layout: already single-column flex, nothing to override */

  /* Member card wrapper: center on mobile */
  .member-card-wrapper {
    max-width: 420px;
    margin: 0 auto 1rem auto;
  }
}

/* Tablet 3-col stats */
@media (min-width: 601px) and (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem 1.25rem;
    gap: 1.25rem;
  }
}

/* =========================================================
   RESPONSIVE OVERRIDES - Mobile (max 768px)
   ========================================================= */
@media (max-width: 768px) {
  /* Navigation */
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 7rem 1.25rem 3.5rem;
    min-height: auto;
  }

  .hero-grid {
    gap: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* Stats */
  .stats-banner {
    padding: 0 1rem;
    margin-bottom: 4rem;
  }

  /* Milestones section */
  .milestones-section {
    padding: 0 1rem;
    margin-bottom: 4.5rem;
  }

  .milestones-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Counter card */
  .live-counter-card {
    padding: 2rem 1.25rem;
  }

  .counter-subtitle {
    font-size: 1rem;
  }

  /* Celebration banner */
  .celebration-banner {
    padding: 1.75rem 1rem;
  }

  .celebration-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .countdown-box {
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .countdown-segment {
    min-width: 68px;
  }

  .countdown-value {
    font-size: 1.8rem;
    padding: 0.4rem 0.6rem;
  }

  /* Registration section */
  .registration-section {
    padding: 0 1rem;
    margin-bottom: 4.5rem;
  }

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

  .interest-tag-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .tag-label {
    padding: 0.75rem;
    font-size: 0.88rem;
    gap: 0.5rem;
  }

  .form-wrapper {
    padding: 1.75rem 1.25rem;
    border-radius: var(--border-radius-md);
  }

  .form-nav-steps {
    margin-bottom: 2rem;
  }

  .form-nav-step {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .step-heading {
    font-size: 1.35rem;
  }

  /* Form buttons */
  .form-buttons {
    flex-direction: column-reverse;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .btn-nav-prev,
  .btn-nav-next,
  .btn-submit {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  /* Member card */
  .member-card-wrapper {
    max-width: 360px;
  }

  .card-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-card-action {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  /* Manifesto */
  .manifesto-section {
    padding: 0 1rem;
    margin-bottom: 4.5rem;
  }

  .manifesto-grid {
    gap: 1.25rem;
  }

  .manifesto-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--border-radius-md);
  }

  .manifesto-card-title {
    font-size: 1.2rem;
  }

  /* FAQ */
  .faq-section {
    padding: 0 1rem;
    margin-bottom: 4.5rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1rem 1.25rem;
    line-height: 1.4;
  }

  .faq-answer {
    padding: 0 1.25rem;
    font-size: 0.9rem;
  }

  .faq-item.active .faq-answer {
    padding: 1rem 1.25rem;
    max-height: 300px;
  }

  /* Footer */
  footer {
    padding: 3rem 1.25rem 1.5rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

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

  /* Announcement bar */
  .top-announcement-bar {
    font-size: 0.78rem;
    padding: 0.5rem 1rem;
  }

  .announcement-content {
    gap: 0.5rem;
    flex-direction: column;
  }

  body.has-announcement {
    padding-top: 72px;
  }

  body.has-announcement header {
    top: 72px;
  }
}

/* =========================================================
   RESPONSIVE OVERRIDES - Small Mobile (max 600px)
   ========================================================= */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.75rem 1.25rem;
  }

  .stat-item {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* =========================================================
   RESPONSIVE OVERRIDES - Extra Small (max 480px)
   ========================================================= */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  body::before {
    background-size: 28px 28px;
  }

  /* Nav */
  .nav-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .logo-icon {
    font-size: 1.5rem;
  }

  /* Hero */
  .hero {
    padding: 6.5rem 1rem 3rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 9vw, 2.4rem);
  }

  .hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  /* Badge */
  .badge {
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
  }

  /* Stats */
  .stats-banner {
    margin-bottom: 3rem;
    padding: 0 0.75rem;
  }

  .stats-grid {
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius-md);
  }

  .stat-value {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  /* Counter */
  .counter-digit,
  .counter-comma {
    font-size: clamp(1.4rem, 8vw, 3.5rem);
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
  }

  .counter-comma {
    padding: 0.15rem 0.1rem;
    align-self: flex-end;
  }

  .counter-display {
    gap: 0.3rem;
  }

  /* Milestones */
  .milestones-section {
    padding: 0 0.75rem;
    margin-bottom: 3.5rem;
  }

  .milestones-timeline {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .milestone-node {
    padding: 1.1rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .milestone-node::before {
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .milestone-num {
    font-size: 1rem;
  }

  .milestone-title {
    font-size: 0.82rem;
  }

  /* Countdown */
  .countdown-box {
    gap: 0.5rem;
  }

  .countdown-segment {
    min-width: 58px;
  }

  .countdown-value {
    font-size: 1.45rem;
    padding: 0.3rem 0.5rem;
  }

  .countdown-label {
    font-size: 0.72rem;
  }

  .celebration-title {
    font-size: 1.25rem;
  }

  .celebration-desc {
    font-size: 0.9rem;
  }

  /* Form */
  .registration-section {
    padding: 0 0.75rem;
    margin-bottom: 3.5rem;
  }

  .form-wrapper {
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius-md);
  }

  .form-nav-steps {
    margin-bottom: 1.75rem;
  }

  .form-nav-step {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .interest-tag-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .tag-label {
    padding: 0.75rem 0.85rem;
  }

  .pledge-card {
    padding: 1.1rem;
  }

  /* Member card */
  .member-card-wrapper {
    max-width: 100%;
  }

  /* Success */
  .success-title {
    font-size: 1.5rem;
  }

  .success-icon-anim {
    font-size: 2.8rem;
  }

  /* Manifesto */
  .manifesto-section {
    padding: 0 0.75rem;
    margin-bottom: 3.5rem;
  }

  .manifesto-card {
    padding: 1.5rem 1rem;
  }

  .manifesto-icon {
    width: 52px;
    height: 52px;
    font-size: 2rem;
  }

  /* FAQ */
  .faq-section {
    padding: 0 0.75rem;
    margin-bottom: 3.5rem;
  }

  .faq-question {
    font-size: 0.93rem;
    padding: 0.9rem 1rem;
  }

  /* Footer */
  footer {
    padding: 2.5rem 0.85rem 1.25rem;
  }

  .footer-logo {
    font-size: 1.25rem;
  }

  .footer-brand-desc {
    font-size: 0.85rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* =========================================================
   RESPONSIVE OVERRIDES - Tiny Mobile (max 360px)
   ========================================================= */
@media (max-width: 360px) {
  html {
    font-size: 14px;
  }

  .hero {
    padding: 6rem 0.75rem 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 10vw, 2.1rem);
  }

  .stats-grid {
    padding: 1.25rem 0.75rem;
  }

  .form-wrapper {
    padding: 1.25rem 0.85rem;
  }

  .form-nav-step {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .counter-digit,
  .counter-comma {
    font-size: clamp(1.2rem, 9vw, 2.8rem);
  }
}

/* =========================================================
   TOUCH DEVICE OPTIMIZATIONS
   ========================================================= */
@media (pointer: coarse) {
  /* Disable hover transforms on touch to prevent sticky states */
  .btn-primary:hover,
  .btn-secondary:hover,
  .nav-cta:hover,
  .glass-hover:hover,
  .milestone-node:hover,
  .manifesto-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  /* Larger tap targets for forms */
  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 52px;
    font-size: 16px; /* Prevents iOS auto-zoom on focus */
  }

  /* Larger tap targets for interactive elements */
  .tag-label {
    min-height: 52px;
  }

  .faq-question {
    min-height: 52px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-nav-next,
  .btn-nav-prev,
  .btn-submit,
  .btn-card-action {
    min-height: 52px;
  }

  /* Active press feedback for touch */
  .btn-primary:active {
    transform: scale(0.97) !important;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.3) !important;
  }

  .btn-secondary:active {
    background: rgba(255, 255, 255, 0.08) !important;
  }

  .btn-nav-next:active,
  .btn-submit:active {
    transform: scale(0.98) !important;
  }

  .tag-label:active {
    background: rgba(0, 255, 102, 0.06) !important;
  }

  /* Disable 3D card tilt on touch */
  .member-card {
    transform: none !important;
  }

  /* Larger social links */
  .social-link {
    width: 44px;
    height: 44px;
  }
}

/* =========================================================
   FACEBOOK WIDGET SECTION
   ========================================================= */
.facebook-section {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.facebook-card {
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  background: rgba(4, 12, 7, 0.4);
}

.fb-cover-container {
  height: 250px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 255, 102, 0.1);
}

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

.fb-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(2, 7, 4, 0.2), rgba(2, 7, 4, 0.9));
}

.fb-profile-container {
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  margin-top: -80px;
  z-index: 2;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.fb-profile-left {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.fb-profile-pic-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--neon-green), #041008);
  box-shadow: 0 8px 32px rgba(0, 255, 102, 0.3);
  overflow: hidden;
}

.fb-profile-pic {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #020704;
}

.fb-profile-info {
  margin-bottom: 0.5rem;
}

.fb-page-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fb-page-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-light);
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.1);
  margin: 0;
}

.verified-icon {
  color: var(--neon-green);
  fill: var(--neon-green);
  filter: drop-shadow(0 0 4px rgba(0, 255, 102, 0.5));
}

.fb-page-username {
  font-size: 0.95rem;
  color: var(--neon-green);
  margin: 0.2rem 0 0.5rem 0;
  font-family: monospace;
}

.fb-page-stats {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: 0;
}

.stat-highlight {
  color: var(--text-light);
  font-weight: 700;
}

.fb-profile-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.btn-fb-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-fb-like {
  background: var(--neon-green);
  color: #020704;
  border: 1px solid var(--neon-green);
  box-shadow: var(--shadow-neon);
}

.btn-fb-like:hover {
  background: transparent;
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

.btn-fb-visit {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 1px solid var(--border-glass);
}

.btn-fb-visit:hover {
  background: rgba(0, 255, 102, 0.08);
  border-color: var(--border-neon);
  color: var(--neon-green);
}

.fb-btn-icon {
  flex-shrink: 0;
}

.fb-page-description {
  padding: 0.5rem 2.5rem 1.5rem 2.5rem;
  border-bottom: 1px solid rgba(0, 255, 102, 0.05);
}

.fb-page-description p {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.fb-recent-posts-header {
  padding: 1.5rem 2.5rem 0.5rem 2.5rem;
}

.fb-recent-posts-header h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fb-posts-slider-container {
  width: 100%;
  overflow-x: auto;
  padding: 1rem 2.5rem 2.5rem 2.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 102, 0.3) rgba(255, 255, 255, 0.02);
}

.fb-posts-slider-container::-webkit-scrollbar {
  height: 8px;
}

.fb-posts-slider-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.fb-posts-slider-container::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 102, 0.3);
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 102, 0.1);
}

.fb-posts-slider-container::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

.fb-posts-slider {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  width: max-content;
  padding-bottom: 0.75rem;
}

.fb-post {
  flex-shrink: 0;
  width: 380px;
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fb-post:hover {
  background: rgba(0, 255, 102, 0.02);
  border-color: rgba(0, 255, 102, 0.2);
}

.fb-post-attachment {
  width: 100%;
  height: 200px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.fb-attachment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fb-post:hover .fb-attachment-img {
  transform: scale(1.05);
}

.fb-post-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fb-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-neon);
}

.fb-post-header-text {
  display: flex;
  flex-direction: column;
}

.fb-post-author {
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.95rem;
}

.fb-post-time {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.fb-post-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.fb-post-interactions {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--neon-green);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  /* Keep slider scrollable, but adjust widths if necessary */
}

@media (max-width: 768px) {
  .fb-profile-container {
    margin-top: -60px;
    padding: 1rem 1.5rem;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  
  .fb-profile-left {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .fb-profile-pic-wrapper {
    width: 100px;
    height: 100px;
  }
  
  .fb-page-title-row {
    justify-content: center;
  }
  
  .fb-profile-actions {
    width: 100%;
    justify-content: center;
  }
  
  .fb-page-description {
    padding: 1rem 1.5rem;
  }
  
  .fb-recent-posts-header {
    padding: 1rem 1.5rem 0.5rem 1.5rem;
  }
  
  .fb-posts-slider-container {
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
  }
  
  .fb-post {
    width: 300px;
    padding: 1.25rem;
  }
  
  .fb-post-attachment {
    height: 160px;
  }
}

/* =========================================================
   REDUCED MOTION ACCESSIBILITY
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   PRINT STYLES (for card download)
   ========================================================= */
@media print {
  header, footer, .hero, .stats-banner,
  .milestones-section, .registration-section,
  .manifesto-section, .faq-section, .facebook-section,
  #confetti-canvas, .top-announcement-bar {
    display: none !important;
  }

  .member-card-wrapper {
    max-width: 340px;
    margin: 2rem auto;
  }

  .success-icon-anim,
  .success-title,
  .success-desc,
  .card-actions {
    display: block !important;
  }

  body {
    background: white;
    color: black;
  }
}

/* =========================================================
   FILE UPLOAD STYLES
   ========================================================= */
.file-upload-trigger:hover {
  border-color: var(--neon-green) !important;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.2);
  background: rgba(0, 255, 102, 0.03) !important;
}

.btn-remove-photo:hover {
  background: rgba(255, 74, 74, 0.2) !important;
  border-color: rgba(255, 74, 74, 0.4) !important;
  box-shadow: 0 0 8px rgba(255, 74, 74, 0.2);
}

/* =========================================================
   VIDEO SPLASH OVERLAY STYLES
   ========================================================= */
.video-splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 13, 8, 0.96);
  backdrop-filter: blur(25px);
  z-index: 20000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
  visibility: visible;
  opacity: 1;
  overflow-y: auto; /* Enable scroll if height overflows on small screens */
}

.video-splash-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-splash-card {
  width: 100%;
  max-width: 440px;
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-neon);
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.2);
  background: rgba(12, 28, 18, 0.9);
  backdrop-filter: blur(15px);
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: auto; /* Keep card centered in scrollable space */
}

.video-splash-overlay.hidden .video-splash-card {
  transform: scale(0.9);
}

body.splash-active {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Landscape / short-screen media query for video splash screen card */
@media (max-height: 640px) {
  .video-splash-card {
    padding: 1rem !important;
  }
  .video-splash-card .video-container {
    max-width: 180px !important;
    margin-bottom: 0.75rem !important;
  }
  .video-splash-card p {
    margin-bottom: 0.75rem !important;
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }
  .video-splash-card .btn-primary {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
}

/* =========================================================
   BOOTSTRAP 5.3 COMPONENT OVERRIDES & INTEGRATION
   ========================================================= */

/* Global Input & Select styling */
.form-control, .form-select {
  background-color: rgba(12, 28, 18, 0.4) !important;
  color: var(--text-white) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--border-radius-sm) !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  transition: var(--transition-smooth) !important;
}

/* Option elements background inside select dropdowns */
.form-select option {
  background-color: var(--bg-dark) !important;
  color: var(--text-white) !important;
}

/* Focus styles for inputs and selects */
.form-control:focus, .form-select:focus {
  background-color: rgba(12, 28, 18, 0.6) !important;
  color: var(--text-white) !important;
  border-color: var(--neon-green) !important;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.3) !important;
  outline: none !important;
}

/* Custom styling for inputs during validation states */
.form-control:user-invalid, .form-select:user-invalid {
  border-color: var(--error-red) !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25) !important;
}

.form-control:user-valid, .form-select:user-valid {
  border-color: var(--success-green) !important;
}

/* Placeholders */
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* Native Bootstrap Accordion Overrides to match Cyberpunk glassmorphism */
.accordion-item.glass {
  background-color: rgba(12, 28, 18, 0.4) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--border-radius-md) !important;
  overflow: hidden;
  transition: var(--transition-smooth) !important;
}

.accordion-item.glass:hover {
  border-color: rgba(0, 255, 102, 0.4) !important;
}

.accordion-button {
  background-color: rgba(12, 28, 18, 0.6) !important;
  color: var(--pure-white) !important;
  border: none !important;
  font-family: 'Sora', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  padding: 1.25rem 1.5rem !important;
  transition: var(--transition-smooth) !important;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(0, 255, 102, 0.05) !important;
  color: var(--neon-green) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  border-color: var(--border-neon) !important;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.3) !important;
}

/* Style Bootstrap's SVG accordion arrow icon to be neon green */
.accordion-button::after {
  filter: invert(53%) sepia(93%) saturate(1915%) hue-rotate(107deg) brightness(101%) contrast(101%) !important;
}

.accordion-body {
  background-color: rgba(5, 13, 8, 0.9) !important;
  color: var(--text-gray) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  padding: 1.25rem 1.5rem !important;
  border-top: 1px solid rgba(0, 255, 102, 0.1) !important;
}

/* Navbar / Navigation Header overrides */
#main-header {
  transition: var(--transition-smooth);
}

#main-header.scrolled {
  background: rgba(5, 13, 8, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--border-glass) !important;
}

#main-header .nav-link-item {
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth) !important;
}

#main-header .nav-link-item:hover,
#main-header .nav-link-item.active {
  color: var(--neon-green) !important;
}

/* Style the mobile navbar-toggler focus outline and color */
.navbar-toggler:focus {
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.4) !important;
  outline: none !important;
}

/* Responsive mobile dropdown for bootstrap collapse menu */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(5, 13, 8, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--border-radius-md) !important;
    padding: 1.5rem !important;
    margin-top: 1rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  }
  .navbar-nav {
    gap: 1rem !important;
  }
}

/* =========================================================
   TOP FOMO BAR STYLING
   ========================================================= */
.top-fomo-bar {
  background: linear-gradient(135deg, #051009 0%, #0c1c12 100%);
  border-bottom: 1px solid rgba(0, 255, 102, 0.2);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.72rem, 2.2vw, 0.82rem);
  padding: 0.4rem 1rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 255, 102, 0.15);
  transition: var(--transition-smooth);
}

.top-fomo-bar:hover {
  background: linear-gradient(135deg, #081a0e 0%, #12281a 100%);
  border-bottom-color: var(--neon-green);
  box-shadow: 0 4px 15px rgba(0, 255, 102, 0.3);
}

.top-fomo-bar:hover strong {
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.6);
}

.fomo-bar-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  justify-content: center;
  width: 100%;
}

.fomo-bar-content strong {
  color: var(--neon-green);
  transition: var(--transition-smooth);
}

.fomo-btn {
  background: var(--neon-green);
  color: #050d08 !important;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 0.25rem 0.8rem;
  font-size: 0.72rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.fomo-btn:hover {
  background: var(--pure-white);
  color: #050d08 !important;
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.fomo-live-dot {
  width: 8px;
  height: 8px;
  background-color: #ff3b30;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.25rem;
  box-shadow: 0 0 8px #ff3b30;
  animation: fomoPulse 1.5s infinite;
}

@keyframes fomoPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 12px #ff3b30;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

/* Adjust mobile dropdown collapse menu offset for stacked design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.5rem !important;
  }
}

/* =========================================================
   LIVE MEETING SECTION STYLING
   ========================================================= */
.live-meeting-section {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.live-portal-card {
  border: 1px solid var(--border-glass);
  background: rgba(4, 12, 7, 0.4);
  box-shadow: 0 10px 40px rgba(0, 255, 102, 0.05);
  transition: var(--transition-smooth);
}

.live-portal-card:hover {
  border-color: var(--border-neon);
  box-shadow: 0 15px 45px rgba(0, 255, 102, 0.1);
}

.portal-btn-meet {
  background: var(--neon-green) !important;
  border-color: var(--neon-green) !important;
  color: #050d08 !important;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  transition: all 0.3s ease !important;
}

.portal-btn-meet:hover {
  background: var(--pure-white) !important;
  border-color: var(--pure-white) !important;
  color: #050d08 !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.portal-btn-whatsapp {
  border-color: rgba(0, 255, 102, 0.3) !important;
  color: var(--neon-green) !important;
  background: transparent !important;
  transition: all 0.3s ease !important;
}

.portal-btn-whatsapp:hover {
  background: rgba(0, 255, 102, 0.1) !important;
  border-color: var(--neon-green) !important;
  color: var(--neon-green) !important;
  transform: translateY(-2px);
}

.portal-info-item {
  transition: var(--transition-smooth);
}

.portal-info-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(0, 255, 102, 0.2) !important;
}

.fs-7 {
  font-size: 0.8rem;
}

.benefits-list li {
  line-height: 1.4;
}

.benefit-bullet {
  font-size: 1.1rem;
  line-height: 1;
}

/* Responsive adjustments for live meeting */
@media (max-width: 991.98px) {
  .live-meeting-section {
    padding: 4rem 1.5rem;
  }
}

/* Adjustments for long navbar link on intermediate desktops */
@media (min-width: 992px) and (max-width: 1280px) {
  .nav-links {
    gap: 0.75rem !important;
  }
  .nav-link-item {
    font-size: 0.82rem !important;
  }
}

/* Search Form & Input styling */
.search-form {
  margin-bottom: 0;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
}

.search-input {
  background: rgba(12, 28, 18, 0.6) !important;
  border: 1px solid var(--border-glass) !important;
  color: var(--text-white) !important;
  border-radius: 50px !important;
  padding-left: 2.2rem !important;
  padding-right: 1rem !important;
  font-size: 0.82rem !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  width: 130px;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.search-input:focus {
  width: 190px;
  background: rgba(12, 28, 18, 0.9) !important;
  border-color: var(--border-neon-active) !important;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.25) !important;
  outline: none !important;
}

.search-icon-inside {
  position: absolute;
  left: 0.85rem;
  font-size: 0.8rem;
  pointer-events: none;
  opacity: 0.6;
}

/* Glowing flash effect for search matched sections */
.search-match-flash {
  animation: sectionGlowFlash 2.5s ease-out;
}

@keyframes sectionGlowFlash {
  0% {
    outline: 2px solid var(--neon-green);
    box-shadow: 0 0 40px rgba(0, 255, 102, 0.4);
  }
  50% {
    outline: 2px solid var(--neon-green);
    box-shadow: 0 0 60px rgba(0, 255, 102, 0.6);
  }
  100% {
    outline: 2px solid transparent;
    box-shadow: none;
  }
}

.search-error-flash::placeholder {
  color: var(--error-red) !important;
  opacity: 0.8;
}
.search-error-flash {
  border-color: var(--error-red) !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3) !important;
}

/* Mobile responsive adjustments for search */
@media (max-width: 991.98px) {
  .search-form {
    width: 100%;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
  }
  .search-input-wrapper {
    width: 100%;
  }
  .search-input {
    width: 100% !important;
  }
  .search-input:focus {
    width: 100% !important;
  }
}

/* Floating Live Registration Tracker Widget */
.floating-live-counter {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(12, 28, 18, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid var(--border-neon) !important;
  border-radius: 50px !important;
  box-shadow: 0 5px 25px rgba(0, 255, 102, 0.15) !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  animation: floatBounce 3s ease-in-out infinite;
}

.floating-live-counter:hover {
  background: rgba(12, 28, 18, 0.95) !important;
  border-color: var(--neon-green) !important;
  box-shadow: 0 8px 30px rgba(0, 255, 102, 0.35) !important;
  transform: translateY(-3px) scale(1.03);
}

.live-dot-pulse {
  width: 10px;
  height: 10px;
  background-color: #ff3b30;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff3b30;
  animation: fomoPulse 1.5s infinite;
}

.floating-counter-content {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.floating-counter-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.floating-counter-val {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
}

@keyframes floatBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Styles for header search bar always visible */
.search-form-header {
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.search-input-header {
  background: rgba(12, 28, 18, 0.6) !important;
  border: 1px solid var(--border-glass) !important;
  color: var(--text-white) !important;
  border-radius: 50px !important;
  padding-left: 2.2rem !important;
  padding-right: 0.75rem !important;
  font-size: 0.8rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  width: 100px;
}

.search-input-header::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.search-input-header:focus {
  width: 155px;
  background: rgba(12, 28, 18, 0.9) !important;
  border-color: var(--border-neon-active) !important;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.35) !important;
  outline: none !important;
}

/* Adjustments for responsive navbar flow with always-visible search */
@media (max-width: 991.98px) {
  .search-form-header {
    margin-right: 0.5rem !important;
    margin-left: 0.25rem !important;
  }
}

@media (max-width: 575.98px) {
  .search-input-header {
    width: 85px;
  }
  .search-input-header:focus {
    width: 115px;
  }
  .floating-live-counter {
    bottom: 16px;
    left: 16px;
    padding: 0.5rem 0.85rem;
  }
  .floating-counter-label {
    font-size: 0.55rem;
  }
  .floating-counter-val {
    font-size: 0.88rem;
  }
}

/* Hide elements until user registers */
.registration-only {
  display: none !important;
}
