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

:root {
  --bg: #050505;
  --bg2: #0a0a0a;
  --bg3: #111111;
  --text: #d0d0d0;
  --text-dim: #777;
  --accent: #ffffff;
  --accent2: #c0c0c0;
  --accent-glow: rgba(255, 255, 255, 0.15);
  --accent2-glow: rgba(200, 200, 200, 0.1);
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(255,255,255,0.1);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: 0.3s; }

/* ── HERO ── */
#hero {
  position: relative;
  z-index: 1;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-content { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fff, #b0b0b0);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 20px;
}
.accent { color: var(--accent); }
.hero-slogan {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 3px;
  text-transform: lowercase;
  font-style: italic;
  margin-bottom: 16px;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(255,255,255,0.3), 0 0 40px rgba(255,255,255,0.1);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-stats {
  display: flex; gap: 32px;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.stat-num {
  display: block;
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.6rem;
  color: #fff;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-buttons { display: flex; gap: 16px; }

.hero-visual { flex: 0 0 auto; position: relative; }
.box-3d { position: relative; }
.box-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  filter: blur(40px);
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
.prereveal-img {
  position: relative;
  width: 360px;
  height: auto;
  border-radius: var(--radius);
  filter: drop-shadow(0 20px 60px rgba(255,255,255,0.1));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-primary {
  background: linear-gradient(135deg, #fff, #b0b0b0);
  color: #000;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.15);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #000;
}

/* ── SECTIONS ── */
section {
  position: relative;
  z-index: 1;
  padding: 50px 0;
}
.section-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.about-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.about-card h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}
.about-card p { color: var(--text-dim); font-size: 0.9rem; }

/* ── SNEAK PEEK + MINT SPLIT ── */
.mint-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.mint-split-left,
.mint-split-right { text-align: center; }
.mint-split-left .section-title { margin-bottom: 2px; }
.mint-split-left .section-sub { margin: 0 auto 8px; font-size: 0.85rem; }
.mint-split-right .section-title { margin-bottom: 32px; }
#sneakpeek { background: transparent; }
.peek-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 100%;
  margin: 0 auto 24px;
  gap: 16px;
}
.peek-card {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--card-border);
  position: relative;
  background: var(--bg3);
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
}
.peek-card:hover {
  transform: scale(1.03);
  border-color: var(--accent);
}
.peek-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 2;
}
.peek-card img.loaded { opacity: 1; }
.peek-card .peek-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg3), var(--bg));
}
.peek-card .peek-placeholder::after {
  content: '?';
  font-family: 'Luckiest Guy', cursive;
  font-size: 3rem;
  color: rgba(255,255,255,0.1);
}
.btn-shuffle {
  display: flex;
  margin: 0 auto;
  font-size: 1rem;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  cursor: pointer;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--radius);
  border: 2px solid var(--card-border);
}

/* ── MINT ── */
#mint { background: var(--bg); }
.mint-box {
  max-width: 100%;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.mint-status {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.mint-status-dot {
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
#mintStatusText {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
}
.mint-progress-wrap { margin-bottom: 28px; }
.mint-progress {
  height: 8px;
  background: var(--bg3);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}
.mint-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #fff, #888);
  border-radius: 100px;
  transition: width 0.5s;
}
.mint-progress-text {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; color: var(--text-dim);
}
.mint-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.tier {
  text-align: center;
  padding: 16px 8px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}
.tier:hover, .tier.active {
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
}
.tier-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}
.tier-price {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.2rem;
  color: #fff;
}
.tier-price small { font-size: 0.7rem; color: var(--text-dim); }
.tier-desc { font-size: 0.7rem; color: var(--text-dim); margin-top: 4px; }

.mint-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.mint-qty {
  display: flex; align-items: center; gap: 16px;
}
.qty-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--card-border);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { border-color: var(--accent); background: rgba(255,255,255,0.08); }
.qty-num {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.5rem;
  color: #fff;
  min-width: 30px;
  text-align: center;
}
.mint-total {
  font-size: 0.95rem;
  color: var(--text-dim);
}
.mint-total strong { color: #fff; font-size: 1.1rem; }
.btn-mint {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 18px;
}
.mint-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ── TOKENOMICS ── */
#tokenomics { background: transparent; }
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.token-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.token-card:hover { border-color: var(--accent); }
.token-num {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.token-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.royalty-breakdown {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.royalty-breakdown h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 20px;
}
.royalty-bar {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.royalty-half {
  flex: 1;
  padding: 20px;
}
.royalty-half span { display: block; font-weight: 600; color: #fff; font-size: 0.9rem; }
.royalty-half small { color: var(--text-dim); font-size: 0.75rem; }
.royalty-half.holders { background: rgba(255,255,255,0.06); }
.royalty-half.dev { background: rgba(255,255,255,0.03); }

/* ── ROADMAP ── */
.roadmap-section { padding: 0; }
.roadmap-img {
  width: 100%;
  display: block;
}

/* ── FAQ ── */
#faq { background: var(--bg); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--card-border);
}
.faq-q {
  width: 100%;
  background: none; border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p {
  padding-bottom: 20px;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--card-border);
  padding: 40px 0 30px;
}
.footer-inner { text-align: center; }
.footer-logo {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--accent); }
.footer-text { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 24px; }
.social-link {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  color: var(--text-dim);
  transition: all 0.3s;
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.footer-divider {
  height: 1px;
  background: var(--card-border);
  margin-bottom: 20px;
}
.footer-disclaimer {
  color: var(--text-dim);
  font-size: 0.7rem;
  max-width: 500px;
  margin: 0 auto 16px;
  opacity: 0.7;
  line-height: 1.5;
}
.footer-copy { color: var(--text-dim); font-size: 0.75rem; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  #hero {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
    padding-top: 100px;
  }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .prereveal-img { width: 240px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--card-border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .mint-split { grid-template-columns: 1fr; gap: 32px; }
  .peek-grid { grid-template-columns: repeat(2, 1fr); }
  .mint-tiers { grid-template-columns: 1fr; }
  .mint-box { padding: 28px 20px; }
  .tokenomics-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
