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

:root {
  --pink: #ff2d95;
  --hot-pink: #ff006e;
  --lime: #39ff14;
  --cyan: #00f5ff;
  --yellow: #ffe600;
  --purple: #9d00ff;
  --orange: #ff6b00;
  --bg: #0a0014;
  --card: rgba(20, 0, 40, 0.85);
  --border: rgba(255, 45, 149, 0.5);
  --font-display: 'Bangers', cursive;
  --font-mono: 'Space Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-mono);
  background: var(--bg);
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 45, 149, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(57, 255, 20, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(157, 0, 255, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #0a0014 0%, #1a0030 50%, #0a0014 100%);
  z-index: -3;
  animation: bgShift 8s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(30deg); }
}

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

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
}

.floating-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.shape-1 { top: 10%; left: 5%; animation-delay: 0s; }
.shape-2 { top: 20%; right: 10%; animation-delay: 1s; font-size: 3rem; }
.shape-3 { top: 60%; left: 8%; animation-delay: 2s; }
.shape-4 { top: 70%; right: 5%; animation-delay: 0.5s; }
.shape-5 { top: 40%; left: 50%; animation-delay: 1.5s; font-size: 4rem; }
.shape-6 { top: 85%; left: 40%; animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(15deg); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10, 0, 20, 0.8);
  border-bottom: 2px solid var(--border);
}

.ticker {
  overflow: hidden;
  background: linear-gradient(90deg, var(--hot-pink), var(--purple), var(--cyan));
  padding: 0.4rem 0;
  border-bottom: 2px solid var(--yellow);
}

.ticker-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #000;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 2rem;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-link:hover {
  color: var(--lime);
  text-shadow: 0 0 10px var(--lime);
}

.btn-buy {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.btn-buy:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.8);
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  animation: blink 1.5s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0.5; }
}

.glitch-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 9rem);
  line-height: 1;
  position: relative;
  color: #fff;
  text-shadow:
    3px 3px 0 var(--pink),
    -3px -3px 0 var(--lime),
    0 0 40px var(--cyan);
  animation: glitchTitle 3s infinite;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-title::before {
  color: var(--cyan);
  animation: glitch1 2s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-title::after {
  color: var(--pink);
  animation: glitch2 2.5s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-5px, 2px); }
  94% { transform: translate(5px, -2px); }
}

@keyframes glitch2 {
  0%, 90%, 100% { transform: translate(0); }
  91% { transform: translate(5px, -2px); }
  93% { transform: translate(-5px, 2px); }
}

@keyframes glitchTitle {
  0%, 100% { transform: skew(0deg); }
  95% { transform: skew(-2deg); }
  97% { transform: skew(2deg); }
}

.glitch-sub {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4vw, 2rem);
  margin: 1rem 0 1.5rem;
  color: var(--lime);
  letter-spacing: 0.05em;
  animation: shake 4s ease-in-out infinite;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  96% { transform: translateX(-3px); }
  97% { transform: translateX(3px); }
  98% { transform: translateX(-3px); }
}

.hero-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
}

.hero-desc strong {
  color: var(--pink);
}

.hero-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--card);
  border: 2px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  min-width: 140px;
  backdrop-filter: blur(8px);
}

.stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--yellow);
}

.wobble {
  animation: wobble 3s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }

@keyframes wobble {
  0%, 100% { transform: rotate(-1deg) scale(1); }
  50% { transform: rotate(1deg) scale(1.02); }
}

.cta-main {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #000;
  background: linear-gradient(135deg, var(--yellow), var(--orange), var(--pink));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    0 0 30px rgba(255, 230, 0, 0.5),
    0 0 60px rgba(255, 45, 149, 0.3);
  transition: transform 0.2s;
}

.cta-main:hover {
  transform: scale(1.08) rotate(-1deg);
}

.cta-main.mega {
  font-size: clamp(1.2rem, 4vw, 2rem);
  padding: 1.2rem 3rem;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(255, 230, 0, 0.5), 0 0 60px rgba(255, 45, 149, 0.3); }
  50% { box-shadow: 0 0 50px rgba(255, 230, 0, 0.8), 0 0 100px rgba(255, 45, 149, 0.5); }
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-tag {
  font-size: 0.7rem;
  color: var(--pink);
  letter-spacing: 0.3em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin: 0.5rem 0;
}

