/* ===== TEAM POPUP LARGE ===== */
.team-popup-large {
  min-width: 480px;
  min-height: 370px;
  padding-top: 28px;
  padding-bottom: 18px;
}
.team-lead, .team-member {
  min-width: 170px;
  max-width: 220px;
}
.team-lead {
  margin-bottom: 28px;
}
.team-row {
  gap: 48px;
}
.team-socials {
  display: flex;
  gap: 12px;
  margin: 8px 0 4px 0;
  justify-content: center;
}
.team-social {
  font-size: 1.25rem;
  background: none;
  border: none;
  color: #b87ffe;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.2s;
}
.team-social:hover {
  color: #f472b6;
}
.team-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 4px;
}
.team-project {
  background: rgba(184,127,254,0.13);
  color: #b87ffe;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1.2px solid #b87ffe33;
}
/* ===== TEAM PYRAMID ===== */
.team-pyramid {
  min-width: 320px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 18px;
}
.team-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}
.team-row {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: center;
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-pyramid .popup-avatar {
  font-size: 2.1rem;
  margin-bottom: 6px;
}
.team-pyramid .popup-name {
  font-size: 1.08rem;
  margin-bottom: 2px;
}
.team-pyramid .popup-sub {
  font-size: 0.95rem;
  color: #bdb6d2;
  margin-bottom: 0;
}
/* ===== TEAM POPUP ===== */
#team-popup .popup-card {
  min-width: 270px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* ===== STATUS BADGE TOP POSITION ===== */
.card-status-top {
  position: absolute;
  top: 18px;
  right: 50%;
  transform: translateX(50%);
  z-index: 2;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:       #08060f;
  --clr-bg2:      #0e0b1a;
  --clr-surface:  #14102200;
  --clr-dream:    #b87ffe;
  --clr-dream2:   #7c3aed;
  --clr-accent:   #f472b6;
  --clr-accent2:  #fb923c;
  --clr-cyan:     #22d3ee;
  --clr-green:    #4ade80;
  --clr-text:     #e2d9f3;
  --clr-muted:    #7b6fa0;
  --radius:       20px;
  --radius-lg:    32px;
  --transition:   0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-dream2); border-radius: 10px; }

/* ===== CANVAS PARTICLES ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== BLOBS ===== */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  animation: blobFloat 12s ease-in-out infinite;
}
.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--clr-dream), transparent);
  top: -100px; left: -150px;
  animation-delay: 0s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--clr-accent), transparent);
  bottom: 100px; right: -100px;
  animation-delay: -4s;
}
.blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--clr-cyan), transparent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.97); }
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(8, 6, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 127, 254, 0.1);
  transition: var(--transition);
}
#navbar.scrolled {
  padding: 12px 48px;
  background: rgba(8, 6, 15, 0.92);
}
.nav-logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 1px;
}
.logo-dream   { color: var(--clr-dream); }
.logo-zoockers { color: var(--clr-accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--clr-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-dream);
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--clr-dream); }
.nav-links a:hover::after { width: 100%; }

/* ===== HERO ===== */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 8vw 80px;
  gap: 40px;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  animation: fadeSlideUp 1s ease both;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(244, 114, 182, 0.1);
  border: 1px solid rgba(244, 114, 182, 0.3);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeSlideUp 1s 0.1s ease both;
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeSlideUp 1s 0.2s ease both;
}
.title-dream {
  display: block;
  background: linear-gradient(135deg, var(--clr-dream), var(--clr-dream2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(184, 127, 254, 0.5));
}
.title-zoockers {
  display: block;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(244, 114, 182, 0.4));
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Intro morph: one-line DrZr -> two-line Dream / Zoockers */
.hero-title.morph-start .title-zoockers {
  max-height: 0;
  opacity: 0;
  transform: translateY(-0.35em) scale(0.92);
  filter: blur(6px) drop-shadow(0 0 20px rgba(244, 114, 182, 0.1));
  overflow: hidden;
}
.hero-title.morph-split .title-zoockers {
  max-height: 1.4em;
  opacity: 1;
  transform: none;
  filter: drop-shadow(0 0 40px rgba(244, 114, 182, 0.4));
}
.hero-title .title-zoockers {
  transition: max-height 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.hero-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.48em) scale(0.86) rotateX(-35deg);
  filter: blur(7px);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, filter 0.45s ease;
}
.hero-char.in {
  opacity: 1;
  transform: none;
  filter: none;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--clr-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeSlideUp 1s 0.3s ease both;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--clr-dream2), var(--clr-accent));
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
  animation: fadeSlideUp 1s 0.4s ease both;
}
.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-dream2));
  opacity: 0;
  transition: opacity 0.3s;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(124, 58, 237, 0.6); }
