/* ════════════════════════════════════════════════
   COCKROACH JANTA PARTY (CJP) - MAIN STYLESHEET
   Aesthetics: Matte Black, Crimson Red, Neon Gold, Metallic Silver
   Theme: Cyberpunk, Satirical, Rebel, Premium Web Design
   ════════════════════════════════════════════════ */

:root {
  --color-bg-darkest: #050505;
  --color-bg-dark: #0a0a0a;
  --color-bg-card: rgba(18, 18, 18, 0.75);
  --color-red: #ff2a3b;
  --color-red-glow: rgba(255, 42, 59, 0.5);
  --color-gold: #ffb700;
  --color-gold-glow: rgba(255, 183, 0, 0.4);
  --color-silver: #cccccc;
  --color-text-bright: #ffffff;
  --color-text-muted: #888888;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--color-bg-darkest);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-darkest);
}

::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-red);
  box-shadow: 0 0 10px var(--color-red-glow);
}

/* Typography & Neon Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--color-text-bright);
  font-weight: 700;
  letter-spacing: 1px;
}

.neon-word {
  color: var(--color-red);
  text-shadow: 0 0 10px var(--color-red-glow), 0 0 20px var(--color-red-glow);
}

/* ══════════════ LOADING SCREEN ══════════════ */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg-darkest);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.loader-content {
  position: relative;
  text-align: center;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  padding: 20px;
}

#loader-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.loader-text {
  margin-top: 20px;
}

.loader-text .glitch {
  font-size: 5rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--color-text-bright);
  position: relative;
  text-shadow: 0.05em 0 0 rgba(255, 0, 0, .75),
    -0.025em -0.05em 0 rgba(0, 255, 0, .75),
    0.025em 0.05em 0 rgba(0, 0, 255, .75);
  animation: glitch 1s infinite;
}

.loader-subtitle {
  font-family: var(--font-mono);
  color: var(--color-gold);
  margin-top: 10px;
  font-size: 1rem;
  letter-spacing: 2px;
}

.loader-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-red), var(--color-gold));
  box-shadow: 0 0 10px var(--color-red-glow);
  transition: width 0.1s linear;
}

.loader-swarm {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Glitch animation */
@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, .75), -0.05em -0.025em 0 rgba(0, 255, 0, .75);
  }

  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, .75), -0.05em -0.025em 0 rgba(0, 255, 0, .75);
  }

  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, .75), 0.025em 0.035em 0 rgba(0, 255, 0, .75);
  }

  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, .75), 0.025em 0.035em 0 rgba(0, 255, 0, .75);
  }

  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, .75), -0.025em 0.05em 0 rgba(0, 0, 255, .75);
  }

  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, .75), -0.025em 0.05em 0 rgba(0, 0, 255, .75);
  }

  100% {
    text-shadow: -0.025em 0 0 rgba(255, 0, 0, .75), -0.025em -0.025em 0 rgba(0, 255, 0, .75);
  }
}

/* ══════════════ TICKERS ══════════════ */
#news-ticker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: var(--color-red);
  color: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(255, 42, 59, 0.3);
}

.ticker-label {
  background: #000;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--color-gold);
  border-right: 2px solid var(--color-gold);
  z-index: 2;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  padding-left: 20px;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  padding-right: 100%;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Promises Ticker */
.promises-ticker-wrap {
  width: 100%;
  height: 40px;
  background: #111;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  overflow: hidden;
}

.promises-label {
  background: var(--color-bg-darkest);
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--color-red);
  font-weight: bold;
  border-right: 1px solid #222;
  white-space: nowrap;
  z-index: 2;
}

.promises-track {
  width: 100%;
  overflow: hidden;
}

.promises-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  padding-right: 100%;
}

/* ══════════════ NAVBAR ══════════════ */
#main-nav {
  top: 30px;
  /* Below the news ticker */
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  z-index: 999;
}

#main-nav.scrolled {
  background: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid rgba(255, 42, 59, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  font-size: 1.8rem;
  transform: rotate(-35deg);
  display: inline-block;
  animation: wisp 3s ease-in-out infinite alternate;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--color-text-bright), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.nav-link {
  color: var(--color-silver) !important;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 16px !important;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-text-bright) !important;
}

