/* =========================
   ROOT – MÀU SẮC & FONT
========================= */
:root {
  --bg: #0b0806;
  --panel: #1a1410;
  --text: #f0e8d6;
  --muted: #b9b0a6;
  --accent: #c7a76c;
  --accent-light: rgba(199,167,108,0.2);
  --transition: 0.4s;
  --card-shadow: 0 20px 40px rgba(0,0,0,0.3);
  --border-radius: 16px;
}

/* =========================
   RESET & GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* =========================
   BACKGROUND CINEMATIC + PARTICLES + OVERLAY
========================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(199,167,108,0.05), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(199,167,108,0.03), transparent 45%),
    linear-gradient(to bottom, #0b0806, #050403),
    radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px) repeat;
  background-size: auto, auto, auto, 50px 50px;
  pointer-events: none;
  z-index: -1;
  animation: moveParticles 60s linear infinite;
}

@keyframes moveParticles {
  0% { background-position: 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 0 0, 0 0, 0 0, 500px 500px; }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,9,6,0.15) 0%, rgba(12,9,6,0.5) 100%);
  pointer-events: none;
  z-index: 0;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  margin : 20px;
}

.navbar ul {
  display: flex;
  gap: 26px;
  list-style: none;
}

.navbar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 8px;
}

.navbar a:hover,
.navbar a.active {
  background: rgba(197,191,101,0.12);
  color: #fff;
}
/* =========================
   HERO VIDEO
========================= */
.video-wrap {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.video-overlay button {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: rgba(0,0,0,0.5);
  color: var(--accent);
  cursor: pointer;
  transition: all var(--transition);
}

.video-overlay button:hover {
  background: var(--accent-light);
  color: #fff;
  transform: scale(1.05);
}

.hero-content {
  position: absolute;
  bottom: 12vh;
  left: 8vw;
  color: var(--text);
  z-index: 3;
  max-width: 600px;
}

.hero-content h1 {
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: 4px;
  color: var(--accent);
  text-shadow: 0 0 60px rgba(199,167,108,0.5);
}

.hero-content p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.note {
  position: absolute;
  bottom: 4vh;
  left: 8vw;
  font-size: 14px;
  color: var(--muted);
  opacity: 0.8;
}

/* =========================
   STORY CARDS
========================= */
.story-container {
  max-width: 800px;
  margin: 140px auto 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 20px;
}

.story-card {
  background: rgba(255,255,255,0.03);
  border-left: 4px solid var(--accent);
  padding: 24px 20px;
  border-radius: var(--border-radius);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  backdrop-filter: blur(6px);
}

.story-card h2 {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 20px;
}

.story-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 28px rgba(255,215,180,0.3);
}

/* =========================
   TRANSITION
========================= */
.transition {
  max-width: 600px;
  margin: 120px auto;
  text-align: center;
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

/* =========================
   ARTIST GALLERY
========================= */

.artists-title {
  text-align: center;
  font-size: 38px;
  margin-left: 80px;
  margin-bottom: 50px;
  color: var(--accent);
}

.artists-scroll {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  padding: 20px 80px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.artist-card {
  flex: 0 0 200px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 12px;
  text-align: center;
  backdrop-filter: blur(8px);
  scroll-snap-align: start;
  transition: 0.3s ease;
}

.artist-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
}

.artist-card span {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
}

@media (hover: hover) {
  .artist-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 18px 35px rgba(255,215,180,0.35);
  }
}

/* =========================
   ARTIST POPUP
========================= */
.artist-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) scale(0.9);
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease-out;
  z-index: 9999;
}

.artist-popup.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  background: rgba(30,25,18,0.85); /* tối nhưng vàng xuyên qua */
  border: 1px solid rgba(199,167,108,0.4);
  backdrop-filter: blur(6px);
  color: var(--text-light);
  box-shadow: 0 10px 25px rgba(255,215,180,0.25);
}

.popup-body {
  display: flex;
  gap: 25px;
  height: 100%;
}

.popup-img {
  flex: 0 0 auto;
  width: 300px;
  aspect-ratio: 2 / 3;
}

.popup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(255,220,140,0.6);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.popup-info {
  flex: 1;
  overflow-y: auto;
  max-height: 500px;
}

.popup-info h3 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.popup-info p {
  line-height: 1.6;
  font-size: 1.1rem;
  white-space: pre-line;
}

.close-popup {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 28px;
  color: var(--accent);
  cursor: pointer;
  transition: transform var(--transition);
}

.close-popup:hover {
  transform: scale(1.2);
}

/* =========================
   END SECTION
========================= */
.end {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 120px 20px 80px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

/* =========================
   SHOW ANIMATIONS
========================= */
.story-card.show, .transition.show, .end.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero-content {
    left: 5vw;
    bottom: 10vh;
    max-width: 90%;
  }
  .hero-content h1 { font-size: clamp(28px, 8vw, 48px); }
  .hero-content p { font-size: 14px; }
  .note { font-size: 12px; left: 5vw; }
  .artists-title { margin-left: 20px; font-size: 26px; }
  .artists-scroll { padding: 20px; gap: 20px; }
  .artist-card { flex: 0 0 160px; }
  .artist-card img { height: 180px; }
  .popup-body { flex-direction: column; align-items: center; }
  .popup-img img { width: 90%; height: auto; }
  body::before, body::after { display: none; } /* nhẹ mobile */
  .artist-card:hover { transform: translateY(-5px) scale(1.03); }
  .story-card:hover { transform: translateY(-3px) scale(1.01); }
}
