:root {
  --bg-950: #0a0416;
  --bg-900: #140a29;
  --bg-800: #1d0f3d;
  --card-glass: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --pink: #ff2ec4;
  --pink-soft: #ff7fe0;
  --purple: #9b3bff;
  --purple-deep: #5b1fb0;
  --gold: #ffd447;
  --gold-deep: #e8b923;
  --ink: #f3ecff;
  --muted: #b6a6d9;
  --glow-shadow: 0 0 24px rgba(255, 46, 196, 0.35), 0 0 48px rgba(155, 59, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--bg-950);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3 {
  font-family: 'Baloo 2', sans-serif;
  margin: 0;
}

a {
  color: inherit;
}

img, svg {
  max-width: 100%;
}

/* BACKGROUND FX */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.glow-pink {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -100px;
  background: var(--pink);
  animation: drift 22s ease-in-out infinite alternate;
}

.glow-purple {
  width: 560px;
  height: 560px;
  bottom: -180px;
  right: -160px;
  background: var(--purple);
  animation: drift 26s ease-in-out infinite alternate-reverse;
}

.glow-gold {
  width: 320px;
  height: 320px;
  top: 45%;
  left: 60%;
  background: var(--gold-deep);
  opacity: 0.18;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 6px;
  text-align: center;
}

.section-eyebrow.small {
  margin-top: 46px;
  color: var(--pink-soft);
}

.neon {
  color: var(--gold);
  text-shadow: 0 0 6px rgba(255, 212, 71, 0.7), 0 0 18px rgba(255, 46, 196, 0.5), 0 0 34px rgba(155, 59, 255, 0.4);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6vw;
  background: rgba(10, 4, 22, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 4, 22, 0.85);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.brand {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
}

.brand span {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--bg-950);
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(255, 212, 71, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(255, 212, 71, 0.7);
}

/* MARQUEE */
.marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: linear-gradient(90deg, var(--purple-deep), var(--pink));
  padding: 10px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: scroll-left 18s linear infinite;
}

.marquee-track span {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: #fff;
  padding-right: 4px;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* HERO */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 6vw 50px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text {
  flex: 1.2;
  min-width: 0;
}

.eyebrow {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 30px rgba(155, 59, 255, 0.35);
}

.subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 18px 0 14px;
  color: #fff;
}

.subtitle small {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

.bio {
  color: #d9cdef;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 26px;
}

.bio strong {
  color: var(--gold);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

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

.btn small {
  font-weight: 500;
  font-size: 0.72rem;
  opacity: 0.85;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: #1a0b2e;
  box-shadow: 0 0 22px rgba(255, 46, 196, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 0 34px rgba(255, 46, 196, 0.7);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 2px solid var(--purple);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  border-color: var(--pink);
  box-shadow: 0 0 18px rgba(255, 46, 196, 0.35);
}

.hero-art {
  position: relative;
  flex: 1;
  max-width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art .portrait {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  animation: float 5s ease-in-out infinite;
}

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

.disco-ball {
  position: absolute;
  top: -30px;
  right: 10px;
  width: 54px;
  height: 54px;
  z-index: 3;
  animation: spin 9s linear infinite, float 4s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.beam {
  position: absolute;
  top: -40px;
  width: 3px;
  height: 220px;
  background: linear-gradient(180deg, rgba(255, 212, 71, 0.55), transparent);
  transform-origin: top center;
  z-index: 1;
  animation: sway 6s ease-in-out infinite;
}

.beam-1 {
  left: 30%;
  transform: rotate(-18deg);
  animation-delay: 0s;
}

.beam-2 {
  right: 25%;
  background: linear-gradient(180deg, rgba(255, 46, 196, 0.5), transparent);
  transform: rotate(16deg);
  animation-delay: 1.2s;
}

@keyframes sway {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.confetti {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  left: var(--x);
  top: -10px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--c);
  animation: fall 3.4s var(--d) ease-in infinite;
  opacity: 0.9;
}

@keyframes fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.9; }
  100% { transform: translateY(340px) rotate(320deg); opacity: 0; }
}

/* SECTION SHARED */
section {
  position: relative;
  z-index: 1;
}

section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  text-align: center;
  line-height: 1.15;
}

/* PRESENTACIONES */
.presentaciones {
  padding: 70px 6vw 40px;
  text-align: center;
}

.residencia {
  max-width: 780px;
  margin: 38px auto 10px;
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 30px;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: var(--glow-shadow);
}

.tag-corta {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
}

.residencia-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  text-align: left;
}

.residencia-day {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-950);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.residencia h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 4px;
}

.residencia > .residencia-body > div > p {
  color: var(--muted);
  margin: 0 0 12px;
}

.residencia-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #e8ddff;
  font-size: 0.9rem;
  font-weight: 500;
}

.residencia-facts li::before {
  content: '✦ ';
  color: var(--gold);
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 24px auto 0;
}

.date-card {
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  color: var(--ink);
  border-radius: 18px;
  padding: 22px 16px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.date-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-shadow);
}

.date-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.date-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 2px;
}

.date-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

/* CONTENIDO */
.contenido {
  padding: 70px 6vw;
  text-align: center;
}

.contenido h2 {
  margin-bottom: 36px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto 24px;
}

.content-card {
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 26px 18px;
  text-decoration: none;
  color: var(--ink);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--glow-shadow);
}

.content-tag {
  display: inline-block;
  align-self: flex-start;
  color: #1a0b2e;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 10px;
}

.tag-pink { background: var(--pink); }
.tag-purple { background: var(--purple); color: #fff; }
.tag-gold { background: var(--gold); }

.content-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.ver-todo {
  display: inline-block;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.ver-todo:hover {
  text-decoration: underline;
}

/* SIGUEME */
.sigueme {
  padding: 70px 6vw;
  text-align: center;
}

.sigueme h2 {
  margin-bottom: 30px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 28px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--glow-shadow);
}

.link-card .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.link-card .icon svg {
  width: 22px;
  height: 22px;
}

.link-card.fb .icon { background: #1877f2; }
.link-card.ig .icon { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.link-card.sp .icon { background: #1db954; }
.link-card.tt .icon { background: #000; }
.link-card.yt .icon { background: #ff0000; }

.label {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.label strong {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.label small {
  font-size: 0.82rem;
  color: var(--muted);
}

.arrow {
  font-size: 1.1rem;
  color: var(--muted);
}

.embed {
  max-width: 560px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--glow-shadow);
}

.embed iframe {
  display: block;
}

/* CONTACTO */
.contacto {
  padding: 70px 6vw 90px;
  text-align: center;
}

.contacto h2 {
  margin-bottom: 10px;
}

.contacto-sub {
  color: var(--muted);
  margin: 0 0 34px;
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}

.contacto-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 26px 16px;
  text-decoration: none;
  color: var(--ink);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacto-card:not(.static):hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-shadow);
}

.contacto-card .icon {
  font-size: 1.6rem;
}

.contacto-card .label {
  align-items: center;
  text-align: center;
}

.contacto-card .label strong {
  color: #fff;
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--card-border);
  color: var(--ink);
  text-align: center;
  padding: 34px 6vw;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--bg-950);
  box-shadow: 0 0 16px rgba(255, 212, 71, 0.6);
}

footer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-art {
    max-width: 240px;
  }

  .nav-links {
    display: none;
  }

  .residencia-body {
    flex-direction: column;
    text-align: center;
  }

  .residencia-facts {
    align-items: center;
  }

  .dates-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacto-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