.nav-link:hover::after {
  width: calc(100% - 32px);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #000;
  background: var(--color-gold);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 0 15px var(--color-gold-glow);
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.nav-cta:hover {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 0 25px var(--color-gold-glow);
}

/* ══════════════ HERO SECTION ══════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 4% 80px 4%;
  background-color: var(--color-bg-darkest);
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particles-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.fog-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(255, 42, 59, 0.05), transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.newspaper-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/newspaper.png') repeat;
  opacity: 0.03;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 30px;
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 25px;
  backdrop-filter: blur(5px);
}

.badge-separator {
  opacity: 0.3;
  margin: 0 4px;
}

.badge-visitors {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gold);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 42, 59, 0.7);
  }

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

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 42, 59, 0);
  }
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.title-line {
  display: block;
}

.title-line-1 {
  background: linear-gradient(to right, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-line-2 {
  background: linear-gradient(to right, var(--color-red), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.9em;
}

.hero-slogan {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--color-gold);
  margin-bottom: 30px;
  min-height: 40px;
}

.typed-cursor {
  animation: blink 0.7s infinite;
  color: var(--color-red);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-divider {
  width: 80px;
  height: 4px;
  background: var(--color-red);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}

/* Glowing Buttons */
.btn-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  text-decoration: none;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-glow-primary {
  background: var(--color-red);
  color: #fff;
  border: 1px solid var(--color-red);
  box-shadow: 0 0 20px var(--color-red-glow);
}

.btn-glow-primary:hover {
  background: transparent;
  color: var(--color-red);
  box-shadow: 0 0 35px var(--color-red-glow);
  transform: translateY(-2px);
}

.btn-glow-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-glow-secondary:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Visitor Counter styles */
.visitor-counter {
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(255, 183, 0, 0.2);
  border-radius: 8px;
  padding: 15px 25px;
  max-width: 420px;
  backdrop-filter: blur(10px);
}

.counter-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-silver);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.counter-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-gold);
  text-shadow: 0 0 10px var(--color-gold-glow);
  margin: 5px 0;
}

.counter-live {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-red);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--color-red);
  border-radius: 50%;
  animation: pulse-red 1s infinite;
}

/* Original Photographic Cockroach in Hero */
.hero-cockroach-original {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 45%;
  height: 70%;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.original-roach-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 50px rgba(255, 42, 59, 0.25));
  transform-style: preserve-3d;
  transform: rotateZ(-15deg);
  will-change: transform;
}

@media (max-width: 991px) {
  #hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 150px;
  }

  .hero-content {
    margin: 0 auto;
    z-index: 10;
  }

  .hero-divider {
    margin: 25px auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .visitor-counter {
    margin: 0 auto;
  }

  .hero-cockroach-original {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    height: 320px;
    margin-top: 40px;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  z-index: 10;
}

.scroll-arrow {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-red), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background: #fff;
  animation: scroll-anim 2s infinite ease-in-out;
}

@keyframes scroll-anim {
  0% {
    transform: translateY(-100%);
  }

  80% {
    transform: translateY(200%);
  }

  100% {
    transform: translateY(200%);
  }
}

/* Siren lights */
.siren-left,
.siren-right {
  position: fixed;
  bottom: 0;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(120px);
  opacity: 0.15;
}

.siren-left {
  left: -10%;
  background: var(--color-red);
  animation: siren-pulse 4s infinite alternate;
}

.siren-right {
  right: -10%;
  background: var(--color-gold);
  animation: siren-pulse 4s infinite alternate-reverse;
}

@keyframes siren-pulse {
  0% {
    opacity: 0.1;
    transform: scale(1);
  }

  100% {
    opacity: 0.25;
    transform: scale(1.3);
  }
}

/* ══════════════ SECTION UTILS ══════════════ */
section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.section-header-wrap {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.section-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-gold);
  border: 1px solid rgba(255, 183, 0, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(255, 183, 0, 0.05);
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 15px;
}

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

