.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--site-bg); /* Assume var(--site-bg) is dark from shared.css */
}

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

.page-promotions__dark-section {
  background: var(--background-color, #B71C1C);
  color: var(--text-main, #FFF5E1);
}

.page-promotions__light-bg {
  background: var(--site-bg-light, #f8f9fa);
  color: #333333;
}

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  position: relative;
  overflow: hidden;
  padding-bottom: 50px;
}

.page-promotions__hero-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.page-promotions__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--gold-color, #F4D34D);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main, #FFF5E1);
}

.page-promotions__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-promotions__btn-secondary {
  background: #C91F17; /* Main color */
  color: var(--text-main, #FFF5E1);
  border: 2px solid var(--border-color, #F2B544);
  box-shadow: 0 4px 10px rgba(201, 31, 23, 0.3);
}

.page-promotions__btn-secondary:hover {
  background: #E53935; /* Auxiliary color */
  border-color: #FFCC66; /* Glow color */
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.5);
}

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  color: inherit;
  position: relative;
}

.page-promotions__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--border-color, #F2B544);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-promotions__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Welcome Bonus Section */
.page-promotions__welcome-bonus-section .page-promotions__section-title {
  color: var(--gold-color, #F4D34D);
}

.page-promotions__bonus-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--card-bg, #D32F2F);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 30px;
}

.page-promotions__bonus-image {
  flex-shrink: 0;
  width: 50%;
  max-width: 500px;
}

.page-promotions__bonus-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-promotions__bonus-content {
  flex-grow: 1;
  color: var(--text-main, #FFF5E1);
}

.page-promotions__bonus-title {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color, #F4D34D);
}

.page-promotions__bonus-description {
  font-size: 1.1em;
  margin-bottom: 25px;
}

/* Daily Promos Section */
.page-promotions__daily-promos-section .page-promotions__section-title {
  color: #333333;
}

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

.page-promotions__promo-item {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  color: #333333;
}

.page-promotions__promo-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-promotions__item-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #C91F17;
  padding: 0 15px;
}

.page-promotions__item-description {
  font-size: 1em;
  margin-bottom: 20px;
  padding: 0 15px;
  text-align: justify;
}

/* Game Specific Promos Section */
.page-promotions__game-specific-section .page-promotions__section-title {
  color: var(--gold-color, #F4D34D);
}

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

.page-promotions__game-card {
  background: var(--card-bg, #D32F2F);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  color: var(--text-main, #FFF5E1);
}

.page-promotions__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color, #F4D34D);
  padding: 0 15px;
}

.page-promotions__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  padding: 0 15px;
  text-align: justify;
}

/* Guide Section */
.page-promotions__guide-section .page-promotions__section-title {
  color: #333333;
}

.page-promotions__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__guide-step-item {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: #333333;
}

.page-promotions__step-icon img {
  width: 100%;
  
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.page-promotions__step-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #C91F17;
}

.page-promotions__step-description {
  font-size: 0.95em;
  text-align: justify;
}

/* FAQ Section */
.page-promotions__faq-section .page-promotions__section-title {
  color: var(--gold-color, #F4D34D);
}

.page-promotions__faq-list {
  margin-top: 40px;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color, #F2B544);
  overflow: hidden;
  background: var(--card-bg, #D32F2F);
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main, #FFF5E1);
}

details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: var(--deep-red-color, #7A0E0E);
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color, #F4D34D);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color, #F4D34D);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: var(--background-color, #B71C1C);
  border-radius: 0 0 5px 5px;
  color: var(--text-main, #FFF5E1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-promotions__section-title {
    font-size: 2.2em;
  }
  .page-promotions__bonus-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .page-promotions__bonus-image {
    width: 100%;
    max-width: 400px;
  }
  .page-promotions__bonus-title {
    font-size: 1.8em;
  }
  .page-promotions__promo-grid, .page-promotions__game-promo-cards, .page-promotions__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-promotions__hero-image img {
    object-fit: contain !important; /* HERO 主图区域: mobile object-fit:contain */
    aspect-ratio: unset !important;
    max-height: 400px;
  }

  .page-promotions__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  
  /* 所有图片的基础响应式样式 */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-promotions__text-block {
    font-size: 0.95em;
  }

  .page-promotions__bonus-card {
    padding: 15px;
    gap: 20px;
  }

  .page-promotions__bonus-title {
    font-size: 1.5em;
  }

  .page-promotions__promo-grid,
  .page-promotions__game-promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden; /* 产品展示图区域: overflow-x:hidden */
  }

  .page-promotions__promo-item img,
  .page-promotions__game-card img {
    
  }

  .page-promotions__item-title,
  .page-promotions__card-title {
    font-size: 1.3em;
  }

  .page-promotions__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__guide-step-item {
    padding: 20px;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
  }
  .page-promotions__faq-qtext {
    font-size: 15px;
  }
  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }
}