:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 3.9%;
  --primary: 51 90% 45%;
  --accent: 120 61% 40%;
}

html.dark {
  --background: 146 30% 15%;
  --foreground: 146 10% 85%;
  --primary: 51 100% 50%;
  --accent: 120 61% 50%;
}

html,
body {
  height: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  color: hsl(var(--foreground));
  background: url('./images/background.webp') center top / cover no-repeat fixed;
  min-height: 100vh;
} 

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.7) 30%,
      rgba(0, 0, 0, 0.5) 60%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 0;
  pointer-events: none;
}

body>* {
  position: relative;
  z-index: 1;
}

/* ----- Tipografía ----- */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h3 {
  font-size: 1.2rem;
  color: #ffd700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

/* ----- Logo ----- */
.logo-image {
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.logo-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.diegol-text {
  background: linear-gradient(90deg, #ffffff, #f7f7f7, #ffffff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
    0 0 30px rgba(255, 255, 255, 0.2);
}

.play-text {
  color: #00ff88;
  text-shadow: 0 0 15px rgba(0, 255, 100, 0.8),
    0 0 30px rgba(0, 255, 100, 0.4),
    0 0 50px rgba(0, 255, 100, 0.2);
  animation: pulse-green 2s infinite ease-in-out;
}

/* ----- Animaciones ----- */
@keyframes pulse-green {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* ----- Botón WhatsApp ----- */
.btn-whatsapp:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

/* ----- Footer ----- */
footer {
  font-size: 0.9rem;
  color: #c6b86e;
  text-align: center;
  padding: 1rem 0;
}

/* ----- Utilidades ----- */
.text-foreground {
  color: hsl(var(--foreground));
}

.text-foreground\/80 {
  color: hsl(var(--foreground) / 0.8);
}

@keyframes spin {
  0% {
    transform: rotateY(0deg);
  }

  75% {
    transform: rotateY(360deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.flip {
  animation: spin 2s cubic-bezier(.4, 0, .67, 1) infinite
}