/* ============================================
   CSS RESET & ROOT VARIABLES
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  touch-action: manipulation;
}

:root {
  /* Brand Colors */
  --blue: #0063d7;
  --red: #e21027;
  --green: #00b664;
  --yellow: #fcff20;

  /* Surfaces */
  --bg: #0a0a0a;
  --card: #111111;
  --card-hover: #161616;
  --border: #1e1e1e;

  /* Text */
  --text: #ffffff;
  --text-dim: #aaaaaa;
  --text-muted: #666666;

  /* Glow variants */
  --blue-glow: rgba(0, 99, 215, 0.25);
  --red-glow: rgba(226, 16, 39, 0.2);
  --green-glow: rgba(0, 182, 100, 0.2);

  /* Typography */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --content-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul { list-style: none; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--blue);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.2s ease, padding 0.2s ease, border-color 0.2s ease;
}

.nav.scrolled {
  padding: 0.75rem 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

.nav.menu-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  flex-wrap: nowrap;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo .hash {
  color: var(--blue);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
  letter-spacing: 0.02em;
  position: relative;
  white-space: nowrap;
}

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

.nav-links a:hover {
  color: var(--text);
}

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

.nav-cta {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  background: var(--blue);
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  transition: all 0.3s var(--ease) !important;
  box-shadow: 0 0 20px var(--blue-glow);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: #0070f0;
  box-shadow: 0 0 30px var(--blue-glow);
  transform: translateY(-1px);
}

.nav-profile-link {
  color: var(--text) !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-logout-link {
  color: #ff6b7b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(226, 16, 39, 0.1);
  border: 1px solid rgba(226, 16, 39, 0.25);
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease !important;
}
.nav-logout-link::after { display: none !important; }
.nav-logout-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 10005;
  position: relative;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
  .nav-logo {
    position: relative;
    z-index: 10005;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(4.5rem, 10vh, 5.5rem) 1.5rem 2.5rem;
    gap: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    will-change: opacity, transform;
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    padding: 0.45rem 1.25rem;
    border-radius: 8px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, background-color 0.15s ease;
  }
  .nav-links a:hover,
  .nav-links a:active {
    color: var(--blue);
    background: rgba(255, 255, 255, 0.05);
  }
  .nav-links a::after {
    display: none;
  }
  .nav-cta {
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 0.65rem 2rem !important;
    margin-top: 0.4rem;
    width: min(100%, 220px);
    text-align: center;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
  .nav-user-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .nav-user-menu .nav-user-chip {
    display: none;
  }
  .nav-dropdown-panel {
    position: static;
    width: 100%;
    max-width: 280px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 4px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Particle canvas */
#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Background SVG */
.hero-bg-svg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.15;
}

.hero-bg-svg svg,
.hero-bg-svg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 65%);
  filter: blur(80px);
  z-index: 0;
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 65%);
  filter: blur(80px);
  z-index: 0;
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  padding-top: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(0, 99, 215, 0.1);
  border: 1px solid rgba(0, 99, 215, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s var(--ease-out) both;
}

.hero-badge .dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 100%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue), #00a2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-dim);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-primary {
  background: var(--blue);
  color: var(--text);
  box-shadow: 0 0 30px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  background: #0070f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}

.hero-stat-val {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-stat-val .color-blue { color: var(--blue); }
.hero-stat-val .color-green { color: var(--green); }
.hero-stat-val .color-yellow { color: var(--yellow); }

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-pad) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-text p strong {
  color: var(--text);
  font-weight: 600;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlight-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.highlight-card:hover {
  border-color: #0063d74d;
  background: var(--card-hover);
  transform: translateX(4px);
}

.highlight-card:hover::before { opacity: 1; }

.highlight-card:nth-child(2)::before { background: var(--green); }
.highlight-card:nth-child(2):hover { border-color: #00b664; }
.highlight-card:nth-child(3)::before { background: var(--red); }
.highlight-card:nth-child(3):hover { border-color: #e21027; }

.highlight-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.highlight-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.highlight-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Tags strip */
.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.tag:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0, 99, 215, 0.08);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================
   WHAT WE DO SECTION
   ============================================ */
.programs {
  padding: var(--section-pad) 0;
  position: relative;
}

.programs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.program-card {
  background: var(--card);
  border: 3px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 99, 215, 0.04));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 99, 215, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.program-card:hover::after { opacity: 1; }

/* Unique accent colors per card */
.program-card:nth-child(1) .program-icon { background: rgba(0, 99, 215, 0.12); color: var(--blue); }
.program-card:nth-child(2) .program-icon { background: rgba(0, 0, 0, 0.12); color: var(--red); }
.program-card:nth-child(3) .program-icon { background: rgba(0, 0, 0, 0.12); color: var(--green); }
.program-card:nth-child(4) .program-icon { background: rgba(0, 0, 0, 0.1); color: var(--yellow); }

.program-card:nth-child(2):hover { border-color: rgba(226, 16, 39, 0.3); }
.program-card:nth-child(3):hover { border-color: rgba(0, 182, 100, 0.3); }
.program-card:nth-child(4):hover { border-color: rgba(252, 255, 32, 0.2); }

.program-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.program-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.program-card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.program-card .program-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
}