/* Reveal Animation styles */
.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════ MANIFESTO SECTION ══════════════ */
.section-manifesto {
  background: radial-gradient(circle at 30% 20%, rgba(255, 42, 59, 0.04), transparent 50%);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* 3D Tilt Cards */
.manifesto-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px 30px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.manifesto-card:hover {
  border-color: rgba(255, 42, 59, 0.4);
  box-shadow: 0 15px 40px rgba(255, 42, 59, 0.15);
}

.card-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 15px;
  right: 20px;
  transition: var(--transition-smooth);
  user-select: none;
}

.manifesto-card:hover .card-number {
  color: rgba(255, 42, 59, 0.1);
  transform: translateZ(30px);
}

.card-icon {
  font-size: 2.2rem;
  color: var(--color-gold);
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.manifesto-card:hover .card-icon {
  color: var(--color-red);
  transform: translateZ(40px) scale(1.1);
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.manifesto-card:hover .card-content h3 {
  color: var(--color-text-bright);
  transform: translateZ(25px);
}

.card-content p {
  font-size: 0.95rem;
  color: var(--color-silver);
  margin-bottom: 0;
  transition: var(--transition-smooth);
}

.manifesto-card:hover .card-content p {
  color: #fff;
  transform: translateZ(20px);
}

.card-glow-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color 0.4s ease;
}

.manifesto-card:hover .card-glow-border {
  border-color: var(--color-red);
  box-shadow: inset 0 0 15px rgba(255, 42, 59, 0.1);
}

/* Card Roach Walker Track placeholder */
.card-cockroach-walker {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* ══════════════ WHY COCKROACHES NEVER DIE ══════════════ */
.section-why {
  background: linear-gradient(180deg, var(--color-bg-darkest) 0%, #0d0d0d 50%, var(--color-bg-darkest) 100%);
}

.hologram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px);
  pointer-events: none;
  z-index: 2;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.why-card {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 35px 25px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 183, 0, 0.3);
  box-shadow: 0 10px 30px rgba(255, 183, 0, 0.05);
}

.why-icon {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.why-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  min-height: 80px;
}

.why-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 8px;
}

.why-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--color-gold);
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed .why-bar-fill {
  width: var(--pct);
}

.why-pct {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-gold);
}

/* ══════════════ STATS SECTION ══════════════ */
.section-stats {
  background: #060606;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.stats-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 40px 20px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: rgba(255, 42, 59, 0.3);
  box-shadow: 0 10px 30px rgba(255, 42, 59, 0.08);
}

.stat-icon {
  font-size: 2.2rem;
  color: var(--color-red);
  margin-bottom: 15px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-text-bright);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  margin-bottom: 5px;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 5px;
}

/* ══════════════ TIMELINE SECTION ══════════════ */
.section-timeline {
  background: var(--color-bg-darkest);
}

.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-red), var(--color-gold), transparent);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  z-index: 2;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-darkest);
  border: 2px solid var(--color-red);
  box-shadow: 0 0 10px var(--color-red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1rem;
  z-index: 3;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
  background: var(--color-red);
  color: #fff;
  transform: scale(1.1);
}

.timeline-card {
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-card {
  border-color: rgba(255, 183, 0, 0.3);
  box-shadow: 0 10px 30px rgba(255, 183, 0, 0.05);
}

.tl-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-red);
  margin-bottom: 5px;
}

.timeline-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--color-silver);
  margin-bottom: 0;
}

.timeline-left {
  left: 0;
  text-align: right;
}

.timeline-left .timeline-dot {
  right: -20px;
}

.timeline-right {
  left: 50%;
}

.timeline-right .timeline-dot {
  left: -20px;
}

@media (max-width: 767px) {
  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-dot {
    left: 0 !important;
    right: auto !important;
  }

  .timeline-right {
    left: 0;
  }
}

/* ══════════════ COCKROACH COLONY SECTION ══════════════ */
.section-colony {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.colony-arena {
  width: 100%;
  height: 450px;
  position: relative;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

#colony-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.colony-overlay-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #222;
  padding: 8px 20px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-gold);
  pointer-events: none;
  letter-spacing: 1px;
}

/* ══════════════ JOIN THE RESISTANCE ══════════════ */
.section-join {
  background: radial-gradient(circle at 70% 80%, rgba(255, 183, 0, 0.03), transparent 60%);
}

