@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;900&display=swap');

:root {
  --violet-deep: #1a0a2e;
  --violet-mid: #2d1060;
  --neon-pink: #ff2d78;
  --neon-pink-light: #ff6aaa;
  --gold: #ffd700;
  --gold-light: #ffe566;
  --text-light: #f0e6ff;
  --text-muted: #c9b8e8;
}

* { box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--violet-deep);
  color: var(--text-light);
  margin: 0;
  padding: 0;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink); }
  50% { box-shadow: 0 0 20px var(--gold), 0 0 40px var(--gold); }
}

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

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

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

@keyframes parallaxShift {
  0% { background-position: center 0%; }
  100% { background-position: center 20%; }
}

.glow-pulse { animation: glowPulse 2.5s ease-in-out infinite; }
.float-up { animation: floatUp 3s ease-in-out infinite; }
.sparkle { animation: sparkle 2s ease-in-out infinite; }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--neon-pink), #c2005a);
  color: #fff;
  font-weight: 700;
  padding: 0.85em 2em;
  border-radius: 2em;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 45, 120, 0.6);
}

.btn-secondary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #c8a200);
  color: #1a0a2e;
  font-weight: 700;
  padding: 0.85em 2em;
  border-radius: 2em;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.5);
}

.card-violet {
  background: linear-gradient(145deg, rgba(45, 16, 96, 0.9), rgba(26, 10, 46, 0.95));
  border: 1px solid rgba(255, 45, 120, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.prose {
  color: var(--text-light);
  line-height: 1.75;
  max-width: 100%;
}

.prose h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: var(--gold);
  margin-top: 1em;
  margin-bottom: 0.6em;
  border-bottom: 2px solid rgba(255, 215, 0, 0.2);
  padding-bottom: 0.3em;
}

.prose h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--neon-pink-light);
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}

.prose p {
  margin-bottom: 1.2em;
  color: var(--text-light);
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 600;
}

.prose a:hover { color: var(--gold-light); }

.prose ul, .prose ol {
  margin-left: 1.5em;
  margin-bottom: 1.2em;
}

.prose ul li { list-style: disc; margin-bottom: 0.4em; }
.prose ol li { list-style: decimal; margin-bottom: 0.4em; }

.prose blockquote {
  border-left: 4px solid var(--neon-pink);
  padding-left: 1em;
  margin: 1.5em 0;
  color: var(--text-muted);
  font-style: italic;
  background: rgba(255, 45, 120, 0.06);
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose img {
  max-width: 100%;
  border-radius: 0.75rem;
  margin: 1.5em auto;
  display: block;
}

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5em;
}

.prose th {
  background: rgba(255, 45, 120, 0.2);
  color: var(--gold);
  font-weight: 700;
  padding: 0.6em 1em;
  border: 1px solid rgba(255, 215, 0, 0.2);
  text-align: left;
}

.prose td {
  padding: 0.55em 1em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.03);
}

.prose tr:nth-child(even) td { background: rgba(255, 255, 255, 0.06); }

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4em 0.8em;
  border-radius: 0.5em;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid var(--neon-pink);
  color: var(--neon-pink);
  font-weight: 900;
  font-size: 0.75rem;
}

.overflow-x-auto { overflow-x: auto; }

.container-site {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) { .container-site { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-site { padding: 0 2.5rem; } }
