* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #000;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
}

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #000;
}

.hero-video,
.fallback-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  z-index: 1;
}

.fallback-image {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.video-ready .fallback-image {
  opacity: 0;
}

.video-failed .fallback-image {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.15), transparent 45%, rgba(0,0,0,.7));
}

.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
}

.album-logo {
  position: absolute;
  left: 50%;
  top: 55svh;
  width: auto;
  height: 30.27svh;
  transform: translate(-50%, -50%);
  display: block;
}

.platforms {
  position: absolute;
  left: 50%;
  bottom: 13%;
  transform: translateX(-50%);
  width: min(60vw, 1000px);

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 18px;
}

.platform-btn {
  flex: 0 0 calc((100% - 54px) / 4);
  max-width: 265px;
  height: auto;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .25s ease;
}

.platform-pandora {
  grid-column: auto;
}

.platform-btn {
  width: 100%;
  max-width: 265px;
  height: auto;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .25s ease;
}

.platform-btn:hover {
  transform: translateY(-3px);
}

.platform-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.platform-last {
  grid-column: 2;
}

.socials {
  position: absolute;
  left: 50%;
  bottom: 4.5%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}

.socials a:hover {
  transform: translateY(-3px);
}

.socials img {
  width: 22px;
  height: 22px;
  display: block;
}

.privacy-link {
  position: absolute;
  left: 28px;
  bottom: 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: 60%;
}

.privacy-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  html,
  body {
    overflow-y: auto;
  }

  .hero {
    min-height: 100svh;
    height: auto;
  }

  .hero-content {
    min-height: 100svh;
    padding: 20px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .album-logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    height: 20svh;
    margin-bottom: auto;
  }

   .platforms {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 95%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 10px;
    margin-top: auto;
    
  }

  .platform-btn {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .platform-last {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }

  .socials {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    gap: 22px;
    margin-top: 36px;
  }

  .socials img {
    width: 24px;
    height: 24px;
  }

  .privacy-link {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 24px;
    font-size: 13px;
    text-align: center;
  }
}