/* style/promotions.css */

/* --- Base Styles --- */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-promotions__container--center {
    text-align: center;
}

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

.page-promotions__section-title {
  font-size: 36px;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #FFD36B; /* Auxiliary color */
  border-radius: 2px;
}

.page-promotions__sub-title {
  font-size: 28px;
  color: #FFD36B;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__text-block--cta {
    font-size: 18px;
    margin-bottom: 30px;
}

.page-promotions__text-block--small {
    font-size: 14px;
    opacity: 0.8;
}

.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Buttons --- */
.page-promotions__cta-button,
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions a[class*="button"],
.page-promotions a[class*="btn"] {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__cta-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Card BG, but using for text for contrast */
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%); /* Glow color for hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Card BG, but using for text for contrast */
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%); /* Glow color for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color for border */
  margin-left: 20px;
}

.page-promotions__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A; /* Background color for text on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


/* --- Hero Section --- */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* 🚨 页头由 shared 的 body { padding-top: var(--header-offset); }承担；此处仅用小额顶距，禁止 var(--header-offset) 以免双倍空白 */
  padding-top: 10px; /* As per instruction */
  overflow: hidden; /* Ensure no overflow from image */
}

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

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-promotions__main-title {
  font-size: 48px;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 20px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border color */
}

.page-promotions__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.page-promotions__card img {
  width: 100%;
  height: 250px; /* Fixed height for cards */
  object-fit: cover;
  border-bottom: 1px solid #3A2A12; /* Border color */
}

.page-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 250px); /* Adjust height for content below image */
}

.page-promotions__card-title {
  font-size: 22px;
  color: #F2C14E; /* Main color */
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-description {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-promotions__card-button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Card BG for text contrast */
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__card-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%); /* Glow color for hover */
  transform: translateY(-2px);
}

/* --- Fishing Games Section --- */
.page-promotions__fishing-promo-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-promotions__fishing-promo-image {
    flex: 1;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid #3A2A12;
}

.page-promotions__fishing-promo-text {
    flex: 1;
    text-align: left;
}

.page-promotions__fishing-promo-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-promotions__fishing-promo-text li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    color: #FFF6D6;
}

.page-promotions__fishing-promo-text li::before {
    content: '⭐'; /* Unicode star or similar icon */
    position: absolute;
    left: 0;
    color: #FFD36B;
    font-size: 20px;
    line-height: 1;
}

.page-promotions__fishing-promo-text li strong {
    color: #F2C14E;
}


/* --- Benefits Section --- */
.page-promotions__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__benefit-item {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
  transition: background-color 0.3s ease;
}

.page-promotions__benefit-item:hover {
    background-color: rgba(17, 17, 17, 0.8);
}

.page-promotions__benefit-title {
  font-size: 24px;
  color: #FFD36B; /* Auxiliary color */
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__benefit-item p {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

/* --- FAQ Section --- */
.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E; /* Main color */
  font-weight: bold;
  font-size: 18px;
}

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: rgba(242, 193, 78, 0.1); /* Slight highlight on hover */
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: #0A0A0A; /* Background color for answer */
  border-top: 1px solid #3A2A12;
  color: #FFF6D6; /* Text Main */
  font-size: 16px;
  line-height: 1.7;
}

.page-promotions__faq-answer p {
    margin-top: 15px;
    margin-bottom: 0;
}

/* --- Final CTA Section --- */
.page-promotions__section--cta-final {
    background-color: #111111; /* Card BG */
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #3A2A12;
}

.page-promotions__section-title--cta {
    font-size: 40px;
    color: #F2C14E;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-promotions__cta-final-image {
    max-width: 800px;
    margin: 0 auto 40px auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #3A2A12;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 42px;
  }
  .page-promotions__hero-description {
    font-size: 18px;
  }
  .page-promotions__section-title {
    font-size: 32px;
  }
  .page-promotions__fishing-promo-content {
      flex-direction: column;
  }
  .page-promotions__fishing-promo-text {
      text-align: center;
  }
  .page-promotions__fishing-promo-text ul {
      text-align: left; /* Keep list items left-aligned */
      margin-left: auto;
      margin-right: auto;
      max-width: 500px; /* Constrain width for better readability */
  }
  .page-promotions__fishing-promo-text li::before {
      left: calc(50% - 250px); /* Adjust icon position for centered list */
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important; /* As per instruction */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-image img {
    border-radius: 8px;
  }
  .page-promotions__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-promotions__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-promotions__sub-title {
    font-size: 24px;
  }
  .page-promotions__text-block {
    font-size: 15px;
  }
  .page-promotions__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card img {
    height: 200px;
  }
  .page-promotions__card-title {
    font-size: 20px;
  }
  .page-promotions__card-description {
    font-size: 15px;
  }
  .page-promotions__card-button {
    padding: 10px 15px;
    font-size: 15px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-secondary {
    margin-left: 0;
  }
  .page-promotions__faq-list {
    margin-top: 30px;
  }
  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-promotions__faq-qtext {
    font-size: 16px;
  }
  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }
  .page-promotions__section--cta-final {
      padding: 60px 0;
  }
  .page-promotions__section-title--cta {
      font-size: 32px;
  }
  .page-promotions__cta-final-image {
      border-radius: 10px;
  }

  /* Responsive images and buttons for mobile */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure buttons are fully responsive */
  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column !important; /* Ensure vertical stacking for multiple buttons */
    gap: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 28px;
  }
  .page-promotions__section-title {
    font-size: 24px;
  }
  .page-promotions__hero-image img {
    border-radius: 6px;
  }
  .page-promotions__cta-final-image {
      border-radius: 8px;
  }
}