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

:root {
  --gold: #d4af37;
  --gold-bright: #ffd700;
  --gold-dark: #8b6914;
  --gold-muted: #b8962e;
  --primary-color: var(--gold);
  --secondary-color: var(--gold-dark);
  --dark-bg: #0a0806;
  --darker-bg: #050403;
  --text-color: #f5f0e8;
  --text-secondary: #9a9080;
  --accent-color: var(--gold-bright);
  --money-green: var(--gold);
  --glass: rgba(212, 175, 55, 0.07);
  --glass-border: rgba(212, 175, 55, 0.22);
  --glow: 0 0 30px rgba(212, 175, 55, 0.35);
  --glow-strong: 0 0 50px rgba(255, 215, 0, 0.5);
  --nav-height: 70px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  overflow-x: hidden;
  padding-top: 30px;
  padding-bottom: 48px;
}

.brush-text {
  font-family: "Permanent Marker", cursive;
  color: var(--gold-bright);
  text-shadow: 0 2px 20px rgba(212, 175, 55, 0.5);
}

/* ── Background effects ── */
.smoke-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 75% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(139, 105, 20, 0.06) 0%, transparent 55%),
    var(--dark-bg);
}

.candle-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.scroll-progress {
  position: fixed;
  top: 30px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright), var(--gold-dark));
  z-index: 10002;
  box-shadow: 0 0 8px var(--gold);
}

/* ── Ticker ── */
.crime-ticker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  overflow: hidden;
  background: rgba(5, 4, 3, 0.95);
  border-bottom: 1px solid var(--glass-border);
  z-index: 10001;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker-item {
  padding: 0 2rem;
  color: var(--gold);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  line-height: 30px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Navigation ── */
.main-nav {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 0 5%;
  transition: background 0.3s, backdrop-filter 0.3s, border 0.3s;
}

.main-nav.scrolled {
  background: rgba(5, 4, 3, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  box-shadow: var(--glow);
  object-fit: cover;
}

.nav-logo span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: var(--gold-bright);
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.nav-buy {
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--darker-bg);
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--glow);
}

.nav-buy:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-strong);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  z-index: 2;
}

.hero-banner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-banner-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 4, 3, 0.3) 0%, rgba(5, 4, 3, 0.85) 70%, var(--dark-bg) 100%),
    linear-gradient(to right, rgba(5, 4, 3, 0.7) 0%, transparent 40%, rgba(5, 4, 3, 0.5) 100%);
}

.hero-body {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 60px) 5% 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 100vh;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo-main {
  width: min(320px, 80vw);
  border-radius: 12px;
  border: 2px solid var(--glass-border);
  box-shadow: var(--glow-strong);
  margin-bottom: 1.5rem;
}

