@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Bebas+Neue&family=Space+Mono:wght@400;700&display=swap');

:root {
  --red: #ff1a1a;
  --dark-red: #8b0000;
  --neon-red: #ff0033;
  --black: #050505;
  --off-white: #f0e6d3;
  --gold: #ffd700;
  --glass: rgba(255, 26, 26, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: 'Space Mono', monospace;
  overflow-x: hidden;
  cursor: crosshair;
}

/* ─── SCROLLING BACKGROUND TEXT ─── */
.bg-scroll-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0.055;
}

.bg-row {
  display: flex;
  white-space: nowrap;
  font-family: 'Bangers', cursive;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.06em;
  color: var(--red);
  line-height: 1.1;
  will-change: transform;
}

.bg-row:nth-child(odd) { animation: scrollLeft 22s linear infinite; }
.bg-row:nth-child(even) { animation: scrollRight 18s linear infinite; }
.bg-row:nth-child(3n) { color: var(--off-white); animation-duration: 26s; }
.bg-row:nth-child(5n) { color: var(--gold); animation-duration: 20s; }

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

/* ─── MAIN CONTENT ─── */
.site-wrapper {
  position: relative;
  z-index: 1;
}

/* ─── HERO SECTION ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139,0,0,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.logo-wrap {
  width: clamp(120px, 22vw, 260px);
  height: clamp(120px, 22vw, 260px);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--red);
  box-shadow: 0 0 40px var(--red), 0 0 80px rgba(255,0,51,0.4), inset 0 0 30px rgba(0,0,0,0.5);
  margin-bottom: 1.5rem;
  animation: pulseGlow 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 40px var(--red), 0 0 80px rgba(255,0,51,0.4); }
  50% { box-shadow: 0 0 60px var(--red), 0 0 120px rgba(255,0,51,0.6), 0 0 160px rgba(255,0,51,0.2); }
}

.hero-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(3rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--off-white);
  text-shadow: 6px 6px 0 var(--red), 10px 10px 0 var(--dark-red), 0 0 60px rgba(255,26,26,0.5);
  margin-bottom: 0.5rem;
  animation: titleShake 8s ease-in-out infinite;
}

.hero-title span {
  color: var(--red);
  display: block;
}

@keyframes titleShake {
  0%, 90%, 100% { transform: translateX(0) rotate(0deg); }
  92% { transform: translateX(-3px) rotate(-0.5deg); }
  94% { transform: translateX(3px) rotate(0.5deg); }
  96% { transform: translateX(-2px) rotate(-0.3deg); }
  98% { transform: translateX(2px) rotate(0.3deg); }
}

.hero-ticker {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px var(--gold);
}

.hero-desc {
  max-width: 580px;
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  line-height: 1.7;
  color: rgba(240,230,211,0.75);
  margin-bottom: 2rem;
}

.ca-box {
  background: rgba(255,26,26,0.1);
  border: 1px solid rgba(255,26,26,0.4);
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  font-size: clamp(0.65rem, 1.4vw, 0.82rem);
  letter-spacing: 0.05em;
  word-break: break-all;
  backdrop-filter: blur(8px);
}

.ca-box span { color: var(--red); font-weight: 700; }
.ca-val {
  display: inline-block;
  color: var(--gold);
  cursor: pointer;
  transition: opacity 0.2s;
}
.ca-val:hover { opacity: 0.7; }

/* ─── BUTTONS ─── */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.btn {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.12em;
  padding: 0.8rem 2.2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--off-white);
  box-shadow: 0 4px 20px rgba(255,0,51,0.5);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 30px rgba(255,0,51,0.7);
}

.btn-outline {
  background: transparent;
  color: var(--off-white);
  border: 2px solid var(--off-white);
}

.btn-outline:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(240,230,211,0.08);
}

/* ─── SOCIALS ─── */
.socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.social-link {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,26,26,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  background: rgba(255,26,26,0.07);
  overflow: hidden;
  padding: 6px;
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s, opacity 0.2s;
}

.social-link:hover {
  transform: translateY(-4px) scale(1.1);
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(255,0,51,0.5);
}

/* DexScreener: white owl on black — invert to show on dark bg */
.social-link.dex img { filter: invert(1); }
.social-link.dex:hover img { filter: invert(1); }

/* Pump.fun: pill logo — show as-is */
.social-link.pump img { filter: none; }

/* X: black logo — invert to white */
.social-link.x img { filter: brightness(0) invert(1); }
.social-link.x:hover img { filter: brightness(0) invert(1); }

/* ─── VIDEO SECTION ─── */
.video-section {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.section-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--off-white);
  text-shadow: 4px 4px 0 var(--red);
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid var(--red);
  box-shadow: 0 0 60px rgba(255,0,51,0.4), 0 0 120px rgba(255,0,51,0.15);
}

.video-frame video {
  width: 100%;
  display: block;
}

/* ─── ABOUT SECTION ─── */
.about-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.about-card {
  background: var(--glass);
  border: 1px solid rgba(255,26,26,0.25);
  border-radius: 8px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, transform 0.2s;
}

.about-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(240,230,211,0.75);
}

/* ─── BANNER ─── */
.banner-section {
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.banner-img {
  width: 100%;
  max-width: 1000px;
  border-radius: 8px;
  border: 2px solid rgba(255,26,26,0.3);
  box-shadow: 0 0 40px rgba(255,0,51,0.2);
}

/* ─── TOKENOMICS ─── */
.token-section {
  padding: 4rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

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

.token-card {
  background: rgba(255,26,26,0.07);
  border: 1px solid rgba(255,26,26,0.3);
  border-radius: 8px;
  padding: 1.5rem 1rem;
}

.token-num {
  font-family: 'Bangers', cursive;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  text-shadow: 0 0 15px rgba(255,215,0,0.4);
}

.token-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(240,230,211,0.6);
  margin-top: 0.25rem;
  text-transform: uppercase;
}

/* ─── FOOTER ─── */
footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,26,26,0.15);
  font-size: 0.72rem;
  color: rgba(240,230,211,0.35);
  letter-spacing: 0.08em;
}

footer strong { color: var(--red); }

/* ─── NOISE OVERLAY ─── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── COPY TOAST ─── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--red);
  color: var(--off-white);
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  z-index: 999;
  transition: transform 0.3s ease;
}

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

/* ─── DIVIDER ─── */
.divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .about-grid { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-group { flex-direction: column; align-items: center; }
}
