@keyframes fadeInVibe {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

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

.vibe-animate {
  opacity: 1;
}

.vibe-animate.animate {
  animation: fadeInVibe 1s 0.1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* ========== VIBE / MEDIA SECTION ========== */

.vibe-section {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: #0a0500;
}

.vibe-container {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 40px);
  background: #100c07;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3vh 0 0;
}

.vibe-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 2.5vh;
  width: auto;
  margin-bottom: 2vh;
}

.vibe-tabs .chip {
  flex: none;
  /* Override the global flex: 1 */
  width: auto;
  min-width: 140px;
  height: 45px;
  border: 1px solid rgba(224, 185, 115, 0.4);
  border-radius: 100px;
  padding: 0 25px;
  font-size: 0.95rem;
}

.vibe-tabs .chip-active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.vibe-media {
  width: 100%;
  max-width: 98%;
  margin: 2vh auto 0;
  display: flex;
  flex-direction: column;
}

.vibe-video-wrapper {
  display: grid;
  place-items: center;
  width: 83.33vw;
  height: 83.33vh;
  margin: 20px auto;
  border-radius: 30px;
  overflow: hidden;
}

.vibe-video-wrapper img,
.vibe-video-wrapper video {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.play-btn {
  grid-area: 1 / 1;
  position: relative;
  /* Changed from absolute, centered by grid parent */
  width: 80px;
  height: 80px;
  background: rgba(224, 185, 115, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 2;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #e0b973;
}

.play-btn img {
  width: 24px;
  margin-left: 5px;
}

@media (max-width: 1023px) {
  /* Let global .section handle centering (margin: 5vh 20px, width: auto) */

  .vibe-container {
    background: #100c07;
    padding: 35px 20px;
    min-height: auto;
    border-radius: 20px;
    text-align: left;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
  }

  .vibe-header {
    width: 100%;
    margin-bottom: 25px;
    text-align: left;
  }

  .vibe-header h2 {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
    line-height: 1.3;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
  }

  .vibe-tabs {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    padding: 0;
    margin-bottom: 25px;
  }

  .vibe-tabs .chip {
    flex: 1 1 calc(50% - 12px);
    min-width: 0;
    padding: 0 10px;
    height: 42px;
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .vibe-video-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin-top: 10px;
    border-radius: 15px;
    box-sizing: border-box;
  }

  .vibe-video-wrapper video,
  .vibe-video-wrapper img {
    border-radius: 15px;
    width: 100%;
  }

  #vibe-play-btn {
    width: 60px !important;
    height: 60px !important;
  }
}