/* =============================================================
   STYLE.CSS — MoonDoge Token Landing Page
   ✏️ EDITABLE: Todas las variables de color y tipografía
   están al inicio del archivo en :root {}
   ============================================================= */

/* ---------------------------------------------------------
   1. VARIABLES — ✏️ EDITABLE: Colores, fuentes y radios
--------------------------------------------------------- */
:root {
  /* Colores principales ✏️ */
  --bg:          #0b0b0b;       /* Fondo oscuro principal */
  --bg-card:     #141414;       /* Fondo de tarjetas */
  --bg-section:  #0f0f0f;       /* Fondo alterno de secciones */

  /* Acentos ✏️ */
  --pink:        #ff4081;       /* Rosa neón — botones, highlights */
  --cyan:        #00bfff;       /* Cian neón — acentos secundarios */
  --gold:        #ffd700;       /* Dorado — badges, énfasis */

  /* Texto ✏️ */
  --text:        #f0f0f0;       /* Texto principal */
  --text-muted:  #888;          /* Texto secundario/atenuado */
  --text-dark:   #0b0b0b;       /* Texto sobre fondos claros */

  /* Bordes y sombras ✏️ */
  --border:      rgba(255, 64, 129, 0.2);
  --glow-pink:   0 0 20px rgba(255, 64, 129, 0.4);
  --glow-cyan:   0 0 20px rgba(0, 191, 255, 0.4);

  /* Tipografía ✏️ */
  --font-head:   'Orbitron', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* Radios ✏️ */
  --radius:      12px;
  --radius-lg:   20px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------------------------------------------------------
   3. BUTTONS — ✏️ EDITABLE: Colores de botones
--------------------------------------------------------- */
.btn-primary {
  background: var(--pink);         /* ✏️ Color del botón principal */
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--glow-pink);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 30px rgba(255, 64, 129, 0.7);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);              /* ✏️ Color del botón secundario */
  border: 2px solid var(--cyan);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  background: rgba(0, 191, 255, 0.1);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   4. NAVBAR
--------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.navbar.scrolled { padding: 0.6rem 2rem; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon { font-size: 1.5rem; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--pink);             /* ✏️ Color del logo */
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(14, 14, 14, 0.97);
  backdrop-filter: blur(16px);
  z-index: 999;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.2rem; }
.mobile-menu a {
  font-size: 1.1rem;
  font-family: var(--font-head);
  color: var(--text);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--pink); }

/* ---------------------------------------------------------
   5. HERO
--------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 8rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* Partículas animadas (canvas JS) */
.hero-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 64, 129, 0.12);
  border: 1px solid rgba(255, 64, 129, 0.4);
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,64,129,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(255,64,129,0); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #fff 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-ticker {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 1.25rem;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-desc strong { color: var(--cyan); }

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  max-width: 420px;
  width: 100%;
  animation: float 4s ease-in-out infinite;
}

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

.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 0 40px rgba(0, 191, 255, 0.35));
}

.hero-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(0,191,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ---------------------------------------------------------
   6. SECCIONES COMUNES
--------------------------------------------------------- */
.section {
  padding: 6rem 0;
}
.section:nth-child(even) {
  background-color: var(--bg-section);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1rem;
}

.highlight { color: var(--pink); }     /* ✏️ Color del texto destacado */

/* ---------------------------------------------------------
   7. ABOUT
--------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-pink);
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--cyan);              /* ✏️ Color de títulos de tarjeta */
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.about-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.link {
  color: var(--pink);
  border-bottom: 1px solid rgba(255,64,129,0.3);
  transition: color 0.2s;
}
.link:hover { color: var(--cyan); }

/* ---------------------------------------------------------
   8. ROADMAP / TIMELINE
--------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--pink), var(--cyan));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2.55rem;
  top: 1.1rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--text-muted);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.timeline-item.completed .timeline-dot {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.timeline-item.active .timeline-dot {
  border-color: var(--pink);
  background: var(--pink);
  box-shadow: var(--glow-pink);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,64,129,0.5); }
  50% { box-shadow: 0 0 0 10px rgba(255,64,129,0); }
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  transition: transform 0.2s, border-color 0.2s;
}
.timeline-item.active .timeline-card {
  border-color: rgba(255,64,129,0.5);
}
.timeline-card:hover { transform: translateX(6px); }

.timeline-phase {
  font-size: 0.75rem;
  font-family: var(--font-head);
  letter-spacing: 1px;
  color: var(--gold);             /* ✏️ Color de la etiqueta de fase */
  margin-bottom: 0.4rem;
}

