/* =========================================================
   XANTOFOBICS — Rediseño 2026
   Inspirado en layout L'Impératrice, fondo amarillo Xanto.
   ========================================================= */

:root {
  --xanto: #ffd84d;
  --xanto-bright: #ffe87c;
  --xanto-deep: #e6b800;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --white: #f5f5f5;
  --mute: rgba(10, 10, 10, .5);
  --mute-light: rgba(10, 10, 10, .25);
  --sidebar-w: 110px;

  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --display: "Syne", "Inter", sans-serif;

  --ease: cubic-bezier(.22, .7, .1, 1);
  --ease-out: cubic-bezier(.15, .8, .4, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }

body {
  background: var(--xanto);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; color: inherit; font: inherit; }

/* ---------- SIDEBAR ---------- */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--ink);
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.sidebar__top,
.sidebar__mid,
.sidebar__bot {
  writing-mode: vertical-lr;
  transform: rotate(-180deg);
}

.sidebar__album {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: .04em;
  font-weight: 400;
  white-space: nowrap;
}

.sidebar__band {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--xanto);
  letter-spacing: .12em;
  white-space: nowrap;
}

.sidebar__meta {
  display: block;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 2;
  white-space: nowrap;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  height: 80px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 3rem;
  background: linear-gradient(to bottom, rgba(255,216,77,.95) 0%, rgba(255,216,77,0) 100%);
}

.navbar ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.navbar a {
  font-family: var(--display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity .3s var(--ease);
}

.navbar a:hover { opacity: .5; }

.nav-ig {
  border: 2px solid rgba(10, 10, 10, .25);
  border-radius: 9999px;
  padding: .35rem 1rem;
  font-size: .7rem !important;
  transition: all .3s var(--ease);
}

.nav-ig:hover {
  border-color: var(--ink);
  opacity: 1 !important;
  background: var(--ink);
  color: var(--xanto) !important;
}

/* ---------- MAIN CONTAINER ---------- */
.main {
  margin-left: var(--sidebar-w);
  background: var(--xanto);
  min-height: 100vh;
}

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

.hero__visual {
  position: relative;
  flex: 0 0 45%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,255,255,.35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(.95); opacity: .6; }
  100% { transform: scale(1.08); opacity: 1; }
}

.hero__cover {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 0 80px rgba(0,0,0,.12), 0 20px 60px rgba(0,0,0,.25);
  animation: float 6s ease-in-out infinite;
}

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

.hero__orb {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.orb--1 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(10,10,10,.06) 0%, transparent 70%);
  top: -20%; left: -10%;
  animation: drift 8s ease-in-out infinite;
}
.orb--2 {
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(10,10,10,.04) 0%, transparent 70%);
  bottom: -10%; right: -5%;
  animation: drift 10s ease-in-out infinite reverse;
}
.orb--3 {
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(10,10,10,.05) 0%, transparent 70%);
  top: 40%; right: -15%;
  animation: drift 7s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(15px, -20px); }
  50% { transform: translate(-10px, -5px); }
  75% { transform: translate(-15px, 15px); }
}

.hero__info {
  flex: 1;
  padding-left: 5rem;
  z-index: 2;
}

.hero__tag {
  font-family: var(--display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .6;
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .95;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: .5rem;
}

.hero__sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .35em;
  color: var(--mute);
  margin-bottom: 2.5rem;
}

/* ---------- BUTTONS ---------- */
.btn--pill {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: .85rem 2.2rem;
  transition: all .35s var(--ease);
  cursor: pointer;
}

.btn--white {
  background: var(--ink);
  color: var(--xanto);
  border: 2px solid var(--ink);
}
.btn--white:hover {
  background: transparent;
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(10, 10, 10, .35);
}
.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--xanto);
  border-width: 2px;
}

.btn--sm {
  padding: .5rem 1.4rem;
  font-size: .65rem;
}

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

/* ---------- SECTION TITLES ---------- */
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: -.02em;
  line-height: .9;
  color: var(--ink);
  text-align: center;
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.section-title--bg {
  color: rgba(10, 10, 10, .05);
  font-size: clamp(5rem, 12vw, 10rem);
  padding: 3rem 0 1rem;
  user-select: none;
}

.section-title--massive {
  font-size: clamp(3rem, 10vw, 8rem);
  color: rgba(10, 10, 10, .04);
  padding: 2rem 0 1rem;
  user-select: none;
}

/* ---------- MUSIC / SLIDER ---------- */
.music {
  position: relative;
  padding: 2rem 0 4rem;
  overflow: hidden;
}

.spotify-embed {
  max-width: 500px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.music__mariposa {
  position: absolute;
  top: -10%;
  right: 8%;
  width: 280px;
  height: 280px;
  z-index: 5;
  pointer-events: none;
  opacity: .5;
  animation: float-mariposa 14s ease-in-out infinite;
}

.music__mariposa svg {
  width: 100%;
  height: 100%;
}

@keyframes float-mariposa {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-20px, -30px) rotate(2deg); }
  50% { transform: translate(15px, -10px) rotate(-1deg); }
  75% { transform: translate(-10px, 20px) rotate(1deg); }
}

.slider {
  padding: 2rem 3rem;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.slider__track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .5rem 0 1.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slider__track::-webkit-scrollbar { display: none; }

.slider__card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  transition: transform .4s var(--ease);
}

.slider__card:hover { transform: translateY(-8px); }

.card__vinyl {
  position: relative;
  aspect-ratio: 1;
  overflow: visible;
  margin-bottom: 1rem;
}

