/* ================================================================
   BANGER — The Legend Begins
   Landing page styles
   ---------------------------------------------------------------
   Sections:
     1. Design tokens
     2. Reset / base
     3. Ambient background (gradient, blur circles, particles, noise)
     4. Header + glass button
     5. Hero banner
     6. Title (BANGER wordmark)
     7. Comic panels
     8. Story
     9. Footer
    10. Responsive
    11. Reduced motion
   ================================================================ */


/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */
:root {
  /* Palette — Robinhood-inspired: pure black + neon acid green */
  --c-black:        #000000;
  --c-ink:          #050505;
  --c-charcoal:     #0E0E0E;
  --c-graphite:     #141414;
  --c-line:         rgba(200, 255, 0, 0.14);
  --c-muted:        #8A8F82;
  --c-white:        #F4F5EE;

  --c-neon:         #C8FF00;
  --c-neon-soft:    rgba(200, 255, 0, 0.55);
  --c-neon-deep:    #4A6600;
  --c-neon-glow:    rgba(200, 255, 0, 0.35);

  /* Typography */
  --f-display:  'Bangers', 'Bebas Neue', Impact, sans-serif;
  --f-head:     'Bebas Neue', Impact, sans-serif;
  --f-story:    'Comic Neue', 'Inter', system-ui, sans-serif;
  --f-ui:       'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --content-max: 850px;
  --hero-max:    1400px;
  --gutter:      1.5rem;

  /* Motion */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
}


/* ================================================================
   2. RESET / BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
 -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Focus ring — neon, keyboard-friendly */
:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ================================================================
   3. AMBIENT BACKGROUND
   ================================================================ */
.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* --- Moving gradient wash ---------------------------------------- */
.bg-gradient {
  background:
    radial-gradient(ellipse at 20% 0%,   rgba(200, 255, 0, 0.10), transparent 55%),
    radial-gradient(ellipse at 80% 40%,  rgba(74, 102, 0, 0.18),  transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(200, 255, 0, 0.08), transparent 60%),
    linear-gradient(180deg, #000 0%, #050505 50%, #000 100%);
  animation: bgShift 24s ease-in-out infinite alternate;
}

@keyframes bgShift {
  from { transform: translate3d(0, 0, 0)     scale(1); }
  to   { transform: translate3d(-2%, 1%, 0)  scale(1.03); }
}

/* --- Blurred neon orbs ------------------------------------------- */
.bg-blur-circles { overflow: hidden; }

.blur-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}

.blur-circle--1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--c-neon) 0%, transparent 70%);
  top: -180px; left: -180px;
  opacity: 0.32;
  animation: float1 22s ease-in-out infinite alternate;
}

.blur-circle--2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #7AFF3A 0%, transparent 70%);
  bottom: -160px; right: -160px;
  opacity: 0.25;
  animation: float2 28s ease-in-out infinite alternate;
}

.blur-circle--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--c-neon) 0%, transparent 70%);
  top: 45%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  animation: float3 18s ease-in-out infinite alternate;
}

@keyframes float1 { to { transform: translate(80px, 60px); } }
@keyframes float2 { to { transform: translate(-100px, -80px); } }
@keyframes float3 { to { transform: translate(-30%, -70%); } }

/* --- Floating particles (generated in JS) ------------------------ */
.bg-particles { overflow: hidden; }

.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--c-neon);
  border-radius: 50%;
  box-shadow:
    0 0 8px  var(--c-neon-soft),
    0 0 16px var(--c-neon-glow);
  opacity: 0;
  will-change: transform, opacity;
}

/* --- Noise film ------------------------------------------------- */
.bg-noise {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.04;
  mix-blend-mode: overlay;
}


/* ================================================================
   4. HEADER + GLASS BUTTON
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--gutter);
  transition:
    background 0.4s var(--ease-out),
    backdrop-filter 0.4s var(--ease-out),
    -webkit-backdrop-filter 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--c-line);
}

.site-header__inner {
  max-width: var(--hero-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
}

.site-header__logo img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 12px var(--c-neon-glow));
  transition:
    filter 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
   
}
.site-header__logo:hover img {
  filter: drop-shadow(0 0 20px var(--c-neon));
  transform: scale(1.04);
}

/* --- Glass "X" button -------------------------------------------- */
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--c-neon);
  background: rgba(200, 255, 0, 0.05);
  border: 1px solid var(--c-neon-soft);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 0.35s var(--ease-out),
    background 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.btn-glass:hover,
