/* style/promotions.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */

/* --- Biến CSS cho màu sắc --- */
:root {
  --color-primary: #F2C14E; /* 主色调 */
  --color-secondary: #FFD36B; /* 辅助色 */
  --color-card-bg: #111111; /* Card BG */
  --color-background: #0A0A0A; /* 背景 */
  --color-text-main: #FFF6D6; /* Text Main */
  --color-border: #3A2A12; /* 边框 */
  --color-glow: #FFD36B; /* Glow */
  --gradient-button: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* 按钮 */
}

/* --- Base Styles --- */
.page-promotions {
  font-family: Arial, sans-serif;
  color: var(--color-text-main); /* Text Main for general text on dark body */
  background-color: var(--color-background); /* Body background is #0A0A0A */
  line-height: 1.6;
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__dark-section {
  background-color: var(--color-card-bg); /* Use Card BG for dark sections */
  color: var(--color-text-main); /* Ensure light text on dark background */
}

.page-promotions__center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --- Hero Section --- */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden; /* Prevent content overflow */
  background-color: var(--color-background);
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px; /* Limit height */
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  color: var(--color-primary);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-promotions__hero-description {
  font-size: 1.1rem;
  color: var(--color-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Section Titles & Descriptions --- */
.page-promotions__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promotions__section-description {
  font-size: 1rem;
  color: var(--color-text-main);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* --- Card Grid --- */
.page-promotions__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promo-card {
  background-color: var(--color-card-bg); /* Card BG */
  border: 1px solid var(--color-border); /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}