/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Cormorant Garamond', serif;
  background: #111111;
}

/* ===== ROTATE DEVICE OVERLAY ===== */
.rotate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: #111111;
}

.rotate-overlay__content {
  text-align: center;
  color: #E6D7C1;
  padding: 2rem;
}

.rotate-overlay__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  animation: rotateHint 2s ease-in-out infinite;
}

.rotate-overlay__text {
  font-size: 1.1rem;
  opacity: 0.9;
}

@keyframes rotateHint {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(90deg); }
}

@media (orientation: portrait) and (max-width: 768px) {
  .rotate-overlay.enabled {
    display: flex;
  }
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader__img {
  width: 120px;
  height: auto;
  display: block;
}

.loader__text {
  color: #E6D7C1;
  font-size: 0.85rem;
  margin-top: 1rem;
  opacity: 0.7;
  letter-spacing: 0.05em;
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.6;
  }
}

/* ===== HERO VIDEO ===== */
.hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: saturate(1.3);
}

/* ===== CONTENT WRAPPER (eye toggle) ===== */
.content-wrapper {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.content-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ===== CONTENT OVERLAY ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.overlay__content {
  text-align: center;
  color: #E6D7C1;
  padding: 2rem;
  max-width: 700px;
}

.overlay__logo {
  width: 600px;
  height: auto;
  margin-bottom: 1.5rem;
}

.overlay__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: #E6D7C1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.overlay__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.overlay__cta {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #E6D7C1;
  background: rgba(230, 215, 193, 0.15);
  border: 1.5px solid #E6D7C1;
  border-radius: 50px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, transform 0.2s ease;
}

.overlay__cta:hover {
  background: rgba(230, 215, 193, 0.3);
  transform: translateY(-2px);
}

.overlay__cta:active {
  transform: translateY(0);
}

/* ===== SECTIONS OVERLAY ===== */
.sections-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow-y: auto;
}

.sections-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sections-overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 3rem 2rem 5rem;
  gap: 4rem;
  position: relative;
}

/* ── Logo Block ── */
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.logo-block__img {
  width: 280px;
  height: auto;
}

.logo-block__wave {
  width: 100px;
  height: auto;
}

.logo-block__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #2AA7B3;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-top: 0.25rem;
}

/* ── Three Columns ── */
.columns {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
  width: 100%;
}

.columns__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 320px;
}

.columns__icon {
  width: 36px;
  height: 36px;
}

.columns__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #E6D7C1;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.columns__divider {
  display: block;
  width: 40px;
  height: 1px;
  background: #2AA7B3;
}

.columns__desc {
  font-family: 'Cairo', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: #E6D7C1;
  line-height: 1.7;
  opacity: 0.9;
  flex: 1;
}

.columns__btn {
  display: inline-block;
  margin-top: auto;
  padding: 0.55rem 1.8rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #2AA7B3;
  border: 1px solid #2AA7B3;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.1em;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}

.columns__btn:hover {
  background: #2AA7B3;
  color: #111111;
}

/* Vertical dividers */
.columns__vdivider {
  display: block;
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.15);
  min-height: 160px;
}

/* ── Sections Responsive ── */
@media (max-width: 768px) {
  .sections-overlay__inner {
    padding: 4rem 1.5rem 5rem;
    gap: 2.5rem;
  }

  .logo-block__img {
    width: 200px;
  }

  .logo-block__wave {
    width: 70px;
  }

  .columns {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .columns__col {
    max-width: 100%;
  }

  .columns__vdivider {
    display: none;
  }
}

/* ===== ALBUMS OVERLAY ===== */
.albums-overlay {
  position: fixed;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow-y: auto;
}

.albums-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.albums-overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem 5rem;
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  position: relative;
}

.albums-overlay__back {
  position: absolute;
  top: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: #E6D7C1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.albums-overlay__back:hover {
  opacity: 1;
}

.albums-overlay__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #E6D7C1;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.albums-overlay__divider {
  display: block;
  width: 40px;
  height: 1px;
  background: #2AA7B3;
}

.albums-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.album-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.album-card:hover {
  transform: translateY(-4px);
}

.album-card__cover {
  width: 180px;
  height: 180px;
  border: 1px solid rgba(42, 167, 179, 0.3);
  border-radius: 4px;
  overflow: hidden;
}

.album-card__cover svg {
  width: 100%;
  height: 100%;
}

.album-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: #E6D7C1;
  letter-spacing: 0.05em;
}

.album-card__year {
  font-family: 'Cairo', sans-serif;
  font-size: 0.75rem;
  color: #2AA7B3;
  opacity: 0.8;
}

.album-card__tracks {
  font-family: 'Cairo', sans-serif;
  font-size: 0.75rem;
  color: #E6D7C1;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .albums-overlay__inner {
    padding: 4rem 1.5rem 5rem;
  }

  .albums-overlay__back {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 20;
  }

  .albums-grid {
    gap: 2rem;
  }

  .album-card__cover {
    width: 140px;
    height: 140px;
  }
}

/* ===== ALBUM DETAIL ===== */
.album-detail {
  position: fixed;
  inset: 0;
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow-y: auto;
}

.album-detail.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.album-detail__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem 5rem;
  gap: 2rem;
  width: 100%;
  max-width: 700px;
  position: relative;
}