.join-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  backdrop-filter: blur(15px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 575px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
  margin-bottom: 25px;
}

@media (max-width: 575px) {
  .form-group.full-width {
    grid-column: span 1;
  }
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cjp-input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.cjp-input:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 10px var(--color-red-glow);
  background: rgba(255, 255, 255, 0.05);
}

select.cjp-input option {
  background: var(--color-bg-darkest);
  color: #fff;
}

.form-success {
  margin-top: 20px;
  background: rgba(255, 183, 0, 0.1);
  border: 1px solid var(--color-gold);
  padding: 15px;
  border-radius: 4px;
  color: var(--color-gold);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  display: none;
  text-align: center;
}

/* ══════════════ FOOTER ══════════════ */
.site-footer {
  background: #040404;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 80px 0 30px 0;
  position: relative;
  overflow: hidden;
}

.footer-roaches {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 50px;
  margin-bottom: 50px;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-red);
  text-shadow: 0 0 10px var(--color-red-glow);
  margin-bottom: 15px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-silver);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
  box-shadow: 0 0 15px var(--color-red-glow);
  transform: translateY(-3px);
}

.footer-links h5,
.footer-disclaimer h5 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--color-gold);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: var(--color-text-bright);
  padding-left: 5px;
}

.footer-disclaimer p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-meme {
  font-family: var(--font-mono);
  color: var(--color-gold);
}

@media (max-width: 575px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════ COCKROACH ANIMATION SYSTEM ══════════════ */

/* JS Generated Crawling Cockroach */
.crawling-roach {
  position: absolute;
  width: 48px;
  height: 48px;
  pointer-events: auto;
  z-index: 100;
  transform-origin: center center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s linear;
}

/* Flying cockroach jump-scare style */
.flying-roach {
  position: fixed;
  font-size: 3.5rem;
  z-index: 99999;
  display: none;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* Ambient Edge Cockroaches */
.edge-roaches-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

.edge-roach {
  position: absolute;
  font-size: 1rem;
  filter: drop-shadow(0 0 3px rgba(255, 183, 0, 0.8));
  pointer-events: none;
}

/* Keyframes for brand icon wiggle */
@keyframes wisp {
  0% {
    transform: rotate(-35deg) scale(1);
  }

  100% {
    transform: rotate(-10deg) scale(1.15);
  }
}

/* ══════════════ WEBLANCER TECHNOLOGIES CREDITS BADGE ══════════════ */
.weblancer-badge {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 183, 0, 0.25);
  padding: 10px 18px;
  border-radius: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 183, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.weblancer-badge:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--color-red);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--color-red-glow);
}

.badge-roach-img {
  width: 26px;
  height: 26px;
  background-image: url('../images/cockroach.png?v=2');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 4px var(--color-gold-glow));
  transition: all 0.3s ease;
}

.weblancer-badge:hover .badge-roach-img {
  transform: rotate(20deg) scale(1.15);
  filter: drop-shadow(0 0 6px var(--color-red-glow));
}

.badge-text {
  color: var(--color-silver);
}

.weblancer-badge a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.weblancer-badge a:hover {
  color: var(--color-red);
  text-shadow: 0 0 8px var(--color-red-glow);
}

@media (max-width: 575px) {
  .weblancer-badge {
    bottom: 15px;
    left: 15px;
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .badge-roach-img {
    width: 20px;
    height: 20px;
  }
}

/* Comprehensive Mobile Responsiveness Fixes */
@media (max-width: 767px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .manifesto-card {
    padding: 25px 20px;
  }

  .card-number {
    font-size: 3rem;
  }

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

  .colony-arena {
    height: 350px;
  }

  /* Prevent edge roaches from covering text on narrow screens */
  .edge-roaches-container {
    opacity: 0.3;
    pointer-events: none;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-slogan {
    font-size: 1.1rem;
  }

  .hero-cockroach-original {
    height: 220px;
    margin-top: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .btn-glow {
    width: 100%;
  }

  .visitor-counter {
    margin: 20px 20px 0;
    padding: 12px 15px;
  }

  .counter-value {
    font-size: 1.8rem;
  }

  .join-form-wrap {
    padding: 25px 20px;
  }
}