/* ===== Hero ===== */
.home-hero-container {
  background-color: var(--celeste);
  width: 100%;
  height: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: none;
  overflow: hidden;
}

.hero-waves-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.home-hero-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 920px;
  padding: 0 20px;
}

.home-hero-left {
  width: 50%;
  flex-direction: column;
  justify-content: center;
  margin-left: 20px;
}

.home-hero-title {
  color: var(--azul);
  font-size: 52px;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 15px;
  z-index: 1;
  letter-spacing: -0.5px;
}

.home-hero-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  z-index: 1;
}

.home-hero-signup-link {
  color: var(--text-on-primary);
  background: var(--azul);
  z-index: 1;
  padding: 8px 23px;
  border-radius: 26px;
  border: 2px solid transparent;
  outline: none;
  font-weight: 600;
  font-size: 15px;
  margin-right: 5px;
  transition: var(--transition-fast);
  text-align: center;
  display: inline-block;
}

.home-hero-signup-link:hover {
  text-decoration: none;
  color: var(--azul);
  background: var(--celeste);
  border-color: var(--azul);
}

/* ===== Music grid ===== */
.home-padding {
  padding: 60px 40px;
}

.home-super-wrapper {
  background-color: var(--celeste);
}

.home-music-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-content: center;
  margin-top: -140px;
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
}

.home-music-column {
  background-color: var(--brillo1);
  border-radius: var(--radius-lg);
  padding-bottom: 60px;
  box-shadow: var(--shadow-lg);
  z-index: 1;
  overflow: hidden;
  min-width: 0;
}

.home-column-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  height: 60px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  margin-left: 12px;
  padding: 10px;
  color: var(--negro2);
}

/* ===== Info sections ===== */
.home-first-info {
  padding: 80px 20px;
  text-align: center;
}

.home-first-info h2 {
  font-size: 16px;
  color: var(--gris-claro1);
}

.home-info-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: var(--azul);
  letter-spacing: -0.5px;
}

.home-title-and-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0px;
}

.home-title-and-video-h1-wrapper {
  padding: 80px 20px;
  text-align: center;
  width: 100%;
}

.home-video-wrapper {
  width: calc(100% - 40px);
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.home-video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 122, 250, 0.18) 0%, rgba(88, 86, 214, 0.14) 100%);
  border-radius: var(--radius-lg);
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 1;
}

.home-video {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

/* ===== Random tags ===== */
.random-tags {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  justify-content: center;
  margin: 30px auto;
  margin-bottom: 120px;
  max-width: 1110px;
  padding: 0 20px;
}

.random-tag {
  border-radius: var(--radius-md);
  background-color: var(--brillo1);
  height: 80px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color var(--transition-base), transform var(--transition-base);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.random-tag:hover {
  background-color: var(--azul);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.random-tag a {
  color: var(--negro2);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8px;
}

.random-tag:hover a {
  color: var(--text-on-primary);
  text-decoration: none;
}

/* ===== Media queries ===== */
@media screen and (max-width: 1200px) {
  .home-padding {
    padding: 60px 30px;
  }
}

@media screen and (max-width: 992px) {
  .home-hero-container {
    height: 500px;
  }

  .home-hero-title {
    font-size: 42px;
  }

  .home-music-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    padding: 0 20px;
  }

  .home-padding {
    padding: 40px 20px;
  }

  .home-info-title {
    font-size: 32px;
  }

  .home-title-and-video-h1-wrapper {
    padding: 60px 20px;
  }

  .home-first-info {
    padding: 60px 20px;
  }
}

@media screen and (max-width: 650px) {
  .home-hero-container {
    height: 420px;
    margin-bottom: 80px;
  }

  .home-hero-wrapper {
    padding: 0 16px;
  }

  .home-hero-left {
    width: 100%;
    margin-left: 0;
  }

  .home-hero-title {
    font-size: 36px;
  }

  .home-hero-description {
    display: none;
  }

  .home-music-grid {
    max-width: 100%;
    padding: 0 16px;
  }

  .home-info-title {
    font-size: 26px;
  }

  .home-video-wrapper {
    width: calc(100% - 32px);
    border-radius: var(--radius-md);
  }

  .home-video {
    border-radius: var(--radius-md);
  }
}

@media screen and (max-width: 400px) {
  .home-hero-title {
    font-size: 30px;
  }

  .home-padding {
    padding: 30px 12px;
  }

  .home-music-grid {
    padding: 0 12px;
  }

  .home-first-info {
    padding: 40px 12px;
  }

  .random-tags {
    padding: 0 12px;
    margin-bottom: 80px;
    grid-template-columns: repeat(2, 1fr);
  }
}
