/* ===== GLOBAL STYLES ===== */
html,
body {
  font-family: "Poppins", sans-serif;
}

body {
  position: relative;
  min-height: 200vh; /* Altura mínima para permitir scroll */
  background: linear-gradient(
    135deg,
    rgba(0, 20, 40, 0.95) 0%,
    rgba(0, 40, 60, 0.95) 100%
  );
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
  overscroll-behavior: none;
  padding-bottom: 100px; /* Space for footer player */
}

#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}

a {
  color: #00d9ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #00ffcc;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
  background: linear-gradient(
    135deg,
    rgba(0, 20, 40, 0.95) 0%,
    rgba(0, 40, 60, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 217, 255, 0.2);
  padding: 1rem 0;
}

.oasis-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00d9ff 0%, #00ffcc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d9ff, #00ffcc);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #00d9ff;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  pointer-events: none;
}

.hero-content {
  /* text-align: center; */
  padding: 2rem;
  padding-bottom: 20vh;
  animation: fadeInUp 1.5s ease-out;
  position: relative;
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-title {
  margin: 0;
  padding: 0;
  line-height: 0.9;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-line-1,
.hero-line-2 {
  display: block;
  font-size: clamp(4rem, 18vw, 20rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #00d9ff 0%, #00ffcc 50%, #00d9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(0, 217, 255, 0.3);
  animation: gradientShift 3s ease infinite;
  background-size: 200% 200%;
}

.hero-line-1 {
  animation-delay: 0.2s;
}

.hero-line-2 {
  animation-delay: 0.4s;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 2s ease-out 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-content {
    padding: 1rem;
    padding-bottom: 60vh;
  }

  .hero-title {
    gap: 0.5rem;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    margin-top: 1rem;
    letter-spacing: 0.05em;
  }
}

/* ===== MUSIC STYLES SECTION ===== */
.music-styles-section {
  position: relative;
  z-index: 10;
  background: transparent;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.style-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.style-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.style-card:hover .card-icon {
  transform: scale(1.2) rotate(5deg);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.6s ease;
  z-index: -1;
}

.style-card:hover .card-glow {
  width: 300px;
  height: 300px;
  opacity: 0.2;
}

/* Specific Styles */
.urbano .card-icon {
  color: #ff0055;
}
.urbano .card-glow {
  background: radial-gradient(circle, #ff0055 0%, transparent 70%);
}

.pop .card-icon {
  color: #00d9ff;
}
.pop .card-glow {
  background: radial-gradient(circle, #00d9ff 0%, transparent 70%);
}

.electro .card-icon {
  color: #ccff00;
}
.electro .card-glow {
  background: radial-gradient(circle, #ccff00 0%, transparent 70%);
}

.popular .card-icon {
  color: #ffaa00;
}
.popular .card-glow {
  background: radial-gradient(circle, #ffaa00 0%, transparent 70%);
}

.vallenato .card-icon {
  color: #ffd700;
}
.vallenato .card-glow {
  background: radial-gradient(circle, #ffd700 0%, transparent 70%);
}

.salsa .card-icon {
  color: #ff3300;
}
.salsa .card-glow {
  background: radial-gradient(circle, #ff3300 0%, transparent 70%);
}

.baladas .card-icon {
  color: #ff66b2;
}
.baladas .card-glow {
  background: radial-gradient(circle, #ff66b2 0%, transparent 70%);
}

.rock .card-icon {
  color: #9933ff;
}
.rock .card-glow {
  background: radial-gradient(circle, #9933ff 0%, transparent 70%);
}

/* ===== AUDIO PLAYER FOOTER ===== */
.audio-player-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 30, 50, 0.98) 0%,
    rgba(20, 40, 60, 0.98) 100%
  );
  backdrop-filter: blur(20px);
  border-top: 2px solid rgba(0, 217, 255, 0.3);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
  padding: 0;
  height: 90px;
  z-index: 1000 !important;
}

.player-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  position: relative;
}

/* ===== SONG INFO (LEFT) ===== */
.song-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 50%;
}

.song-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-artist {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== PLAY BUTTON (CENTER - ELEVATED) ===== */
.play-button-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -40%; /* Sobresale 40% hacia arriba */
  z-index: 10;
}

.play-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d9ff 0%, #00a8cc 100%);
  border: 4px solid rgba(10, 30, 50, 0.98);
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4), 0 0 0 0 rgba(0, 217, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.play-button i {
  font-size: 1.5rem;
  color: #fff;
  margin-left: 3px; /* Ajuste visual para el ícono de play */
}

.play-button.playing i {
  margin-left: 0;
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 35px rgba(0, 217, 255, 0.6),
    0 0 0 8px rgba(0, 217, 255, 0.2);
}

.play-button:active {
  transform: scale(0.95);
}

.play-button.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

.play-button.loading i {
  margin-left: 0;
}

.play-button:disabled {
  cursor: not-allowed;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4),
      0 0 0 0 rgba(0, 217, 255, 0.5);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4),
      0 0 0 15px rgba(0, 217, 255, 0);
  }
}

/* ===== VOLUME CONTROL (RIGHT) ===== */
.volume-control {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.volume-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(0, 217, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.volume-button i {
  font-size: 1.2rem;
  color: #00d9ff;
}

.volume-button:hover {
  background: rgba(0, 217, 255, 0.2);
  border-color: #00d9ff;
  transform: scale(1.05);
}

/* ===== VERTICAL VOLUME SLIDER ===== */
.volume-slider-container {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 40, 60, 0.98) 0%,
    rgba(30, 50, 70, 0.98) 100%
  );
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.volume-slider-container.show {
  width: 70px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.volume-slider {
  -webkit-appearance: slider-vertical;
  appearance: slider-vertical;
  width: 8px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  writing-mode: bt-lr; /* IE */
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d9ff, #00ffcc);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 217, 255, 0.5);
  transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.7);
}

.volume-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d9ff, #00ffcc);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 217, 255, 0.5);
  transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.7);
}

.volume-percentage {
  font-size: 0.9rem;
  font-weight: 600;
  color: #00d9ff;
  text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }

  .audio-player-footer {
    height: 80px;
  }

  .player-container {
    padding: 0 1rem;
  }

  .song-info {
    max-width: 60%;
  }

  .song-title {
    font-size: 0.95rem;
  }

  .song-artist {
    font-size: 0.8rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button i {
    font-size: 1.3rem;
  }

  .volume-button {
    width: 40px;
    height: 40px;
  }

  .volume-button i {
    font-size: 1rem;
  }

  .volume-slider-container {
    right: -10px;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 90px;
  }

  .audio-player-footer {
    height: 90px;
  }

  .player-container {
    padding: 0 0.75rem;
  }

  .song-info {
    max-width: 70%;
  }

  .song-title {
    font-size: 0.85rem;
  }

  .song-artist {
    font-size: 0.75rem;
  }

  .play-button {
    width: 55px;
    height: 55px;
  }

  .play-button i {
    font-size: 1.2rem;
  }

  .volume-slider {
    height: 100px;
  }
}

/* ===== LEGACY STYLES (Compatibility) ===== */
#info {
  position: absolute;
  top: 0px;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

a,
button,
input,
select {
  pointer-events: auto;
}

.lil-gui {
  z-index: 2 !important;
}

@media all and (max-width: 640px) {
  .lil-gui.root {
    right: auto;
    top: auto;
    max-height: 50%;
    max-width: 80%;
    bottom: 0;
    left: 0;
  }
}

#overlay {
  position: absolute;
  font-size: 16px;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.7);
}

#overlay button {
  background: transparent;
  border: 0;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 4px;
  color: #ffffff;
  padding: 12px 18px;
  text-transform: uppercase;
  cursor: pointer;
}

