/* =================================
   FONTS
================================= */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@600&f[]=bricolage-grotesque@400,800&display=swap');

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

body {
  background: #000;
  font-family: 'Bricolage Grotesque', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* Scroll lock cuando panel está abierto */
body.panel-open {
  overflow: hidden;
}

/* =================================
   VIDEO
================================= */
.video-container {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =================================
   OVERLAY
================================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 10;
}

/* =================================
   SOCIALS
================================= */
.socials {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 30;
}

.socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.socials a:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
}

/* =================================
   BUTTONS
================================= */
.buttons {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 15px;
  z-index: 20;
}

.buttons button {
  font-family: 'General Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.buttons button:hover,
.buttons button.active {
  background: #fff;
  color: #000;
}

/* =================================
   PANELS
================================= */
.panel {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.panel.show {
  opacity: 1;
  pointer-events: auto;
}

/* =================================
   PANEL CONTENT
================================= */
.panel-content {
  width: 90%;
  max-width: 700px;
  padding: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;

  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.panel.show .panel-content {
  transform: translateY(0);
}

.panel-content h2 {
  font-family: 'General Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.panel-content p,
.panel-content ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.panel-content ul {
  list-style: none;
}

/* 🔥 Links estilo booking SOLO dentro de paneles */
.panel-content a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: opacity 0.3s ease;
}

.panel-content a:hover {
  opacity: 0.7;
}

.panel-content a:visited {
  color: #fff;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  cursor: pointer;
}

/* =================================
   TRA GRID
================================= */
.tra-grid {
  display: flex;
  gap: 30px;
}

.tra-column {
  flex: 1;
}

.tra-column h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

/* =================================
   BOOKING LINK
================================= */
.booking-mail {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* =================================
   FOOTER
================================= */
.site-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 6px 20px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'General Sans', sans-serif;
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  z-index: 40;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

/* columna izquierda vacía para balancear el centrado */
.footer-content::before {
  content: '';
}

.site-footer p {
  color: rgba(255,255,255,0.45);
  text-align: center;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.6;
}

.footer-content .footer-sep {
  display: none;
}

/* =================================
   RESPONSIVE
================================= */
@media (max-width: 780px) {

  /* Buttons */
  .buttons {
    top: auto;
    bottom: 38%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 20px;
  }

  .buttons button {
    width: 220px;
    font-size: 10px;
    padding: 11px 20px;
  }

  /* Socials */
  .socials {
    bottom: 60px;
  }

  /* Panel general */
  .panel-content {
    width: 95%;
    max-width: 95%;
    padding: 28px 20px 24px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 14px;
  }

  .panel-content h2 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  /* Trayectoria grid: columnas apiladas y compactas */
  .tra-grid {
    flex-direction: column;
    gap: 18px;
  }

  .tra-column h3 {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .panel-content li {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .residency-info {
    font-size: 0.82rem;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.7);
  }

  /* Footer mobile */
  .site-footer {
    padding: 6px 12px;
    font-size: 7.5px;
  }

  .footer-content {
    grid-template-columns: 1fr auto 1fr;
  }

  /* Botón cerrar más accesible en móvil */
  .close-button {
    top: 12px;
    right: 16px;
    font-size: 24px;
  }
}

@media (max-width: 400px) {
  .buttons button {
    width: 190px;
    font-size: 9.5px;
  }

  .socials a {
    width: 38px;
    height: 38px;
  }
}/* LISTAS CON ROMBO OUTLINE */

.panel-content ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.panel-content li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeList 0.5s ease forwards;
}

/* ROMBO */
.panel-content li::before {
  content: "◈";
  position: absolute;
  left: 0;
  top: 0;
  color: #2f80ff;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

/* HOVER */
.panel-content li:hover::before {
  color: #ffffff;
  transform: scale(1.3);
}

/* ANIMACIÓN DE APARICIÓN */
@keyframes fadeList {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* DELAY ESCALONADO */
.panel-content li:nth-child(1) { animation-delay: 0.05s; }
.panel-content li:nth-child(2) { animation-delay: 0.1s; }
.panel-content li:nth-child(3) { animation-delay: 0.15s; }
.panel-content li:nth-child(4) { animation-delay: 0.2s; }
.panel-content li:nth-child(5) { animation-delay: 0.25s; }
.panel-content li:nth-child(6) { animation-delay: 0.3s; }
.panel-content li:nth-child(7) { animation-delay: 0.35s; }

/* =================================
   SOUNDCLOUD PLAY BUTTON
================================= */
.sc-play-wrap {
  position: absolute;
  bottom: calc(38% + 10px); /* justo encima de los socials, debajo de los botones */
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
}

/* posición dinámica: entre .buttons (35% top) y .socials (bottom: 60px) */
/* la ubicamos en el medio vertical entre ambos */
.sc-play-wrap {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
}

.sc-play-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-family: 'General Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sc-play-btn:hover {
  background: rgba(255, 85, 0, 0.15);
  border-color: rgba(255, 85, 0, 0.6);
  color: #ff5500;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 85, 0, 0.2);
}

.sc-play-btn:hover .sc-play-icon {
  background: #ff5500;
  color: #fff;
}

.sc-play-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* pulsing dot when playing */
.sc-play-btn.playing .sc-play-icon {
  background: #ff5500;
  border-color: #ff5500;
  animation: scPulse 1.5s ease-in-out infinite;
}

.sc-play-btn.playing .sc-play-icon i {
  display: none;
}

.sc-play-btn.playing .sc-play-icon::after {
  content: '';
  display: flex;
  gap: 2px;
  align-items: center;
}

/* equalizer bars when playing */
.sc-play-btn.playing .sc-play-icon {
  position: relative;
}

.sc-play-btn.playing .sc-play-icon::before {
  content: '▮▮▮';
  font-size: 6px;
  letter-spacing: 1px;
  animation: eqBounce 0.6s ease-in-out infinite alternate;
}

@keyframes scPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,85,0,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(255,85,0,0); }
}

@keyframes eqBounce {
  from { transform: scaleY(0.6); }
  to   { transform: scaleY(1.2); }
}

.sc-play-btn.playing {
  border-color: rgba(255, 85, 0, 0.5);
  color: #ff5500;
  background: rgba(255, 85, 0, 0.1);
}

/* Responsive */
@media (max-width: 780px) {
  .sc-play-wrap {
    top: 52%;
  }

  .sc-play-btn {
    font-size: 10px;
    padding: 10px 18px;
    gap: 8px;
  }
}
