:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --text: #d4d0c8;
  --text-dim: #777;
  --primary: #e74c3c;
  --primary-dark: #c0392b;
  --accent: #d4a574;
  --gold: #f0c674;
  --border: #1a1a1a;
  --glow: rgba(231, 76, 60, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

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

/* ===== Bubbles Background ===== */
.bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -80px;
  background: radial-gradient(circle, rgba(231, 76, 60, 0.08), transparent 70%);
  border-radius: 50%;
  animation: rise linear infinite;
}

.bubble:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-duration: 18s; animation-delay: 0s; }
.bubble:nth-child(2) { width: 120px; height: 120px; left: 25%; animation-duration: 22s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 60px; height: 60px; left: 40%; animation-duration: 16s; animation-delay: 4s; }
.bubble:nth-child(4) { width: 100px; height: 100px; left: 55%; animation-duration: 20s; animation-delay: 1s; }
.bubble:nth-child(5) { width: 70px; height: 70px; left: 70%; animation-duration: 24s; animation-delay: 3s; }
.bubble:nth-child(6) { width: 90px; height: 90px; left: 85%; animation-duration: 19s; animation-delay: 5s; }
.bubble:nth-child(7) { width: 50px; height: 50px; left: 15%; animation-duration: 21s; animation-delay: 6s; }
.bubble:nth-child(8) { width: 110px; height: 110px; left: 60%; animation-duration: 17s; animation-delay: 7s; }

@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-110vh) scale(0.5); opacity: 0; }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.05em;
}

.logo-icon {
  font-size: 28px;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 160px 20px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.2); }
  50% { box-shadow: 0 0 20px 4px rgba(231, 76, 60, 0.15); }
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--gold), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

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

.hero-subtitle {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ===== Wallet Button ===== */
.wallet-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  border: none;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(231, 76, 60, 0.3);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}

.wallet-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(231, 76, 60, 0.45);
}

.wallet-btn:active {
  transform: translateY(-1px);
}

.wallet-btn.connected {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  box-shadow: 0 4px 24px rgba(46, 204, 113, 0.3);
}

.wallet-btn .icon {
  width: 22px;
  height: 22px;
}

/* ===== Hero Stats ===== */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding: 20px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

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

.hero-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}


/* ===== Cards ===== */
.cards-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  border-color: rgba(231, 76, 60, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(231, 76, 60, 0.08);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.card-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 600;
}

.card-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ===== Steps ===== */
.steps-section {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateX(-30px);
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step:hover {
  border-color: rgba(231, 76, 60, 0.3);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

.step-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.step-content a:hover {
  text-decoration: underline;
}

/* ===== Tokenomics ===== */
.tokenomics-section {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.tokenomics-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tokenomics-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.tokenomics-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.tokenomics-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.tokenomics-fill {
  height: 100%;
  width: var(--bar-width);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  transition: width 1s ease;
}

.tokenomics-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tokenomics-label {
  font-size: 14px;
  color: var(--text-dim);
}

.tokenomics-pct {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
}

/* ===== About ===== */
.about-section {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.about-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-card h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-quote {
  font-style: italic;
  color: var(--accent) !important;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  margin: 24px 0 !important;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.social-link:hover {
  background: rgba(231, 76, 60, 0.15);
  border-color: rgba(231, 76, 60, 0.4);
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 700px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-text {
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 12px;
  color: #444;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .cards-section {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .steps-section,
  .tokenomics-section,
  .about-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .step {
    flex-direction: column;
    gap: 16px;
  }

  .about-card {
    padding: 24px;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .nav-links a {
    font-size: 12px;
  }
}