.cta-btn:hover::before { opacity: 1; }
.cta-btn span, .cta-btn svg { position: relative; z-index: 1; }

/* ===== HERO VISUAL (ORBIT) ===== */
.hero-visual {
  flex-shrink: 0;
  position: relative;
  width: min(420px, 45vw);
  aspect-ratio: 1;
  animation: fadeIn 1.2s 0.5s ease both;
}

.hero-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--clr-dream2), var(--clr-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.6), 0 0 120px rgba(124, 58, 237, 0.3);
  z-index: 2;
  animation: corePulse 3s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 60px rgba(124, 58, 237, 0.6), 0 0 120px rgba(124, 58, 237, 0.3); }
  50%       { box-shadow: 0 0 80px rgba(244, 114, 182, 0.7), 0 0 150px rgba(244, 114, 182, 0.3); }
}

.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(184, 127, 254, 0.2);
  animation: orbitSpin linear infinite;
}
.ring-1 { width: 200px; height: 200px; animation-duration: 8s; }
.ring-2 { width: 290px; height: 290px; animation-duration: 14s; animation-direction: reverse; }
.ring-3 { width: 380px; height: 380px; animation-duration: 20s; }
.orbit-ring.prelaunch,
.orbit-ring.prelaunch .orbit-icon {
  animation-play-state: paused !important;
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-icon {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 1.6rem;
  animation: orbitCounterSpin linear infinite;
  filter: drop-shadow(0 0 8px rgba(184, 127, 254, 0.8));
}
.ring-1 .orbit-icon { animation-duration: 8s; }
.ring-2 .orbit-icon { animation-duration: 14s; animation-direction: reverse; }
.ring-3 .orbit-icon { animation-duration: 20s; }

.orbit-icon.fly-intro {
  position: absolute;
  opacity: 0;
  animation: none !important;
  transform: translate(calc(-50% + var(--fly-start-x, 0px)), calc(-50% + var(--fly-start-y, 0px))) scale(0.28) rotate(-24deg);
  filter: blur(8px) drop-shadow(0 0 12px rgba(184, 127, 254, 0.3));
  transition: transform 1.12s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.68s ease, filter 0.88s ease;
  will-change: transform, opacity;
}

.orbit-icon.fly-intro.fly-in {
  opacity: 1;
  transform: translateX(-50%) translateY(-50%) scale(1) rotate(0deg);
  filter: drop-shadow(0 0 8px rgba(184, 127, 254, 0.8));
}

.orbit-icon.fly-intro::before,
.orbit-icon.fly-intro::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.orbit-icon.fly-intro::before {
  width: 10px;
  height: 34px;
  margin-top: 17px;
  background: linear-gradient(180deg, rgba(220, 210, 248, 0.55) 0%, rgba(220, 210, 248, 0.12) 62%, rgba(220, 210, 248, 0) 100%);
  filter: blur(1.8px);
}

.orbit-icon.fly-intro::after {
  width: 8px;
  height: 8px;
  margin-top: 28px;
  background: rgba(232, 225, 248, 0.45);
  box-shadow: 0 0 18px rgba(232, 225, 248, 0.35), 0 0 38px rgba(232, 225, 248, 0.2);
}

.orbit-icon.fly-intro.fly-in::before {
  opacity: 1;
  animation: smokeTrail 0.42s ease-out infinite;
}

.orbit-icon.fly-intro.fly-in::after {
  opacity: 1;
  animation: smokePuff 0.58s ease-out infinite;
}

@keyframes smokeTrail {
  0% {
    transform: translate(-50%, -50%) scaleY(0.6);
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, 8px) scaleY(1.18);
    opacity: 0;
  }
}

