:root {
  --accent: #c5bf65;
  --nav-h: 64px;
}

/* ================= RESET ================= */
.navbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ================= DESKTOP ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 200;

  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar ul {
  display: flex;
  gap: 26px;
}

.navbar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;

  padding: 6px 12px;
  border-radius: 8px;
}

.navbar a:hover,
.navbar a.active {
  background: rgba(197,191,101,0.15);
  color: #fff;
}

/* ================= TOGGLE ================= */
.nav-toggle {
  display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .navbar {
    justify-content: flex-start;
    padding: 0;
    background: transparent;
    border: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    position: fixed;
    top: 12px;
    left: 12px;

    width: 44px;
    height: 44px;
    font-size: 26px;

    color: var(--accent);
    cursor: pointer;
    z-index: 3000;
  }

  .navbar ul {
    position: fixed;
    top: 0;
    left: 0;

    width: 220px;
    height: 100vh;

    padding-top: var(--nav-h);

    display: flex;
    flex-direction: column;

    background: rgb(25 12 0 / 91%);
    backdrop-filter: blur(12px);

    transform: translateX(-100%);
    transition: transform 0.35s ease;

    z-index: 2500;
  }

  .navbar ul.show {
    transform: translateX(0);
  }

  .navbar li {
    width: 100%;
  }

  .navbar a {
    display: flex;
    align-items: center;

    height: 48px;
    padding: 0 20px;

    font-size: 15px;
    border-bottom: 1px solid rgba(197,191,101,0.15);
    border-radius: 0;
  }

  .navbar a:hover,
  .navbar a.active {
    background: rgba(197,191,101,0.15);
    color: #fff;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 420px) {
  .navbar ul {
    width: 180px;
  }

  .navbar a {
    height: 44px;
    font-size: 14px;
    padding: 0 16px;
  }
}

/* ================= SAFE AREA (IPHONE) ================= */
@supports (padding-top: env(safe-area-inset-top)) {
  @media (max-width: 768px) {
    .navbar ul {
      padding-top: calc(var(--nav-h) + env(safe-area-inset-top));
    }

    .nav-toggle {
      top: calc(12px + env(safe-area-inset-top));
    }
  }
}
@media (max-width: 768px) {
  .video-wrap {
    height: 60vh; /* cao vừa đủ cho mobile */
  }
  .hero-content {
    left: 5vw;
    bottom: 10vh;
    max-width: 90%;
  }
  .hero-content h1 {
    font-size: clamp(24px, 6vw, 36px);
  }
  .hero-content p {
    font-size: 14px;
  }
  .note {
    font-size: 12px;
    left: 5vw;
  }
  .video-overlay button {
    padding: 10px 20px;
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .artists-title {
    font-size: 24px;
    margin-left: 10px;
    margin-bottom: 30px;
  }
  .artists-scroll {
    padding: 20px 10px;
    gap: 15px;
  }
  .artist-card {
    flex: 0 0 140px;
    padding: 8px;
  }
  .artist-card img {
    height: 160px;
  }
  .popup-body {
    flex-direction: column;
    align-items: center;
  }
  .popup-img img {
    width: 90%;
    height: auto;
  }
  .popup-info {
    max-height: 400px;
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .artist-popup .popup-content {
    width: 95%;
    max-width: 400px;
  }
}
@media (max-width: 768px) {
  .transition {
    margin: 60px 20px;
    font-size: 16px;
  }
  .end {
    margin: 60px 20px 40px;
    font-size: 12px;
  }
}
.mute-btn.mobile {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  z-index: 500;
}

@media (min-width: 769px) {
  .mute-btn.mobile { display: none; }
}