.btn-glass:focus-visible {
  color: var(--c-black);
  background: var(--c-neon);
  border-color: var(--c-neon);
  transform: translateY(-1px);
  box-shadow:
    0 0 32px var(--c-neon-glow),
    0 0 64px rgba(200, 255, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-glass__icon {
  width: 14px;
  height: 14px;
  display: inline-block;
}


/* ================================================================
   5. HERO — banner placeholder
   ================================================================ */
.hero {
  position: relative;
  z-index: 1;
  padding: 7.5rem var(--gutter) 2rem;
  display: flex;
  justify-content: center;
}

.hero__banner {
  max-width: var(--hero-max);
  width: 100%;
  border-radius: 24px;
  min-height: 280px;
  object-fit: cover;
  background: linear-gradient(180deg, var(--c-graphite), var(--c-ink));
  border: 1px solid var(--c-line);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(200, 255, 0, 0.08);
}


/* ================================================================
   6. TITLE — BANGER wordmark + tagline
   ================================================================ */
.title-section {
  position: relative;
  z-index: 1;
  padding: 4rem var(--gutter) 6rem;
  text-align: center;
}

.brand-title {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--c-neon);
  font-size: clamp(5rem, 18vw, 15rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow:
    0 0 24px rgba(200, 255, 0, 0.45),
    0 0 60px rgba(200, 255, 0, 0.20);
  display: inline-flex;
  overflow: hidden;      /* clip letter reveal */
  padding-bottom: 0.08em;
}

.brand-title__letter {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.brand-tagline {
  margin: 1.5rem 0 0;
  font-family: var(--f-head);
  color: var(--c-white);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.85;
}

.title-divider {
  width: 80px;
  height: 2px;
  margin: 2.5rem auto 0;
  background: linear-gradient(90deg, transparent, var(--c-neon), transparent);
  box-shadow: 0 0 12px var(--c-neon-glow);
}

/* Status pill — •ACTIVE */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.75rem auto 0;
  padding: 0.45rem 1rem 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(200, 255, 0, 0.06);
  border: 1px solid rgba(200, 255, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--f-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-neon);
}

.status-badge__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 8px var(--c-neon-soft);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.status-badge__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--c-neon);
  opacity: 0.5;
  animation: statusRing 1.8s ease-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 8px var(--c-neon-soft); }
  50%      { box-shadow: 0 0 16px var(--c-neon), 0 0 32px var(--c-neon-glow); }
}

@keyframes statusRing {
  0%   { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(2.4); opacity: 0; }
                   }
/* ================================================================
   7. COMIC — six panels, ~850px column
   ================================================================ */
.comic-section {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2rem var(--gutter) 6rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.comic-panel {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--c-graphite);
  border: 1px solid var(--c-line);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(200, 255, 0, 0.05),
    0 0 40px rgba(200, 255, 0, 0.08);
  transition:
    transform 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out);
  will-change: transform, opacity, filter;
  aspect-ratio: 4 / 3;    /* holds shape before image loads */
}

.comic-panel:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(200, 255, 0, 0.18),
    0 0 60px rgba(200, 255, 0, 0.22);
}

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


/* ================================================================
   8. STORY
   ================================================================ */
.story-section {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 4rem var(--gutter) 8rem;
  text-align: center;
}

.story-title {
  font-family: var(--f-head);
  color: var(--c-neon);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(200, 255, 0, 0.3);
}

.story-divider {
  width: 60px;
  height: 2px;
  margin: 2rem auto 3.5rem;
  background: var(--c-neon);
  box-shadow: 0 0 10px var(--c-neon-glow);
}

.story {
  font-family: var(--f-story);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.85;
  color: rgba(244, 245, 238, 0.86);
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}

.story__p {
  margin: 0 0 1.4rem;
  will-change: transform, opacity;
}

/* Big story beats get an extra breath */
.story__p--break { margin-top: 3rem; }

/* Whale mock — pulled quote */
.story__p--quote {
  font-style: italic;
  padding-left: 1.5rem;
  border-left: 2px solid var(--c-neon);
  color: var(--c-white);
  margin: 2rem 0;
}