@keyframes smokePuff {
  0% {
    transform: translate(-50%, -50%) scale(0.45);
    opacity: 0.42;
  }
  100% {
    transform: translate(-50%, 14px) scale(1.9);
    opacity: 0;
  }
}

@keyframes orbitCounterSpin {
  from { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) translateY(-50%) rotate(-360deg); }
}

/* ===== SECTIONS COMMON ===== */
section {
  position: relative;
  z-index: 1;
  padding: 100px 8vw;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--clr-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}
.highlight {
  background: linear-gradient(135deg, var(--clr-dream), var(--clr-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== STATUS BADGES ===== */
.status-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 4px 12px;
  vertical-align: middle;
  background: rgba(30, 27, 40, 0.62);
  color: #fff;
  border: 2.2px solid;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.13);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  transition: background 0.2s, border 0.2s;
  width: max-content;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
}
.status-offline {
  border-color: #ef4444;
  background: rgba(248, 113, 113, 0.22);
  color: #ffb3b3;
}
.status-dev {
  border-color: #fbbf24;
  background: rgba(253, 230, 138, 0.19);
  color: #ffe9a7;
}

/* ===== CARD ===== */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  overflow: hidden;
  background: rgba(20, 16, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  transform: translateY(-8px) scale(1.01);
}
.card:hover .card-glow { opacity: 1; }

.card-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
  pointer-events: none;
}
.card-mc   .card-glow { background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), transparent); box-shadow: inset 0 0 40px rgba(74, 222, 128, 0.1); }
.card-host .card-glow { background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), transparent); box-shadow: inset 0 0 40px rgba(34, 211, 238, 0.1); }
.card-bot  .card-glow { background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), transparent); box-shadow: inset 0 0 40px rgba(167, 139, 250, 0.1); }
.card-table .card-glow { background: linear-gradient(135deg, rgba(251, 146, 60, 0.15), transparent); box-shadow: inset 0 0 40px rgba(251, 146, 60, 0.1); }
.card-fivem .card-glow { background: linear-gradient(135deg, rgba(59,130,246,0.15), transparent); box-shadow: inset 0 0 40px rgba(59,130,246,0.10); }

.card-icon-wrap {
  position: relative;
  z-index: 1;
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-mc   .card-icon-wrap { background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.25); }
.card-host .card-icon-wrap { background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.25); }
.card-bot  .card-icon-wrap { background: rgba(167, 139, 250, 0.15); border: 1px solid rgba(167, 139, 250, 0.3); }
.card-table .card-icon-wrap { background: rgba(251, 146, 60, 0.12); border: 1px solid rgba(251, 146, 60, 0.25); }
.card-fivem .card-icon-wrap { background: rgba(59,130,246,0.13); border: 1px solid rgba(59,130,246,0.25); }

.card-icon { font-size: 1.8rem; line-height: 1; }

.card-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.card-mc    .card-tag { color: var(--clr-green); }
.card-host  .card-tag { color: var(--clr-cyan); }
.card-bot   .card-tag { color: var(--clr-dream); }
.card-table .card-tag { color: var(--clr-accent2); }
.card-fivem .card-tag { color: #3b82f6; }

.card-body h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.card-body p {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.65;
  flex: 1;
}

/* Card Link */
.card-link-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.link-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-muted);
  white-space: nowrap;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 7px 14px;
  color: var(--clr-muted);
  font-family: 'Nunito', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  text-align: left;
}
.link-btn:hover {
  background: rgba(184, 127, 254, 0.1);
  border-color: rgba(184, 127, 254, 0.3);
  color: var(--clr-dream);
}
.link-btn.revealed {
  background: rgba(74, 222, 128, 0.06);
  border-color: rgba(74, 222, 128, 0.2);
  color: var(--clr-green);
  cursor: pointer;
}
.link-dots { letter-spacing: 2px; }