#notSupported {
  width: 50%;
  margin: auto;
  background-color: #f00;
  margin-top: 20px;
  padding: 10px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  position: relative;
  padding: 6rem 2rem;
  margin-top: 6rem;
  background: linear-gradient(
    135deg,
    rgba(0, 30, 50, 0.8),
    rgba(0, 50, 70, 0.85)
  );
  border-top: 2px solid rgba(0, 217, 255, 0.15);
  border-bottom: 2px solid rgba(0, 217, 255, 0.15);
  backdrop-filter: blur(20px);
  text-align: center;
  z-index: 20;
}

.contact-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #00d9ff;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
  margin-bottom: 1rem;
}

.contact-title span {
  display: block;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 300;
}

.contact-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 1rem auto 3rem auto;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 1rem 2rem;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.25);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

.email-btn {
  background: linear-gradient(135deg, #00d9ff, #00aacc);
  color: #fff;
}

.email-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.music-btn {
  background: linear-gradient(135deg, #00d9ff, #00aacc);
  color: #fff;
}

.music-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-title {
    font-size: 2.2rem;
  }
  .contact-title span {
    font-size: 1.6rem;
  }
  .contact-btn {
    width: 100%;
    max-width: 400px;
  }
}

.logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo_player {
  width: 60px;
  height: 60px;
  margin-right: 10px;
}

/* === LIVE RED DOT INDICATOR === */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 2px;
}

.live-dot {
  width: 10px;
  height: 10px;
  background: #ff2b2b;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 50, 50, 0.7);
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 6px rgba(255, 50, 50, 0.5);
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 16px rgba(255, 50, 50, 0.9);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 6px rgba(255, 50, 50, 0.5);
  }
}

.live-text {
  color: #ff4d4d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
