* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

body {
  background-color: #0c011b;
  color: #f0f0f0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* HERO */
.hero {
  position: relative;
  background: radial-gradient(circle at top left, #3f0071, #0a0013 80%);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(192,132,252,0.3), transparent 60%);
  animation: pulse 6s infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeIn 1.2s ease forwards;
}

.hero h1 {
  font-size: 3.5rem;
  color: #c084fc;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero h1 span {
  color: #fff;
}

.hero p {
  margin: 10px 0 25px;
  font-size: 1.2rem;
  color: #d8b4fe;
}

.btn {
  background: linear-gradient(90deg, #9333ea, #4f46e5);
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(147,51,234,0.6);
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  font-size: 1.5rem;
  color: #c084fc;
  animation: bounce 2s infinite;
}

/* SECCIONES */
section {
  padding: 90px 10%;
  text-align: center;
}

h2 {
  color: #c084fc;
  margin-bottom: 25px;
  font-size: 2.1rem;
  text-transform: uppercase;
}

/* ABOUT */
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.about-container p {
  max-width: 700px;
  text-align: center;
  line-height: 1.7;
}

.profile {
  width: 230px;
  border-radius: 50%;
  border: 3px solid #c084fc;
  box-shadow: 0 0 25px rgba(192,132,252,0.4);
}

/* BEATS */
.beat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.beat-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(147,51,234,0.3);
  box-shadow: 0 0 15px rgba(147,51,234,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.beat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(147,51,234,0.4);
}

.beat-card h3 {
  margin-bottom: 12px;
  color: #e9d5ff;
}

audio {
  width: 100%;
  outline: none;
  border-radius: 10px;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(147,51,234,0.4);
}

/* CONTACTO */
.contact {
  background: linear-gradient(135deg, #1a0033, #3f0071, #0a0013);
  padding: 100px 10%;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.contact p {
  color: #d8b4fe;
  margin-bottom: 25px;
}

/* FOOTER */
footer {
  background: #080010;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.footer-glow {
  position: absolute;
  top: -50px;
  left: 50%;
  width: 200px;
  height: 100px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(147,51,234,0.6), transparent 70%);
  filter: blur(40px);
}

.socials a {
  color: #c084fc;
  margin: 0 10px;
  text-decoration: none;
  transition: 0.3s;
}

.socials a:hover {
  text-shadow: 0 0 10px #c084fc;
}

/* ANIMACIONES */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes pulse {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.appear {
  opacity: 1;
  transform: translateY(0);
}
.beat-card {
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}

.beat-card:hover {
  transform: translateY(-5px);
}
/* ===== FIX DEFINITIVO SPOTIFY MOBILE ===== */
@media (max-width: 768px) {

  .beat-card {
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .beat-card:hover {
    transform: none !important;
  }

  .beat-card iframe {
    display: block;
    width: 100%;
    height: 152px;
    border-radius: 12px;
  }

}
@media (max-width: 768px) {
  .beat-card h3 {
    font-size: 1.1rem;
  }
}