.rainbow-text {
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--lime), var(--cyan), var(--purple));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.section-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Video */
.video-container {
  position: relative;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--pink), var(--lime), var(--cyan), var(--purple)) border-box;
  box-shadow:
    0 0 40px rgba(255, 45, 149, 0.4),
    0 0 80px rgba(57, 255, 20, 0.2);
  animation: borderGlow 4s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  0% { box-shadow: 0 0 40px rgba(255, 45, 149, 0.4), 0 0 80px rgba(57, 255, 20, 0.2); }
  100% { box-shadow: 0 0 60px rgba(0, 245, 255, 0.5), 0 0 100px rgba(157, 0, 255, 0.3); }
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid var(--yellow);
  z-index: 2;
  pointer-events: none;
}

.video-corner.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.video-corner.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.video-corner.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.video-corner.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.video-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255, 45, 149, 0.2) 0%, transparent 70%);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.video-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Twitter tribute */
.tribute-section .section-title {
  filter: saturate(0.7);
}

.twitter-container {
  display: flex;
  justify-content: center;
}

.twitter-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--purple), var(--pink), var(--cyan)) border-box;
  box-shadow:
    0 0 40px rgba(157, 0, 255, 0.3),
    0 0 80px rgba(255, 45, 149, 0.15);
}

.twitter-inner {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.twitter-inner .twitter-tweet {
  margin: 0 !important;
}

/* Token */
.token-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.token-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.token-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--pink), transparent, var(--lime), transparent);
  animation: rotate 8s linear infinite;
  opacity: 0.05;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

.token-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.token-icon {
  font-size: 3rem;
  animation: bounce 2s ease infinite;
}

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

.token-header h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--lime);
}

.token-header p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.token-badge {
  margin-left: auto;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.token-badge.live {
  background: rgba(57, 255, 20, 0.15);
  color: var(--lime);
  border: 1px solid var(--lime);
  animation: blink 2s step-end infinite;
}

.ca-box label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  position: relative;
}

.ca-row {
  display: flex;
  gap: 0.5rem;
  position: relative;
}

.ca-row input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--purple);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ca-row input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.btn-copy {
  background: linear-gradient(135deg, var(--purple), var(--hot-pink));
  border: none;
  border-radius: 10px;
  padding: 0 1.2rem;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-copy:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.5);
}

.btn-copy.copied {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  color: #000;
}

.copy-feedback {
  min-height: 1.2rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--lime);
}

.token-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  position: relative;
}

.link-btn {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.link-btn.pump {
  background: rgba(57, 255, 20, 0.15);
  color: var(--lime);
  border: 2px solid var(--lime);
}

.link-btn.dex {
  background: rgba(0, 245, 255, 0.15);
  color: var(--cyan);
  border: 2px solid var(--cyan);
}

.link-btn.x {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.link-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 45, 149, 0.3);
}

/* Chart */
.chart-container {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.chart-live {
  color: var(--lime);
  animation: blink 1.5s step-end infinite;
}

.chart-frame {
  position: relative;
  height: 500px;
}

.chart-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(10, 0, 20, 0.95);
  text-align: center;
  padding: 2rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.chart-placeholder.visible {
  opacity: 1;
  pointer-events: auto;
}

.placeholder-icon {
  font-size: 4rem;
  animation: bounce 2s ease infinite;
}

.chart-placeholder p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 400px;
}

.chart-placeholder code {
  color: var(--yellow);
  background: rgba(255, 230, 0, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

/* Buy section */
.buy-section {
  padding-bottom: 6rem;
}

.buy-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 45, 149, 0.15), rgba(157, 0, 255, 0.15));
  border: 2px solid var(--pink);
  border-radius: 24px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.buy-box::after {
  content: '🛴';
  position: absolute;
  font-size: 8rem;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
}

.buy-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
  color: var(--yellow);
  position: relative;
}

.buy-box p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  position: relative;
}

.disclaimer {
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
  font-size: 0.7rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 2px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
}

.footer p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-small {
  margin-top: 0.5rem;
  font-size: 0.65rem !important;
  color: rgba(255, 255, 255, 0.3) !important;
}

/* Responsive */
@media (max-width: 640px) {
  .nav {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem;
  }

  .nav-link {
    display: none;
  }

  .ca-row {
    flex-direction: column;
  }

  .btn-copy {
    padding: 0.8rem;
  }

  .chart-frame {
    height: 350px;
  }

  .token-links {
    flex-direction: column;
  }
}