.card__vinyl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

.card__vinyl-disc {
  position: absolute;
  right: -30px;
  top: 0;
  width: 90%;
  height: 100%;
  background: radial-gradient(circle at center,
    #111 0%, #111 18%,
    var(--xanto) 18.5%, var(--xanto) 19%,
    #222 19.5%, #111 20%,
    #1a1a1a 40%, #222 42%,
    #111 60%, #1a1a1a 62%,
    #222 80%, #111 82%);
  border-radius: 50%;
  z-index: 0;
  opacity: .85;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  transition: transform .5s var(--ease-out);
}

.slider__card:hover .card__vinyl-disc {
  transform: translateX(20px);
}

/* Mystery card (unreleased) */
.card__vinyl--locked {
  overflow: hidden;
  background: var(--ink);
}

.slider__card--mystery .card__blur {
  filter: blur(14px) brightness(.55);
  transform: scale(1.06);
  opacity: 1;
}

.card__mystery-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--xanto);
  text-shadow: 0 0 30px rgba(0,0,0,.5);
  pointer-events: none;
}

.card__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: .2rem;
}

.card__meta {
  font-family: var(--sans);
  font-weight: 300;
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
}

.slider__controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: .5rem 0;
}

.slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(10, 10, 10, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all .3s var(--ease);
}

.slider__btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--xanto);
}

/* ---------- TOUR ---------- */
.tour {
  padding: 4rem 3rem 6rem;
}

.tour__grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(10, 10, 10, .08);
}

.tour__card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 2rem;
  background: var(--xanto);
  transition: background .3s var(--ease);
}

.tour__card:hover { background: var(--xanto-bright); }

.tour__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.tour__month {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
}

.tour__year {
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--mute);
  margin-top: .2rem;
}

.tour__info { flex: 1; }

.tour__city {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
  color: var(--ink);
}

.tour__venue {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--mute);
  margin-top: .2rem;
}

.tour__soldout {
  font-family: var(--display);
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}

/* ---------- CONTACTO ---------- */
.contacto {
  padding: 2rem 3rem 6rem;
  text-align: center;
}

.contacto__inner {
  max-width: 800px;
  margin: 0 auto;
}

.contacto__ctas {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0 3rem;
  flex-wrap: wrap;
}

.cta-sticker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--ink);
  color: var(--xanto);
  font-family: var(--display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .15em;
  transform: rotate(-8deg);
  transition: all .4s var(--ease);
  position: relative;
}

.cta-sticker::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.cta-sticker:hover {
  background: transparent;
  color: var(--ink);
  transform: rotate(0deg) scale(1.05);
}
.cta-sticker:hover::after { opacity: .3; }

.cta-sticker--tilt {
  transform: rotate(6deg);
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.cta-sticker--tilt:hover {
  background: var(--ink);
  color: var(--xanto);
  border-color: var(--ink);
}

.contacto__socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.contacto__socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 10, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mute);
  transition: all .3s var(--ease);
}

.contacto__socials a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--xanto);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 3rem;
  text-align: center;
  border-top: 1px solid rgba(10, 10, 10, .08);
}

.footer__brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: .5rem;
}

.footer__copy {
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .1em;
  color: var(--mute);
  margin-bottom: .5rem;
}

.footer__contact {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .06em;
}

.footer__contact a {
  color: var(--mute);
  transition: color .3s ease;
}

.footer__contact a:hover { color: var(--ink); }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--xanto-bright);
  border: 1px solid rgba(10, 10, 10, .1);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  z-index: 100;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  transition: opacity .4s ease, transform .4s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.cookie-banner p {
  font-family: var(--sans);
  font-size: .72rem;
  line-height: 1.5;
  color: var(--mute);
}

.cookie-banner__btns {
  display: flex;
  gap: .6rem;
}

.cookie-banner button {
  flex: 1;
  font-family: var(--display);
  font-weight: 600;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .55rem 0;
  border-radius: 9999px;
  transition: all .3s ease;
}

#cookie-accept {
  background: var(--ink);
  color: var(--xanto);
  border: 1px solid var(--ink);
}
#cookie-accept:hover { background: transparent; color: var(--ink); }

#cookie-reject {
  background: transparent;
  color: var(--mute);
  border: 1px solid rgba(10, 10, 10, .15);
}
#cookie-reject:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 140px 2rem 4rem;
    gap: 3rem;
  }

  .hero__visual { flex: 0 0 auto; max-width: 350px; }

  .hero__info { padding-left: 0; }

  .hero__btns { justify-content: center; }

  .music__mariposa { width: 180px; height: 180px; right: -5%; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }

  .sidebar { display: none; }

  .navbar {
    left: 0;
    padding: 0 1.5rem;
    height: 64px;
  }

  .navbar ul { gap: 1.2rem; }

  .main { margin-left: 0; }

  .hero { padding: 100px 1.5rem 3rem; }

  .hero__visual { max-width: 260px; }

  .hero__title { font-size: 2.6rem; }

  .section-title { font-size: 2.5rem; }
  .section-title--bg { font-size: 3.5rem; }

  .slider { padding: 2rem 1.5rem; }

  .tour { padding: 3rem 1.5rem; }
  .tour__card { padding: 1.2rem 1.5rem; gap: 1rem; }

  .contacto { padding: 2rem 1.5rem 4rem; }

  .cookie-banner {
    left: 16px; right: 16px;
    bottom: 16px;
    max-width: none;
  }
}