.album-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  width: 100%;
}

.album-detail__cover {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(42, 167, 179, 0.3);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.album-detail__cover svg {
  width: 100%;
  height: 100%;
}

.album-detail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-detail__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.album-detail__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #E6D7C1;
  letter-spacing: 0.05em;
}

.album-detail__meta {
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem;
  color: #2AA7B3;
  opacity: 0.9;
}

.album-detail__musicians {
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem;
  color: #E6D7C1;
  opacity: 0.7;
  line-height: 1.6;
}

.album-detail__studio {
  font-family: 'Cairo', sans-serif;
  font-size: 0.75rem;
  color: #E6D7C1;
  opacity: 0.5;
  margin-top: 0.25rem;
}

.album-detail__tracklist {
  width: 100%;
}

.album-detail__section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #2AA7B3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.album-detail__tracks {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: track;
}

.album-detail__tracks li {
  counter-increment: track;
  display: flex;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #E6D7C1;
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
}

.album-detail__tracks li::before {
  content: counter(track) '.';
  width: 2rem;
  color: #2AA7B3;
  opacity: 0.7;
  font-size: 0.75rem;
}

.album-detail__tracks li .track-name {
  flex: 1;
}

.album-detail__tracks li .track-duration {
  color: #E6D7C1;
  opacity: 0.5;
  font-size: 0.75rem;
  margin-left: 1rem;
}

@media (max-width: 768px) {
  .album-detail__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .album-detail__cover {
    width: 160px;
    height: 160px;
  }

  .album-detail__inner {
    padding: 4rem 1.5rem 5rem;
  }
}

/* ===== CONTACT OVERLAY ===== */
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow-y: auto;
}

.contact-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem 5rem;
  gap: 1.5rem;
  width: 100%;
  max-width: 500px;
  position: relative;
}

.contact-overlay__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #E6D7C1;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.contact-overlay__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.contact-overlay__detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem;
  color: #E6D7C1;
  opacity: 0.85;
}

.contact-overlay__detail a {
  color: #E6D7C1;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-overlay__detail a:hover {
  color: #2AA7B3;
}

.contact-overlay__text {
  font-family: 'Cairo', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: #E6D7C1;
  line-height: 1.7;
  opacity: 0.9;
  text-align: center;
  max-width: 380px;
}

/* ===== AUDIO PLAYER ===== */
.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: #111111;
}

.audio-player__btn {
  background: none;
  border: none;
  color: #E6D7C1;
  cursor: pointer;
  padding: 0.4rem;
  opacity: 0.8;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.audio-player__btn:hover {
  opacity: 1;
}

.audio-player__btn.shake {
  animation: gentleShake 5s ease-in-out infinite;
}

.audio-player__btn.is-muted {
  color: #2AA7B3;
}

@keyframes gentleShake {
  0% { transform: scale(1); }
  3% { transform: scale(1.3) rotate(-10deg); }
  6% { transform: scale(1.3) rotate(10deg); }
  9% { transform: scale(1.3) rotate(-8deg); }
  12% { transform: scale(1.2) rotate(8deg); }
  15% { transform: scale(1.1) rotate(-4deg); }
  18% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.audio-player__title {
  color: #E6D7C1;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-left: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-player__volume {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  background: rgba(230, 215, 193, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  display: none;
}

.audio-player__volume.visible {
  display: block;
}

.audio-player__volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #E6D7C1;
  border-radius: 50%;
  cursor: pointer;
}

.audio-player__volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #E6D7C1;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* ===== UTILITIES GROUP & MORE BUTTON ===== */
.audio-player__utilities {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audio-player__more-btn {
  display: none;
}

@media (max-width: 600px) {
  .audio-player__more-btn {
    display: flex;
  }

  .audio-player__utilities {
    position: absolute;
    bottom: 100%;
    right: 0.5rem;
    background: #111111;
    border: 1px solid rgba(230, 215, 193, 0.15);
    border-radius: 8px;
    padding: 0.5rem;
    gap: 0.3rem;
    display: none;
  }

  .audio-player__utilities.visible {
    display: flex;
  }
}

/* ===== TRACK INFO PANEL ===== */
.track-info {
  position: fixed;
  bottom: 44px;
  left: 0;
  right: 0;
  z-index: 99;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.track-info.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.track-info__content {
  background: #111111;
  border-top: 1px solid rgba(230, 215, 193, 0.15);
  padding: 1rem 1.5rem;
  color: #E6D7C1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.track-info__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #2AA7B3;
}

.track-info__detail {
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.4;
}

/* ===== TRACK LIST PANEL ===== */
.track-list {
  position: fixed;
  bottom: 44px;
  left: 0;
  right: 0;
  z-index: 98;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.track-list.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.track-list__content {
  background: #111111;
  border-top: 1px solid rgba(230, 215, 193, 0.15);
  padding: 0.8rem 1.5rem;
}

.track-list__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.track-list__item {
  padding: 0.5rem 0.8rem;
  color: #E6D7C1;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
}

.track-list__item:hover {
  background: rgba(230, 215, 193, 0.1);
}

.track-list__item.active {
  color: #2AA7B3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .loader__img {
    width: 80px;
  }

  .overlay__logo {
    width: 380px;
  }

  .overlay__cta {
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
  }
}
