/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --red: #8b0000;
  --red-light: #cc1a1a;
  --red-glow: rgba(139, 0, 0, 0.4);
  --gold: #d4a017;
  --text: #f0f0f0;
  --text-muted: #888;
  --font-display: 'Bangers', cursive;
  --font-body: 'Inter', sans-serif;
  --max-w: 1200px;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 2px;
  color: var(--red-light);
  margin-bottom: 12px;
  text-shadow: 0 0 30px var(--red-glow);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red-light);
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--red-light); }

.btn-nav {
  background: var(--red);
  padding: 10px 20px;
  border-radius: 8px;
  color: #fff !important;
  transition: background 0.2s, transform 0.2s;
}
.btn-nav:hover { background: var(--red-light); transform: translateY(-1px); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-btn span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-content {
  max-width: var(--max-w);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text { flex: 1; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: 4px;
  color: var(--text);
}

.hero-title-accent {
  color: var(--red-light);
  text-shadow: 0 0 40px var(--red-glow), 0 0 80px var(--red-glow);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 20px 0;
  max-width: 400px;
}

.hero-ticker {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 28px;
  letter-spacing: 3px;
}

.hero-buttons { display: flex; gap: 16px; margin-bottom: 24px; }

.btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  display: inline-block;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 20px var(--red-glow);
}
.btn-primary:hover { background: var(--red-light); box-shadow: 0 6px 30px var(--red-glow); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.15);
}
.btn-secondary:hover { border-color: var(--red-light); color: var(--red-light); }

.contract-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.ca-label { color: var(--text-muted); font-weight: 600; }
.ca-value { color: var(--gold); font-family: monospace; word-break: break-all; }

.copy-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s;
}
.copy-btn:hover { background: var(--red-light); }

.hero-image {
  flex: 0 0 420px;
  max-width: 420px;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 0 60px var(--red-glow);
  animation: float 6s ease-in-out infinite;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* ===== MARQUEE ===== */
.marquee {
  background: var(--red);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee-scroll 20s linear infinite;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 3px;
}

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

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red-light);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== GALLERY ===== */
.gallery {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0f0f0f 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid.gallery-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-grid.gallery-full {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  background: var(--bg-card);
  position: relative;
}

.gallery-item.featured {
  border: 2px solid rgba(139, 0, 0, 0.3);
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px var(--red-glow);
  z-index: 2;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 40px 16px 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.meme-caption {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ===== TOKENOMICS ===== */
.tokenomics {
  padding: 100px 0;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.token-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

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

.token-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.token-card h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.token-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--red-light);
}

/* ===== HOW TO BUY ===== */
.how-to-buy {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d0d 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: border-color 0.3s;
}

.step-card:hover { border-color: var(--red); }

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  opacity: 0.3;
  position: absolute;
  top: 16px; right: 20px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== COMMUNITY ===== */
.community {
  padding: 120px 0;
}

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.community-image img {
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.community-text .section-title { margin-bottom: 16px; }
.community-text p { color: var(--text-muted); margin-bottom: 28px; font-size: 1.05rem; }

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }

.social-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-card);
}

.social-btn:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 4px 20px var(--red-glow);
}

.social-btn.telegram { border-color: #0088cc; color: #0088cc; }
.social-btn.telegram:hover { background: #0088cc; color: #fff; box-shadow: 0 4px 20px rgba(0,136,204,0.3); }
.social-btn.twitter { border-color: #fff; }
.social-btn.twitter:hover { background: #fff; color: #000; box-shadow: 0 4px 20px rgba(255,255,255,0.2); }
.social-btn.dexscreener { border-color: #4ade80; color: #4ade80; }
.social-btn.dexscreener:hover { background: #4ade80; color: #000; box-shadow: 0 4px 20px rgba(74,222,128,0.3); }
.social-btn.pumpfun { border-color: #4ade80; color: #4ade80; }
.social-btn.pumpfun:hover { background: #4ade80; color: #000; box-shadow: 0 4px 20px rgba(74,222,128,0.3); }
.social-btn.community-btn { border-color: var(--red-light); color: var(--red-light); }
.social-btn.community-btn:hover { background: var(--red-light); color: #fff; box-shadow: 0 4px 20px var(--red-glow); }

.btn-pump {
  background: #1a1a2e !important;
  border-color: #4ade80 !important;
  color: #4ade80 !important;
}
.btn-pump:hover { background: #4ade80 !important; color: #000 !important; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 500px;
  margin: 0 auto 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--red-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content { flex-direction: column-reverse; text-align: center; }
  .hero-image { flex: none; max-width: 300px; }
  .hero-subtitle { margin: 20px auto; }
  .hero-buttons { justify-content: center; }
  .contract-address { font-size: 0.75rem; }

  .about-grid,
  .community-inner { grid-template-columns: 1fr; text-align: center; }

  .about-image { order: -1; }
  .about-stats { justify-content: center; }

  .gallery-grid, .gallery-grid.gallery-3, .gallery-grid.gallery-full { grid-template-columns: repeat(2, 1fr); }
  .tokenomics-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,10,10,0.95);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: flex; }

  .social-links { justify-content: center; }
  .community-image { order: -1; }
}

@media (max-width: 600px) {
  .gallery-grid, .gallery-grid.gallery-3 { grid-template-columns: repeat(2, 1fr); }
  .tokenomics-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
