/* style/promotions.css */
/* 
  Màu sắc chủ đạo: #FFD700 (Vàng kim)
  Màu sắc phụ: #8B0000 (Đỏ đậm)
  Màu chữ chính: #333333 (Đen xám) trên nền sáng
  Màu chữ phụ: #FFFFFF (Trắng) trên nền tối hoặc màu thương hiệu
*/

/* Biến CSS cho màu sắc */
:root {
  --primary-color: #FFD700; /* Vàng kim */
  --secondary-color: #8B0000; /* Đỏ đậm */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-white: #ffffff;
  --border-color: #e0e0e0;
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Mặc định chữ tối trên nền sáng */
  background-color: var(--background-light); /* Nền sáng */
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color); /* Tiêu đề dùng màu đỏ đậm */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.page-promotions__section-description {
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
}

/* CTA Buttons Global Style */
.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Cho phép các nút xuống dòng trên di động */
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: nowrap; /* Ngăn nút bị ngắt dòng */
}

.page-promotions__cta-button--primary {
  background: var(--primary-color); /* Vàng kim */
  color: var(--text-light); /* Chữ trắng */
}

.page-promotions__cta-button--primary:hover {
  background: #e6c100; /* Vàng kim đậm hơn */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button--secondary {
  background: var(--background-white); /* Nền trắng */
  color: var(--secondary-color); /* Chữ đỏ đậm */
  border: 2px solid var(--secondary-color);
}

.page-promotions__cta-button--secondary:hover {
  background: var(--secondary-color); /* Đỏ đậm */
  color: var(--text-light); /* Chữ trắng */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.page-promotions__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Kế thừa từ shared.css */
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Gradient nền theo màu thương hiệu */
}

.page-promotions__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background-color: #000; /* Nền đen cho video */
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Ngăn video controls chặn sự kiện click */
}

.page-promotions__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-promotions__video-link:hover .page-promotions__video-overlay {
  opacity: 1;
}

.page-promotions__video-click-hint {
  color: var(--text-light);
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(139, 0, 0, 0.8); /* Màu đỏ đậm */
  border-radius: 8px;
  white-space: nowrap;
}

.page-promotions__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-promotions__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--primary-color); /* Vàng kim */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-promotions__play-now-button:hover {
  background: #e6c100; /* Vàng kim đậm hơn */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Title Section */
.page-promotions__title-section {
  background: var(--background-white); /* Nền trắng */
  padding: 80px 20px;
  text-align: center;
}

.page-promotions__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__main-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--secondary-color); /* Đỏ đậm */
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-promotions__title-description {
  font-size: 20px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Current Promotions Section */
.page-promotions__current-promotions-section {
  background: linear-gradient(to bottom, var(--background-light), var(--background-white));
  padding: 80px 0;
}

.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__promo-card {
  background: var(--background-white);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-promotions__promo-card-image {
  width: 100%;
  height: 250px; /* Cố định chiều cao cho hình ảnh thẻ */
  object-fit: cover;
  display: block;
}

.page-promotions__promo-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__promo-card-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__promo-card-title a:hover {
  color: var(--primary-color);
}

.page-promotions__promo-card-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}