/* =========================================================
   CYBERBULL — pixel-powered BNB Smart Chain theme
   ========================================================= */

:root {
  --gold: #f0b90b;
  --gold-deep: #ad7d0a;
  --gold-light: #ffd75e;
  --cyan: #4be3ff;
  --bg: #0a0906;
  --bg-alt: #100d07;
  --panel: #171208;
  --panel-line: #2c2210;
  --text: #f4ecd8;
  --text-dim: #b8ac8e;
  --danger: #ff5566;
  --font-pixel: "Press Start 2P", monospace;
  --font-body: "VT323", monospace;
  --pixel-corner: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.55;
  overflow-x: hidden;
  image-rendering: pixelated;
}

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

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

h1, h2, h3 {
  font-family: var(--font-pixel);
  line-height: 1.4;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

.section__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Pixel corner helper: chunky stepped notches on each corner */
.pixel-corners {
  clip-path: polygon(
    0 12px, 12px 12px, 12px 0,
    calc(100% - 12px) 0, calc(100% - 12px) 12px, 100% 12px,
    100% calc(100% - 12px), calc(100% - 12px) calc(100% - 12px), calc(100% - 12px) 100%,
    12px 100%, 12px calc(100% - 12px), 0 calc(100% - 12px)
  );
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 13px;
  padding: 16px 22px;
  border: 3px solid var(--gold-deep);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  clip-path: polygon(
    0 8px, 8px 8px, 8px 0,
    calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px,
    100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%,
    8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px)
  );
}

.btn--primary {
  background: var(--gold);
  color: #171000;
  box-shadow: 4px 4px 0 #000;
}

.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

.btn--ghost {
  background: #000;
  color: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 4px 4px 0 rgba(240, 185, 11, 0.25);
}

.btn--ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(240, 185, 11, 0.35);
}

.btn--small {
  font-size: 11px;
  padding: 10px 14px;
}

/* =================== NAV =================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 6, 0.88);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--gold-deep);
}

.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-pixel);
  font-size: 14px;
  letter-spacing: 1px;
  margin-right: auto;
}

.nav__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  image-rendering: pixelated;
}

.nav__brand em {
  color: var(--gold);
  font-style: normal;
}

.nav__links {
  display: flex;
  gap: 22px;
  font-family: var(--font-pixel);
  font-size: 11px;
}

.nav__links a {
  color: var(--text-dim);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}

.nav__cta {
  white-space: nowrap;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  width: 24px;
  height: 3px;
  background: var(--gold);
}

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
  isolation: isolate;
}

.hero__banner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: -3;
  filter: saturate(1.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(10, 9, 6, 0.35) 0%, rgba(10, 9, 6, 0.86) 62%, var(--bg) 100%);
}

.hero__scan {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0px,
    rgba(0, 0, 0, 0.18) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.5;
}

.tag-pill {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid var(--gold);
  padding: 8px 16px;
  display: inline-block;
  margin-bottom: 26px;
}

.hero__title {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  color: var(--gold);
  text-shadow: 4px 4px 0 #000, 0 0 30px rgba(240, 185, 11, 0.5);
  letter-spacing: 2px;
}

.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: var(--gold);
}

.glitch::before {
  color: var(--cyan);
  clip-path: inset(0 0 55% 0);
  animation: glitchTop 4.5s infinite linear;
}

.glitch::after {
  color: var(--danger);
  clip-path: inset(55% 0 0 0);
  animation: glitchBottom 4.5s infinite linear;
}

@keyframes glitchTop {
  0%, 92%, 100% { transform: translate(0, 0); opacity: 0; }
  93% { transform: translate(-3px, -1px); opacity: 0.8; }
  95% { transform: translate(3px, 1px); opacity: 0.8; }
  97% { transform: translate(-2px, 0); opacity: 0; }
}

@keyframes glitchBottom {
  0%, 90%, 100% { transform: translate(0, 0); opacity: 0; }
  91% { transform: translate(3px, 1px); opacity: 0.8; }
  94% { transform: translate(-3px, -1px); opacity: 0.8; }
  96% { transform: translate(2px, 0); opacity: 0; }
}

.hero__subtitle {
  max-width: 620px;
  margin: 22px auto 34px;
  font-size: 1.35rem;
  color: var(--text-dim);
}

.hero__subtitle strong {
  color: var(--gold-light);
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero__character {
  position: relative;
  margin-top: 44px;
  width: min(60vw, 420px);
}

.hero__bull {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.65));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.glow-orb {
  position: absolute;
  inset: 10% -20%;
  z-index: 1;
  background: radial-gradient(circle, rgba(75, 227, 255, 0.35) 0%, rgba(240, 185, 11, 0.18) 45%, transparent 72%);
  filter: blur(6px);
  animation: pulse 4s ease-in-out infinite;
}

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

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* =================== MARQUEE =================== */
.marquee {
  background: var(--gold);
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  overflow: hidden;
  padding: 12px 0;
}

