/* ===============================
   HOME PAGE (SLIDER + ANIMATION)
   =============================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  transition: transform 8s ease;
}

.hero-slider .slide.active img {
  transform: scale(1.05);
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 3;
  animation: fadeUp 1.2s ease-out;
}

.banner-content h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #f6e27f, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s infinite linear;
  white-space: nowrap;
}

.banner-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #f2f2f2;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37, #f9d976);
  color: #111;
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(212,175,55,0.4);
}

/* ===== NÚT ĐIỀU HƯỚNG SLIDE ===== */
.slider-nav {
  position: absolute;
  bottom: 25px;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  gap: 15px;
  z-index: 4;
}

.slider-nav button {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #f6e27f;
  font-size: 1.6rem;
  padding: 8px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.slider-nav button:hover {
  background: rgba(255,255,255,0.35);
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes shimmer {
  0% { text-shadow: 0 0 10px #f6e27f, 0 0 20px #d4af37; }
  50% { text-shadow: 0 0 25px #fff59d, 0 0 40px #f6e27f; }
  100% { text-shadow: 0 0 10px #f6e27f, 0 0 20px #d4af37; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .banner-content h2 {
    font-size: 1.8rem;
  }
  .banner-content p {
    font-size: 1rem;
  }
  .hero-slider {
    height: 380px;
  }
}
/* ==========================
   🎁 PHẦN VOUCHER NỔI BẬT
========================== */
/* ==============================
   ✨ VOUCHER NỔI BẬT - NÚT SỰ KIỆN
============================== */
.voucher-section {
  background: linear-gradient(180deg, #0e0e0e, #1a1a1a);
  text-align: center;
  padding: 70px 20px;
  color: #fff;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.05);
}

.voucher-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #ffd700, #fff7a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.voucher-section .small-text {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 25px;
}

/* ===== Nút voucher ===== */
.voucher-btn {
  background: linear-gradient(135deg, #ffd700, #ffb300);
  color: #111;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
  animation: pulseBtn 2s infinite;
}
.voucher-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 35px rgba(255, 235, 100, 0.6);
}
@keyframes pulseBtn {
  0%,100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 35px rgba(255, 255, 150, 0.8); }
}

/* ===== POPUP ===== */
.voucher-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.voucher-popup.show {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.popup-content {
  background: radial-gradient(circle, #fff7d6, #fff2b3, #ffea80);
  padding: 40px 60px;
  border-radius: 20px;
  color: #6b3f00;
  text-align: center;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.7);
  position: relative;
  animation: popIn 0.5s ease;
}
@keyframes popIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* Mã voucher */
.voucher-code-box {
  background: #fffbe6;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 25px auto;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(255, 210, 0, 0.5);
}
.voucher-code-box span {
  color: #a35c00;
}
.voucher-code-box button {
  background: linear-gradient(135deg, #ffb300, #ffd700);
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 600;
}
.voucher-code-box button:hover {
  background: #fff176;
}

/* Nút đóng */
.close-btn {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: 0.3s;
}
.close-btn:hover {
  background: #444;
  transform: scale(1.05);
}
