/* ============================================================
   Baby Black Bull — $BANSEM
   Neon green · Glassmorphism · Parallax · Media
   ============================================================ */

:root {
  --bg: #050806;
  --bg-2: #0a0f0b;
  --ink: #eafff0;
  --ink-soft: #9fb6a6;
  --green: #39ff5e;
  --green-soft: #8dffa3;
  --green-deep: #0fd14a;
  --red: #ff3b3b;
  --line: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(18, 30, 22, 0.35);
  --glass-border: rgba(57, 255, 94, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --glow: 0 0 30px rgba(57, 255, 94, 0.45);
  --radius: 22px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

html.has-scroll-smooth { overflow: hidden; }
html.has-scroll-smooth body { overflow: hidden; }
[data-scroll-container] { min-height: 100vh; }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

::selection { background: var(--green); color: #000; }

/* ---------- Background layers ---------- */
.bg-glow,
.bg-noise { position: fixed; inset: 0; pointer-events: none; }

.bg-glow {
  z-index: -2;
  filter: blur(100px);
  opacity: 0.5;
  border-radius: 50%;
}
.glow-1 {
  width: 50vw; height: 50vw;
  top: -12vw; left: -12vw;
  background: radial-gradient(circle, var(--green-deep), transparent 70%);
}
.glow-2 {
  width: 45vw; height: 45vw;
  bottom: -15vw; right: -10vw;
  background: radial-gradient(circle, #0a8f3a, transparent 70%);
  opacity: 0.4;
}
.bg-noise {
  z-index: -1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Glass utility ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow);
}

/* ---------- Layout ---------- */
.container { width: min(var(--maxw), 90vw); margin: 0 auto; }
.section { position: relative; padding: clamp(90px, 14vh, 180px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
  text-shadow: 0 0 18px rgba(57, 255, 94, 0.5);
}

.title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(var(--maxw), 92vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 14px 10px 14px;
  border-radius: 999px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow);
}
.nav__name { font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; }
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}
.nav__links a:hover { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--green-soft), var(--green-deep));
  color: #042a10;
  box-shadow: 0 14px 34px rgba(57, 255, 94, 0.35);
}
.btn--primary:hover { box-shadow: 0 20px 48px rgba(57, 255, 94, 0.55); }

.btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border);
  color: var(--ink);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--secondary:hover { background: rgba(57, 255, 94, 0.12); border-color: var(--green); }

.btn--ghost {
  padding: 10px 18px;
  font-size: 0.85rem;
  border-color: var(--glass-border);
  color: var(--green-soft);
}
.btn--ghost:hover { background: rgba(57, 255, 94, 0.12); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 40%, rgba(5, 8, 6, 0.25), rgba(5, 8, 6, 0.85) 75%),
    linear-gradient(180deg, rgba(5, 8, 6, 0.4), var(--bg) 95%);
}
.hero__parallax {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.hero__ghost-text {
  font-family: "Anton", sans-serif;
  font-size: 32vw;
  line-height: 1;
  color: rgba(57, 255, 94, 0.05);
  white-space: nowrap;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 6vw;
}

.hero__pill {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.hero__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.85;
}
.hero__line { display: block; font-size: clamp(3.4rem, 13vw, 11rem); }
.hero__line--accent {
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--green) 55%, var(--green-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(57, 255, 94, 0.45));
}

.hero__tagline {
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--ink-soft);
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Floating hero image */
.hero__hero-img {
  position: absolute;
  right: 4vw;
  bottom: 0;
  width: clamp(180px, 22vw, 340px);
  border-radius: 22px 22px 0 0;
  z-index: 2;
  opacity: 0.92;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 60px rgba(57, 255, 94, 0.25);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}

/* CA copy box */
.ca {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 30px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ca:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: var(--glow); }
.ca__label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ca__value {
  font-family: "Anton", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--green-soft);
}
.ca__hint { font-size: 0.7rem; color: var(--ink-soft); opacity: 0.7; }

.hero__scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  z-index: 3;
}
.hero__scroll-bar {
  width: 1px; height: 46px;
  background: linear-gradient(var(--green), transparent);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- ABOUT ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.about__glow {
  position: absolute;
  inset: -10% -10% -10% -10%;
  z-index: -1;
  background: radial-gradient(circle, rgba(57, 255, 94, 0.35), transparent 65%);
  filter: blur(40px);
}
.about__text p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 18px; }
.about__text strong { color: var(--green-soft); }
.about__text .title { margin-top: 6px; }

/* Marquee */
.marquee {
  margin-top: clamp(60px, 10vh, 120px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.marquee__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-x 26s linear infinite;
}
.marquee__track span {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.12);
}
.marquee__track span:nth-child(odd) { color: var(--green-soft); opacity: 0.85; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- STORY ---------- */
.story__head { margin-bottom: clamp(40px, 7vh, 80px); }
.story__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  padding: 0 0 30px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: var(--glow);
}
.card__img {
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}
.card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__img img { transform: scale(1.08); }
.card__num {
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  color: var(--green);
  display: block;
  margin: 22px 30px 8px;
}
.card h3 { font-size: 1.4rem; margin: 0 30px 8px; }
.card p { color: var(--ink-soft); margin: 0 30px; }

/* ---------- GALLERY ---------- */
.gallery__head { margin-bottom: clamp(40px, 7vh, 70px); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery__item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 rgba(57, 255, 94, 0);
  transition: box-shadow 0.4s var(--ease);
  pointer-events: none;
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { box-shadow: inset 0 0 0 2px rgba(57, 255, 94, 0.7); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- CLIPS ---------- */
.clips__head { margin-bottom: clamp(40px, 7vh, 70px); }
.clips__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.clip {
  border-radius: var(--radius);
  overflow: hidden;
  padding: 8px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.clip:hover { transform: translateY(-5px); box-shadow: var(--glow); }
.clip video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
}

/* ---------- TOKENOMICS ---------- */
.tokenomics__head { margin-bottom: clamp(40px, 7vh, 80px); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat {
  padding: 34px 26px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--glow); }
.stat__value {
  font-family: "Anton", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--green-soft);
}
.stat__label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- CTA + FOOTER ---------- */
.cta__inner {
  text-align: center;
  padding: clamp(50px, 8vh, 90px) 6vw;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta__img {
  width: 130px; height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--green);
  box-shadow: var(--glow);
}
.cta__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.9;
}
.cta__text { color: var(--ink-soft); max-width: 520px; font-size: 1.1rem; }

.footer {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 120px);
  background: linear-gradient(135deg, var(--green-soft), var(--green-deep));
  color: #042a10;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  z-index: 100;
  box-shadow: 0 14px 34px rgba(57, 255, 94, 0.45);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 30px; }
  .story__steps { grid-template-columns: 1fr; }
  .clips__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero__hero-img { display: none; }
}
@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 1; }
  .nav { padding: 8px 12px; }
  .nav__name { display: none; }
  .hero__actions { width: 100%; }
  .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