/* Mission statement */
.mission-bar {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(0, 99, 215, 0.08), rgba(226, 16, 39, 0.05));
  border: 1px solid rgba(0, 99, 215, 0.15);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mission-bar .mission-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.mission-bar p {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.mission-bar p strong {
  color: var(--text);
}

/* ============================================
   UPCOMING EVENTS SECTION
   ============================================ */
.upcoming-events {
  padding: var(--section-pad) 0;
  position: relative;
}

.upcoming-events::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.event-card {
  display: block;
  background: var(--card);
  border: 3px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: all 0.4s var(--ease);
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 99, 215, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.event-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(0, 99, 215, 0.12);
  color: var(--blue);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.event-date .event-day {
  font-size: 1.15rem;
  font-weight: 800;
}

.event-date .event-month {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.event-card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.event-card .program-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
}

/* ============================================
   WHY JOIN SECTION
   ============================================ */
.why-join {
  padding: var(--section-pad) 0;
  position: relative;
}

.why-join::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.benefit-card {
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.35s var(--ease);
  position: relative;
}

.benefit-card:hover {
  background: var(--card-hover);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.08);
}

.benefit-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgb(10, 50, 10);
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  line-height: 1;
}

.benefit-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
  padding: var(--section-pad) 0;
  position: relative;
}

.team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: #0063b2;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid var(--blue);
  transition: all 0.3s var(--ease);
  background: var(--card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}

.team-card:nth-child(1) .team-avatar { border-color: #9d9d9d; }
.team-card:nth-child(2) .team-avatar { border-color: var(--yellow); }
.team-card:nth-child(3) .team-avatar { border-color: #4a9ead; }
.team-card:nth-child(4) .team-avatar { border-color: var(--blue); }
.team-card:nth-child(5) .team-avatar { border-color: #9d9d9d; }

.team-card:hover .team-avatar {
  border-color: var(--blue);
  transform: scale(1.05);
}

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

.team-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: block;
}

.team-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  transition: all 0.3s var(--ease);
  margin-top: 0.1rem;
  width: 100%;
}

.team-link:hover {
  color: #4d9cff;
  gap: 0.65rem;
}

.team-link svg {
  width: 26px;
  height: 26px;
}

/* Community Credits */
.credits {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.credits h3 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.credits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.credits-list span {
  font-size: 1.2rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.credits-list span:hover {
  color: var(--text-dim);
  border-color: #0063b2;
  transform: scale(1.1);
}


/* ============================================
   JOIN SECTION
   ============================================ */
.join {
  padding: var(--section-pad) 0;
  position: relative;
}

.join::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.join-ways h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.join-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.join-list li .check {
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.join-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.info-card .icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.join-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .join-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================
   FOLLOW / CONNECT SECTION
   ============================================ */
.follow {
  padding: var(--section-pad) 0;
  position: relative;
  text-align: center;
}

.follow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.follow .section-desc {
  margin: 0 auto 3rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.social-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.35s var(--ease);
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.social-icon svg {
  width: 28px;
  height: 28px;
}

.hashtag-banner {
  margin-top: 3rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 340px;
  line-height: 1.6;
}

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

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 0.25rem 0;
  transition: color 0.3s var(--ease);
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.35s var(--ease);
  z-index: 999;
  backdrop-filter: blur(12px);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--text);
  box-shadow: 0 0 20px var(--blue-glow);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }

/* ============================================
   RESPONSIVE FINE-TUNING
   ============================================ */
@media (max-width: 480px) {
  .hero-content {
    padding-bottom: 4rem;
  }
  .team-avatar {
    width: 110px;
    height: 110px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .mission-bar {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}