/* Card Deco */
.card-deco {
  position: absolute;
  top: 16px; right: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0.15;
  font-size: 1.1rem;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.card:hover .card-deco { opacity: 0.35; }

/* ===== ABOUT ===== */
#about {
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.04), transparent);
}
.about-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.about-text {
  flex: 1;
}
.about-text .section-tag { margin-bottom: 16px; }
.about-text h2 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--clr-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.98rem;
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex-shrink: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 40px;
  background: rgba(20, 16, 34, 0.7);
  border: 1px solid rgba(184, 127, 254, 0.15);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 127, 254, 0.05), transparent);
}
.stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--clr-dream), var(--clr-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-muted);
  position: relative;
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(184, 127, 254, 0.1);
  padding: 60px 8vw;
  background: rgba(8, 6, 15, 0.8);
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 900;
}
.footer-tagline {
  color: var(--clr-muted);
  font-size: 0.92rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.footer-link-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--clr-muted);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}
.footer-link-btn:hover {
  background: rgba(184, 127, 254, 0.1);
  border-color: rgba(184, 127, 254, 0.35);
  color: var(--clr-dream);
}
.footer-copy {
  color: rgba(123, 111, 160, 0.5);
  font-size: 0.8rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reveal animation on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  #hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }
  .hero-visual {
    width: min(300px, 80vw);
  }
  .about-inner {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }
  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  #navbar { padding: 16px 24px; }
}

@media (max-width: 600px) {
  section { padding: 80px 6vw; }
  .cards-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* ===== AUTHOR BUTTON ===== */
.author-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--clr-dream), var(--clr-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  transition: filter 0.3s;
}
.author-btn::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(135deg, var(--clr-dream), var(--clr-accent));
  border-radius: 2px;
  opacity: 0.6;
}
.author-btn:hover { filter: brightness(1.3); }

/* ===== CONTACT POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 6, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.popup-card {
  position: relative;
  background: rgba(18, 14, 30, 0.95);
  border: 1px solid rgba(184, 127, 254, 0.25);
  border-radius: 28px;
  padding: 48px 44px 40px;
  max-width: 380px;
  width: 90vw;
  text-align: center;
  box-shadow: 0 0 80px rgba(124, 58, 237, 0.25), 0 0 0 1px rgba(184, 127, 254, 0.08);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.popup-overlay.open .popup-card {
  transform: translateY(0) scale(1);
}
.popup-close {
  position: absolute;
  top: 16px; right: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  width: 36px; height: 36px;
  color: var(--clr-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.popup-close:hover {
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.3);
  color: var(--clr-accent);
}
.popup-avatar {
  font-size: 3rem;
  margin-bottom: 16px;
  display: inline-block;
  animation: avatarBounce 2.5s ease-in-out infinite;
}
@keyframes avatarBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.popup-name {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--clr-dream), var(--clr-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.popup-sub {
  color: var(--clr-muted);
  font-size: 0.85rem;
  margin-bottom: 28px;
  line-height: 1.5;
}
.popup-hint {
  color: rgba(226, 217, 243, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.popup-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.popup-link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--clr-text);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}
.popup-link-icon { font-size: 1.2rem; }
.popup-link-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}
.popup-link-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(123, 111, 160, 0.95);
}
#insta-handle,
#email-display {
  font-size: 0.94rem;
  color: inherit;
}
.popup-arrow {
  margin-left: auto;
  font-size: 0.85rem;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}
.popup-link-btn:hover .popup-arrow { opacity: 1; transform: translate(3px, -3px); }
.popup-insta:hover {
  background: rgba(225, 48, 108, 0.1);
  border-color: rgba(225, 48, 108, 0.35);
  color: #e1306c;
}
.popup-email:hover {
  background: rgba(184, 127, 254, 0.1);
  border-color: rgba(184, 127, 254, 0.35);
  color: var(--clr-dream);
}
.popup-email.revealed {
  background: rgba(74, 222, 128, 0.06);
  border-color: rgba(74, 222, 128, 0.2);
  color: var(--clr-green);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(20, 16, 34, 0.95);
  border: 1px solid rgba(184, 127, 254, 0.3);
  color: var(--clr-text);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  backdrop-filter: blur(20px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s;
  opacity: 0;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
