:root {
  --yellow: #ffff33;
  --purple: #6f00ff;
  --dark: #000;
  --glass: rgba(10,10,10,0.85);
  --wsp-green: #25D366;
}

/* RESET */
*{margin:0;padding:0;box-sizing:border-box;}
body {
  font-family: 'Poppins', sans-serif;
  color: white;
  overflow-x: hidden;
  background: #000;
  min-height: 100vh;
  animation: fadeInBody 1.2s ease-in-out; /* efecto general de entrada */
}
@keyframes fadeInBody {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* CANVAS BACKGROUND */
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* TARJETA PRINCIPAL */
.glass-card {
  background: var(--glass);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255,255,100,0.1);
  max-width: 480px;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: cardEntry 1s ease forwards 0.3s;
}
@keyframes cardEntry {
  to { opacity: 1; transform: translateY(0); }
}

/* LOGO */
.logo {
  width: 150px;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px var(--yellow));
  animation: pulseLogo 3s infinite ease-in-out;
}
@keyframes pulseLogo {
  0%,100% { filter: drop-shadow(0 0 10px var(--yellow)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 25px var(--purple)); transform: scale(1.05); }
}

/* TEXTO */
.brand-title {
  font-weight: 600;
  font-size: 1.4rem;
  margin-top: .6rem;
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(255,255,150,0.6);
  animation: fadeUp 1s ease forwards 0.6s;
  opacity: 0;
}
.text-glow {
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(255,255,150,0.8);
  font-weight: 500;
  animation: fadeUp 1s ease forwards 0.8s;
  opacity: 0;
}

/* animación general para texto y botones */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* BOTONES */
.links-container { 
  display: grid; 
  gap: 1rem; 
  animation: fadeUp 1s ease forwards 1s; 
  opacity: 0;
}
.btn-custom {
  border: none;
  border-radius: 50px;
  padding: .9rem 1.4rem;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  transition: 0.3s;
}
.btn-custom:hover { transform: translateY(-3px); filter: brightness(1.2); }

.btn-wsp { background: var(--wsp-green); }
.btn-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.btn-fb { background: #1877F2; }
.btn-tt { background: linear-gradient(45deg,#000,#69C9D0,#EE1D52); }
.btn-photos { background: linear-gradient(45deg,var(--purple),var(--yellow)); font-weight: 600; }

/* MAPA */
.map-container {
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 1rem;
  animation: fadeUp 1s ease forwards 1.2s;
  opacity: 0;
}
.location-icon {
  color: var(--yellow);
  font-size: 1.3rem;
}

/* WHATSAPP */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--wsp-green);
  color: #fff;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  z-index: 1000;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%{transform:scale(1);}50%{transform:scale(1.1);}100%{transform:scale(1);}
}
.tooltip-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: .9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: .2s;
}
.tooltip-whatsapp.show { opacity: 1; transform: translateY(0); }

/* MODAL */
.modal-content {
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.carousel-item img {
  border-radius: 10px;
  max-height: 70vh;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width:576px){
  .glass-card{padding:1.5rem;margin:1rem;}
  .logo{width:130px;}
  .btn-custom{font-size:0.9rem;padding:0.8rem 1rem;}
  .brand-title{font-size:1.2rem;}
}

/* Ajuste visual del reproductor Plyr para coincidir con tu estilo */
/* Ajuste uniforme del carrusel */
.media-item {
  max-height: 400px; /* altura máxima controlada */
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.5);
}

/* En pantallas pequeñas */
@media (max-width: 576px) {
  .media-item {
    max-height: 280px;
  }
}

/* Suaviza la transición entre elementos */
.carousel-item {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
