:root {
  --neon-green: #39FF14;
  --neon-pink: #FF10F0;
  --neon-yellow: #FFE600;
  --neon-cyan: #00F0FF;
  --neon-orange: #FF6B00;
  --dark-bg: #0a0a0f;
  --card-bg: #12121c;
  --chaos-red: #FF2D55;
}

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

body {
  background: var(--dark-bg);
  color: #fff;
  font-family: 'Space Mono', monospace;
  overflow-x: hidden;
  cursor: crosshair;
}

.hidden { display: none !important; }

/* ===== BACKGROUND ===== */
.bg-chaos {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.bg-chaos::before {
  content: ''; position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,16,240,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(57,255,20,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0,240,255,0.05) 0%, transparent 50%);
  animation: bgDrift 15s ease-in-out infinite alternate;
}
@keyframes bgDrift {
  0% { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(-5%,3%) rotate(2deg); }
}

.grain {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0.04;
  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");
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--neon-green); border-radius: 3px; }

/* ===== TICKER ===== */
.ticker-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 36px; z-index: 100; overflow: hidden;
  background: linear-gradient(90deg, var(--chaos-red), var(--neon-pink), var(--neon-orange));
  display: flex; align-items: center;
}
.ticker-content {
  display: flex; white-space: nowrap;
  animation: tickerScroll 20s linear infinite;
  font-family: 'Space Mono', monospace;
  font-size: 12px; font-weight: 700; color: #000;
  text-transform: uppercase; letter-spacing: 1px;
}
.ticker-content span { padding: 0 30px; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 36px; left: 0; right: 0;
  height: 70px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 40px;
  z-index: 99; background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo {
  font-family: 'Bangers', cursive; font-size: 36px;
  letter-spacing: 3px; position: relative;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.logo::after {
  content: 'PERPS'; position: absolute;
  top: -8px; right: -50px;
  font-family: 'Permanent Marker', cursive; font-size: 11px;
  background: var(--neon-pink); color: #000; padding: 2px 6px;
  border-radius: 3px; transform: rotate(8deg);
  -webkit-text-fill-color: #000;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 1.5px; transition: all 0.3s; font-weight: 700;
}
.nav-links a:hover { color: var(--neon-green); }

.btn-launch {
  background: var(--neon-green); color: #000;
  padding: 10px 24px; border: none;
  font-family: 'Bangers', cursive; font-size: 16px;
  letter-spacing: 2px; cursor: pointer;
  clip-path: polygon(0 0,100% 0,95% 100%,5% 100%);
  transition: all 0.3s; text-transform: uppercase;
}
.btn-launch:hover {
  background: var(--neon-yellow); transform: scale(1.05);
  box-shadow: 0 0 30px rgba(57,255,20,0.4);
}

/* ===== HERO ===== */
.hero {
  position: relative; z-index: 2; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 140px 20px 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,16,240,0.15);
  border: 1px solid rgba(255,16,240,0.3);
  padding: 8px 20px; border-radius: 50px;
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--neon-pink);
  margin-bottom: 30px; animation: fadeInUp 0.8s ease-out;
}
.hero-badge .dot {
  width: 8px; height: 8px; background: var(--neon-green);
  border-radius: 50%; animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(0.8); }
}