/* "quiet, sunglasses down, chain glowing" — indented neon list */
.story__p--indent {
  padding-left: 2rem;
  color: var(--c-neon);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* The whispered name */
.story__p--shout {
  font-family: var(--f-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--c-neon);
  text-align: center;
  letter-spacing: 0.05em;
  margin: 3rem 0;
  text-shadow:
    0 0 24px rgba(200, 255, 0, 0.4),
    0 0 60px rgba(200, 255, 0, 0.2);
}

/* Closing line */
.story__p--final {
  margin-top: 2.5rem;
  font-weight: 700;
  color: var(--c-white);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  text-align: center;
}

/* ================================================================
   Ecosystem strip — partners rail above footer
   ================================================================ */
.ecosystem {
  position: relative;
  z-index: 1;
  max-width: var(--hero-max);
  margin: 0 auto;
  padding: 4rem var(--gutter) 5rem;
}

.ecosystem__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.ecosystem__label {
  margin: 0;
  font-family: var(--f-head);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-neon);
  opacity: 0.9;
}

.ecosystem__divider {
  width: 1px;
  height: 32px;
  background: var(--c-line);
}

.ecosystem__logos {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ecosystem__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(200, 255, 0, 0.04);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.ecosystem__item:hover {
  transform: translateY(-3px);
  border-color: var(--c-neon-soft);
  box-shadow: 0 0 24px var(--c-neon-glow);
}

.ecosystem__item img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .ecosystem__divider {
    width: 32px;
    height: 1px;
  }
  .ecosystem__inner { gap: 1.25rem; }
}

/* ================================================================
   9. FOOTER
   ================================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--c-line);
  padding: 2.5rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--hero-max);
  margin: 0 auto;
  font-family: var(--f-ui);
  font-size: 0.85rem;
  color: var(--c-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__mark { margin: 0; }

.site-footer__link {
  color: var(--c-neon);
  transition: opacity 0.3s var(--ease-out);
}
.site-footer__link:hover { opacity: 0.75; }


/* ================================================================
   10. RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero { padding-top: 7rem; }
  .comic-section { gap: 2.5rem; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --gutter: 1rem; }

  .site-header { padding: 0.9rem var(--gutter); }
  .site-header__logo img { height: 36px; }
  .btn-glass {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .hero { padding: 6rem var(--gutter) 1rem; }
  .hero__banner {
    border-radius: 16px;
    min-height: 200px;
  }

  .title-section { padding: 2.5rem var(--gutter) 4rem; }
  .brand-tagline { letter-spacing: 0.25em; }

  .comic-section {
    padding: 1rem var(--gutter) 4rem;
    gap: 2rem;
  }
  .comic-panel { border-radius: 16px; }

  .story-section { padding: 3rem var(--gutter) 5rem; }
  .story { line-height: 1.7; }
  .story__p--quote { padding-left: 1rem; }
  .story__p--indent { padding-left: 1.25rem; }

  .site-footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}


/* ================================================================
   11. REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bg-gradient,
  .blur-circle { animation: none; }
}

/* ============ CTA buttons ============ */
.cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    transform 0.35s var(--ease-out),
    background 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.cta__arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease-out);
}

.cta:hover .cta__arrow { transform: translateX(4px); }

.cta--primary {
  background: var(--c-neon);
  color: var(--c-black);
  border: 1px solid var(--c-neon);
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.35);
}

.cta--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 40px rgba(200, 255, 0, 0.6),
    0 0 80px rgba(200, 255, 0, 0.3);
}

.cta--secondary {
  background: transparent;
  color: var(--c-neon);
  border: 1px solid var(--c-neon-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cta--secondary:hover {
  background: rgba(200, 255, 0, 0.08);
  border-color: var(--c-neon);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.25);
}

@media (max-width: 480px) {
  .cta { padding: 0.8rem 1.4rem; font-size: 0.8rem; }
}

/* ============ Live stats ============ */
.stats {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 3rem auto 0;
  padding: 0 var(--gutter);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.stats__item {
  padding: 1.25rem 0.75rem;
  background: rgba(200, 255, 0, 0.03);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.stats__item:hover {
  border-color: var(--c-neon-soft);
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.1);
}

.stats__label {
  margin: 0 0 0.5rem;
  font-family: var(--f-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.stats__value {
  margin: 0;
  font-family: var(--f-head);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: 0.02em;
  color: var(--c-white);
  transition: color 0.4s var(--ease-out);
}

.stats__value--up   { color: var(--c-neon); }
.stats__value--down { color: #FF4A6E; }

.stats__updated {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}

@media (max-width: 640px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .stats__item { padding: 1rem 0.5rem; }
}