.timeline-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.timeline-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.timeline-card li {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   9. TOKENOMICS
--------------------------------------------------------- */
.token-supply-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(0,191,255,0.25);
  border-radius: var(--radius);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.supply-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.supply-value {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--cyan);            /* ✏️ Color del supply display */
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.token-card {
  background: var(--bg-card);
  border: 1px solid var(--card-color, var(--pink));
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.token-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--card-color), transparent 60%);
  opacity: 0.06;
  pointer-events: none;
}
.token-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 24px var(--card-color);
}

.token-percent {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--card-color, var(--pink));
  line-height: 1;
  margin-bottom: 0.5rem;
}

.token-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.token-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.token-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.meta-label {
  font-size: 0.73rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.meta-val {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

/* ---------------------------------------------------------
   10. PREVENTA / PRESALE
--------------------------------------------------------- */
.presale {
  background: linear-gradient(180deg, #0b0b0b 0%, #0f0516 100%) !important;
}

.presale-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(255,64,129,0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 0 60px rgba(255,64,129,0.08);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
#progressPercent { color: var(--pink); font-weight: 700; }

.progress-bar-wrap {
  height: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}
.progress-bar-fill {
  height: 100%;
  width: 0%;                       /* Actualizado por JS */
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  border-radius: 50px;
  transition: width 1.5s ease;
}

.presale-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
}
.stat-label {
  font-size: 0.73rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.35rem;
}
.stat-value {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.stat-value.highlight { color: var(--pink); }

/* Instrucciones */
.presale-instructions {
  background: rgba(0,191,255,0.04);
  border: 1px solid rgba(0,191,255,0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.presale-instructions h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.presale-instructions ol {
  list-style: decimal;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.presale-instructions li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.presale-instructions strong { color: var(--text); }

/* Contrato */
.contract-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  word-break: break-all;
}
.contract-label { font-weight: 600; white-space: nowrap; }
.contract-address {
  color: var(--cyan);
  font-family: monospace;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.contract-address:hover { color: var(--pink); text-decoration: underline; }

.btn-presale {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

/* Countdown */
.countdown { text-align: center; }
.countdown-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.count-unit {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  min-width: 72px;
  text-align: center;
}
.count-unit span {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--pink);            /* ✏️ Color del contador */
  line-height: 1;
}
.count-unit small {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ---------------------------------------------------------
   11. FOOTER
--------------------------------------------------------- */
.footer {
  background: #070707;
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social-btn:hover {
  color: var(--pink);
  border-color: rgba(255,64,129,0.4);
  background: rgba(255,64,129,0.06);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.25rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.disclaimer {
  color: rgba(255, 200, 0, 0.55) !important;
}

/* ---------------------------------------------------------
   12. SCROLL-TO-TOP (botón automático)
--------------------------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-pink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   13. RESPONSIVE — Móviles
--------------------------------------------------------- */
@media (max-width: 768px) {
  .navbar { padding: 0.9rem 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 7rem 1.25rem 4rem;
  }
  .hero-buttons { justify-content: center; }
  .hero-image-wrap { max-width: 280px; }

  .timeline { padding-left: 1.5rem; }
  .timeline-item { padding-left: 1.5rem; }
  .timeline-dot { left: -2.1rem; }

  .presale-box { padding: 1.5rem; }
  .presale-stats { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-socials { justify-content: center; }

  .token-meta { grid-template-columns: 1fr 1fr; }
  .countdown-grid { gap: 0.5rem; }
  .count-unit { min-width: 60px; padding: 0.6rem 0.8rem; }
  .count-unit span { font-size: 1.3rem; }
}

@media (max-width: 420px) {
  .presale-stats { grid-template-columns: 1fr; }
  .token-meta { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.4rem; }
}