.hero-quote {
  font-family: "Permanent Marker", cursive;
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ── Stats ── */
.crime-stats-chaos {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-chaos {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  min-width: 120px;
  text-align: center;
}

.stat-label-crazy {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.stat-value-crazy {
  display: block;
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.loading {
  opacity: 0.5;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ── Buttons ── */
.cta-buttons-chaos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-chaos {
  position: relative;
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  overflow: hidden;
}

.btn-chaos::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}

.btn-chaos:hover::before {
  left: 100%;
}

.btn-ape {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-bright));
  border: 1px solid var(--gold);
  box-shadow: var(--glow);
}

.btn-ape:hover {
  box-shadow: var(--glow-strong);
  transform: translateY(-2px);
}

.btn-chart {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.btn-chart:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-text-main {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
}

.btn-ape .btn-text-main {
  color: var(--darker-bg);
}

.btn-chart .btn-text-main {
  color: var(--gold-bright);
}

/* ── Chart panel ── */
.hero-chart-panel {
  display: flex;
  justify-content: center;
}

.hero-chart {
  width: 100%;
  max-width: 480px;
  height: 340px;
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--glow);
}

#crimeChart {
  width: 100%;
  height: 100%;
}

.explosion-candles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.explosive-candle {
  position: absolute;
  bottom: 0;
  width: 8px;
  background: var(--gold-bright);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  animation: explodeUp 3s ease-out infinite;
}

@keyframes explodeUp {
  0% { height: 50px; bottom: 0; opacity: 0.3; }
  50% { height: 200px; opacity: 1; box-shadow: 0 0 30px rgba(255, 215, 0, 0.8); }
  100% { height: 300px; bottom: 200px; opacity: 0; transform: scaleX(1.5); }
}

.chart-label {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 2px;
}

/* ── Manifesto ── */
.manifesto {
  padding: 80px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(5, 4, 3, 0.6);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.manifesto-card {
  padding: 2rem;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.manifesto-card:hover {
  border-color: var(--gold);
  box-shadow: var(--glow);
}

.manifesto-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  color: var(--gold-dark);
  opacity: 0.5;
}

.manifesto-card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: var(--gold-bright);
  letter-spacing: 2px;
  margin: 0.5rem 0;
}

.manifesto-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Sections ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 4px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
  box-shadow: var(--glow);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ── About ── */
.about-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-logo-wrap {
  display: flex;
  justify-content: center;
}

.about-logo {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  border: 2px solid var(--glass-border);
  box-shadow: var(--glow-strong);
}

.twitter-embed-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.twitter-embed-wrapper .twitter-tweet {
  margin: 0 auto !important;
}

.twitter-embed-wrapper iframe {
  margin: 0 auto !important;
  display: block;
}

/* ── Tokenomics ── */
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.token-detail {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.token-detail:hover {
  border-color: var(--gold);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.token-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.token-detail h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.token-detail p {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.contract-address {
  font-size: 0.85rem !important;
  word-break: break-all;
  font-family: monospace;
  color: var(--gold) !important;
}

.copy-btn {
  margin-top: 1rem;
  padding: 0.45rem 1.2rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.copy-btn:hover {
  background: var(--gold);
  color: var(--darker-bg);
}

/* ── Community ── */
.community-section {
  padding: 0;
}

.community-inner {
  position: relative;
  overflow: hidden;
}

.community-banner-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.45);
}

.community-cta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(5, 4, 3, 0.9), rgba(5, 4, 3, 0.3));
  padding: 2rem;
  text-align: center;
}

.community-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.community-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.community-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Riders ── */
.riders-section {
  background: rgba(5, 4, 3, 0.5);
  border-top: 1px solid var(--glass-border);
}

.riders-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.rider {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1.2rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.rider:hover {
  border-color: var(--gold);
  box-shadow: var(--glow);
}

.rider-name {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  color: var(--gold-bright);
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}

.rider-status {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ── Footer ── */
.site-footer {
  background: var(--darker-bg);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 5% 5rem;
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.footer-brand span {
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ── Bottom ticker ── */
.bottom-chaos {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 4, 3, 0.97);
  border-top: 1px solid var(--glass-border);
  z-index: 1000;
  overflow: hidden;
  padding: 8px 0;
}

.bottom-ticker {
  display: flex;
  white-space: nowrap;
  animation: bottomTicker 30s linear infinite;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 2px;
}

.bottom-ticker span {
  padding-right: 4rem;
  flex-shrink: 0;
}

@keyframes bottomTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--gold);
  color: var(--darker-bg);
  padding: 0.7rem 1.8rem;
  border-radius: 4px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  z-index: 10003;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: var(--glow-strong);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mute (hidden, kept for compat) ── */
.mute-button {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-body {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-height) + 40px);
    min-height: auto;
  }

  .hero-banner {
    position: relative;
    height: 220px;
  }

  .hero-banner-vignette {
    background: linear-gradient(to bottom, transparent, var(--dark-bg));
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .about-showcase {
    grid-template-columns: 1fr;
  }

  .riders-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .tokenomics-grid {
    grid-template-columns: 1fr;
  }

  .crime-stats-chaos {
    flex-direction: column;
    align-items: center;
  }

  .community-banner-img {
    height: 320px;
  }
}