.marquee__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: scroll 22s linear infinite;
  font-family: var(--font-pixel);
  font-size: 13px;
  color: #171000;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =================== SECTIONS =================== */
.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 3px solid var(--panel-line);
  border-bottom: 3px solid var(--panel-line);
}

.section__title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 30px;
  text-shadow: 3px 3px 0 #000;
}

.section__title span {
  color: var(--cyan);
  margin-right: 10px;
}

.section__title--center {
  text-align: center;
}

.section__lede {
  text-align: center;
  max-width: 560px;
  margin: -10px auto 50px;
  color: var(--text-dim);
  font-size: 1.3rem;
}

/* ---- About ---- */
.about {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
}

.pixel-frame {
  background: var(--panel);
  border: 3px solid var(--gold-deep);
  padding: 18px;
  box-shadow: 8px 8px 0 #000;
}

.pixel-frame img {
  width: 100%;
}

.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
}

.feature-list__icon {
  font-size: 1.2rem;
}

/* ---- Stats ---- */
.stats {
  background: #000;
  padding: 50px 0;
  border-bottom: 3px solid var(--panel-line);
}

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

.stat-card {
  text-align: center;
  border: 2px solid var(--panel-line);
  padding: 26px 12px;
  background: var(--panel);
}

.stat-card__value {
  display: block;
  font-family: var(--font-pixel);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.stat-card__label {
  color: var(--text-dim);
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- Tokenomics ---- */
.token-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
  justify-items: center;
}

.token-chart {
  position: relative;
  width: 240px;
  height: 240px;
}

.donut {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut__ring {
  stroke: var(--panel-line);
  stroke-width: 4.5;
}

.donut__seg {
  stroke-width: 4.5;
  stroke-linecap: butt;
}

.donut__seg--1 { stroke: var(--gold); }
.donut__seg--2 { stroke: var(--cyan); }
.donut__seg--3 { stroke: var(--gold-light); }

.token-chart__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.token-chart__center strong {
  font-family: var(--font-pixel);
  color: var(--gold);
  font-size: 1.3rem;
}

.token-chart__center span {
  color: var(--text-dim);
  font-size: 1rem;
}

.token-legend {
  width: 100%;
  max-width: 420px;
}

.token-legend__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--panel-line);
  font-size: 1.2rem;
}

.dot {
  width: 14px;
  height: 14px;
  flex: none;
}

.dot--1 { background: var(--gold); }
.dot--2 { background: var(--cyan); }
.dot--3 { background: var(--gold-light); }

.token-legend__name {
  flex: 1;
  color: var(--text-dim);
}

.token-legend__pct {
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  color: var(--gold);
}

.tax-box {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.tax-box__col {
  flex: 1;
  text-align: center;
  background: var(--panel);
  border: 2px solid var(--panel-line);
  padding: 16px 8px;
}

.tax-box__value {
  display: block;
  font-family: var(--font-pixel);
  color: var(--cyan);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.tax-box__label {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ---- Roadmap ---- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.roadmap__item {
  position: relative;
}

.roadmap__marker {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: #000;
  background: var(--panel-line);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.roadmap__item--done .roadmap__marker {
  background: var(--gold);
}

.roadmap__item--active .roadmap__marker {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(75, 227, 255, 0.25);
}

.roadmap__card {
  background: var(--panel);
  border: 2px solid var(--panel-line);
  padding: 20px;
  min-height: 150px;
}

.roadmap__item--active .roadmap__card {
  border-color: var(--cyan);
}

.roadmap__card h3 {
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.roadmap__card p {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin: 0;
}

/* ---- How To Buy ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 46px;
}

.step-card {
  background: var(--panel);
  border: 2px solid var(--panel-line);
  padding: 26px 20px;
  text-align: center;
}

.step-card__num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  background: var(--gold);
  color: #171000;
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin: 0;
}

.cta-center {
  text-align: center;
}

/* ---- Footer ---- */
.footer {
  background: #000;
  padding: 60px 0 30px;
  text-align: center;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  text-align: left;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--panel-line);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer__brand strong {
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--gold);
}

.footer__brand p {
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 1rem;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 10px;
  border: 2px solid var(--gold-deep);
  color: var(--gold-light);
  transition: all 0.15s ease;
}

.social-btn:hover {
  background: var(--gold);
  color: #171000;
  transform: translateY(-3px);
}

.footer__legal {
  max-width: 640px;
  margin: 26px auto 0;
  color: var(--text-dim);
  font-size: 0.95rem;
  padding: 0 24px;
}

.footer__copy {
  color: #665f4a;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pixel-frame {
    max-width: 280px;
    margin: 0 auto;
  }
  .feature-list li {
    justify-content: center;
  }
  .token-grid {
    grid-template-columns: 1fr;
  }
  .roadmap,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .nav.nav--open .nav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 3px solid var(--gold-deep);
    gap: 16px;
  }
  .nav.nav--open .nav__cta {
    display: none;
  }
  .roadmap,
  .steps {
    grid-template-columns: 1fr;
  }
  body {
    font-size: 18px;
  }
}