.hero h1 {
  font-family: 'Bangers', cursive;
  font-size: clamp(60px,12vw,140px);
  line-height: 0.9; letter-spacing: 6px;
  margin-bottom: 10px; animation: fadeInUp 0.8s ease-out 0.1s both;
}
.hero h1 .line1 {
  display: block;
  background: linear-gradient(135deg,#fff 0%,rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 .line2 {
  display: block; position: relative;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 .line2::after {
  content: '💀'; position: absolute; font-size: 0.35em;
  top: -10px; margin-left: 10px;
  animation: wobble 2s infinite;
  -webkit-text-fill-color: initial;
}
@keyframes wobble {
  0%,100% { transform:rotate(0deg); }
  25% { transform:rotate(15deg); }
  75% { transform:rotate(-15deg); }
}

.hero-sub {
  font-size: clamp(14px,2vw,18px); color: rgba(255,255,255,0.5);
  max-width: 550px; line-height: 1.7; margin: 20px 0 40px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-sub strong { color: var(--neon-yellow); }

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: center; animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-primary {
  background: var(--neon-green); color: #000;
  padding: 16px 40px; border: none;
  font-family: 'Bangers', cursive; font-size: 20px;
  letter-spacing: 3px; cursor: pointer; text-transform: uppercase;
  position: relative; overflow: hidden; transition: all 0.3s;
  clip-path: polygon(3% 0,100% 0,97% 100%,0 100%);
}
.btn-primary:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 0 40px rgba(57,255,20,0.5);
}
.btn-primary::after { content: '🚀'; margin-left: 10px; }

.btn-secondary {
  background: transparent; color: #fff;
  padding: 16px 40px; border: 2px solid rgba(255,255,255,0.2);
  font-family: 'Bangers', cursive; font-size: 20px;
  letter-spacing: 3px; cursor: pointer; text-transform: uppercase;
  transition: all 0.3s;
  clip-path: polygon(3% 0,100% 0,97% 100%,0 100%);
}
.btn-secondary:hover {
  border-color: var(--neon-pink); color: var(--neon-pink);
  transform: scale(1.05) rotate(1deg);
}

/* FLOATING EMOJIS */
.floating-emojis {
  position: absolute; width: 100%; height: 100%;
  top: 0; left: 0; pointer-events: none; z-index: -1;
}
.float-emoji {
  position: absolute; font-size: 40px;
  animation: floatEmoji 6s ease-in-out infinite; opacity: 0.15;
}
.float-emoji:nth-child(1) { top:15%; left:8%; animation-delay:0s; }
.float-emoji:nth-child(2) { top:25%; right:12%; animation-delay:1s; font-size:55px; }
.float-emoji:nth-child(3) { bottom:30%; left:15%; animation-delay:2s; }
.float-emoji:nth-child(4) { top:40%; right:8%; animation-delay:0.5s; font-size:35px; }
.float-emoji:nth-child(5) { bottom:20%; right:20%; animation-delay:1.5s; }
.float-emoji:nth-child(6) { top:60%; left:5%; animation-delay:3s; font-size:50px; }
@keyframes floatEmoji {
  0%,100% { transform:translateY(0) rotate(0deg); }
  50% { transform:translateY(-25px) rotate(15deg); }
}

/* ===== STATS ===== */
.stats-bar {
  position: relative; z-index: 2;
  display: flex; justify-content: center; gap: 0;
  padding: 0 40px; margin: -20px auto 60px; max-width: 900px;
}
.stat-item {
  flex: 1; text-align: center; padding: 30px 20px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative; overflow: hidden;
}
.stat-item:first-child { border-radius: 12px 0 0 12px; }
.stat-item:last-child { border-radius: 0 12px 12px 0; }
.stat-item::before {
  content: ''; position: absolute; top:0; left:0; right:0;
  height: 2px; background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
}
.stat-value {
  font-family: 'Bangers', cursive; font-size: 36px;
  letter-spacing: 2px; color: var(--neon-green);
}
.stat-label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(255,255,255,0.4); margin-top: 5px;
}

/* ===== MARQUEE ===== */
.marquee-section {
  position: relative; z-index: 2; overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  margin: 40px 0;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track span {
  font-family: 'Bangers', cursive; font-size: 80px;
  letter-spacing: 8px; padding: 0 40px;
  color: rgba(255,255,255,0.03);
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  text-transform: uppercase;
}
@keyframes marqueeScroll {
  0% { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}

/* ===== FEATURES ===== */
.features, .how-it-works, .showcase, .cta {
  position: relative; z-index: 2;
  padding: 80px 40px; max-width: 1200px; margin: 0 auto;
}
.how-it-works, .showcase { max-width: 900px; }

.section-label {
  font-family: 'Permanent Marker', cursive; font-size: 14px;
  text-transform: uppercase; letter-spacing: 4px;
  color: var(--neon-pink); text-align: center; margin-bottom: 10px;
}
.section-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(36px,5vw,56px);
  text-align: center; letter-spacing: 3px; margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; padding: 35px 30px;
  position: relative; overflow: hidden; transition: all 0.4s;
}
.feature-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  border-color: rgba(57,255,20,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.feature-card::before {
  content: ''; position: absolute; top:0; left:0;
  width:100%; height:100%;
  background: linear-gradient(135deg, rgba(57,255,20,0.03), transparent);
  pointer-events: none;
}
.feature-icon { font-size: 42px; margin-bottom: 20px; display: block; }
.feature-card h3 {
  font-family: 'Bangers', cursive; font-size: 22px;
  letter-spacing: 2px; margin-bottom: 10px; color: var(--neon-green);
}
.feature-card p {
  font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.5);
}
.feature-tag {
  display: inline-block; margin-top: 15px; padding: 4px 12px;
  border-radius: 50px; font-size: 10px; text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 700;
}
.tag-live { background: rgba(57,255,20,0.15); color: var(--neon-green); }
.tag-soon { background: rgba(255,16,240,0.15); color: var(--neon-pink); }
.tag-hot { background: rgba(255,230,0,0.15); color: var(--neon-yellow); }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; align-items: center; gap: 30px;
  padding: 30px; background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative; transition: all 0.3s;
}
.step:first-child { border-radius: 16px 16px 0 0; }
.step:last-child { border-radius: 0 0 16px 16px; }
.step:hover {
  background: rgba(18,18,28,0.9);
  border-color: rgba(57,255,20,0.15);
}
.step-num {
  font-family: 'Bangers', cursive; font-size: 48px;
  color: var(--neon-green); opacity: 0.3;
  min-width: 60px; text-align: center;
}
.step:hover .step-num { opacity: 1; }
.step-content h3 {
  font-family: 'Bangers', cursive; font-size: 20px;
  letter-spacing: 2px; margin-bottom: 5px;
}
.step-content p {
  font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6;
}
.step-emoji { font-size: 36px; margin-left: auto; }

/* ===== COINS ===== */
.coin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
.coin-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px; padding: 24px 20px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  transition: all 0.4s; cursor: pointer;
}
.coin-card:hover {
  transform: scale(1.05) rotate(2deg);
  border-color: rgba(57,255,20,0.3);
}
.coin-emoji { font-size: 48px; margin-bottom: 12px; }
.coin-name {
  font-family: 'Bangers', cursive; font-size: 18px;
  letter-spacing: 1px; margin-bottom: 4px;
}
.coin-ticker {
  font-size: 11px; color: rgba(255,255,255,0.3);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.coin-change {
  font-family: 'Space Mono', monospace; font-size: 16px;
  font-weight: 700; padding: 4px 12px; border-radius: 6px;
}
.coin-change.up { color: var(--neon-green); background: rgba(57,255,20,0.1); }
.coin-change.down { color: var(--chaos-red); background: rgba(255,45,85,0.1); }
.coin-leverage {
  font-size: 10px; color: var(--neon-yellow);
  margin-top: 8px; letter-spacing: 1px; text-transform: uppercase;
}

/* ===== CTA ===== */
.cta { padding: 100px 40px; text-align: center; max-width: 1200px; }
.cta-box {
  max-width: 700px; margin: 0 auto; padding: 60px 40px;
  background: linear-gradient(135deg, rgba(57,255,20,0.05), rgba(255,16,240,0.05));
  border: 1px solid rgba(57,255,20,0.15);
  border-radius: 24px; position: relative; overflow: hidden;
}
.cta-box::before {
  content: '⚡'; position: absolute; font-size: 200px;
  opacity: 0.03; top: -40px; right: -30px; animation: wobble 3s infinite;
}
.cta h2 {
  font-family: 'Bangers', cursive;
  font-size: clamp(36px,5vw,52px);
  letter-spacing: 3px; margin-bottom: 15px;
}
.cta h2 span {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cta p {
  color: rgba(255,255,255,0.5); font-size: 14px;
  margin-bottom: 30px; max-width: 450px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}
.cta-warning {
  margin-top: 20px; font-size: 11px;
  color: rgba(255,255,255,0.25); letter-spacing: 1px;
}

/* ===== FOOTER ===== */
footer {
  position: relative; z-index: 2; text-align: center;
  padding: 40px; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-links {
  display: flex; justify-content: center; gap: 30px; margin-bottom: 20px;
}
.footer-links a {
  color: rgba(255,255,255,0.3); text-decoration: none;
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 1.5px; transition: color 0.3s;
}
.footer-links a:hover { color: var(--neon-green); }
.footer-copy {
  font-size: 11px; color: rgba(255,255,255,0.15); letter-spacing: 1px;
}

/* ===== GLITCH ===== */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute;
  top:0; left:0; width:100%; height:100%; opacity:0.8;
}
.glitch::before {
  color: var(--neon-cyan); animation: glitch1 3s infinite;
  clip-path: inset(0 0 60% 0);
}
.glitch::after {
  color: var(--neon-pink); animation: glitch2 3s infinite;
  clip-path: inset(40% 0 0 0);
}
@keyframes glitch1 {
  0%,95%,100% { transform:translate(0); }
  96% { transform:translate(-3px,2px); }
  97% { transform:translate(3px,-1px); }
}
@keyframes glitch2 {
  0%,95%,100% { transform:translate(0); }
  96% { transform:translate(3px,-2px); }
  97% { transform:translate(-3px,1px); }
}

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to { opacity:1; transform:translateY(0); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .stats-bar { flex-direction: column; padding: 0 20px; }
  .stat-item { border-radius: 0 !important; }
  .stat-item:first-child { border-radius: 12px 12px 0 0 !important; }
  .stat-item:last-child { border-radius: 0 0 12px 12px !important; }
  .step { flex-direction: column; text-align: center; gap: 15px; }
  .step-emoji { margin-left: 0; }
  .hero-actions { flex-direction: column; align-items: center; }
  .features, .how-it-works, .showcase, .cta { padding: 60px 20px; }
  .footer-links { flex-wrap: wrap; gap: 15px; }
}
