/* style/promotions.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --light-bg-1: #f8f9fa;
  --light-bg-2: #e9ecef;
  --border-color: #e0e0e0;
  --dark-bg-1: #0d0d0d; /* Assuming this is the body background from shared.css */
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
}

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

.page-promotions__intro-section {
  padding: 80px 0 60px; /* Base padding */
  background: linear-gradient(135deg, var(--primary-color), #0A2463);
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 120px; /* Desktop fixed navbar spacing */
}

.page-promotions__main-title {
  font-size: 3.2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-promotions__description {
  font-size: 1.2em;
  color: var(--text-color-light);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__intro-image-wrapper {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__intro-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions__cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #FF6F61, #FF9C7A); /* Vibrant orange/red gradient */
  color: var(--text-color-light);
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 111, 97, 0.4);
  border: none;
}

.page-promotions__cta-button:hover {
  background: linear-gradient(90deg, #FF4F4F, #FF8A65); /* Darker gradient on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 111, 97, 0.6);
}

.page-promotions__new-member-section,
.page-promotions__weekly-monthly-section,
.page-promotions__vip-section,
.page-promotions__guide-section,
.page-promotions__news-section,
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: var(--light-bg-1); /* Light background for content sections */
  color: var(--text-color-dark); /* Dark text on light background */
  border-top: 1px solid var(--border-color);
}

.page-promotions__new-member-section h2,
.page-promotions__weekly-monthly-section h2,
.page-promotions__vip-section h2,
.page-promotions__guide-section h2,
.page-promotions__news-section h2,
.page-promotions__faq-section h2 {
  color: var(--primary-color);
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__new-member-section p,
.page-promotions__weekly-monthly-section p,
.page-promotions__vip-section p,
.page-promotions__guide-section p,
.page-promotions__news-section p,
.page-promotions__faq-section p {
  color: var(--text-color-dark);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-promotions__offer-card,
.page-promotions__news-card {
  background: var(--text-color-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__offer-card:hover,
.page-promotions__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions__offer-image,
.page-promotions__news-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__offer-title,
.page-promotions__news-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-promotions__news-title a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-promotions__offer-description,
.page-promotions__news-excerpt {
  font-size: 1em;
  color: var(--text-color-dark);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__offer-button,
.page-promotions__read-more-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-promotions__offer-button:hover,
.page-promotions__read-more-button:hover {
  background: #FFC107; /* Slightly darker yellow */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__vip-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-promotions__vip-section h2 {
  color: var(--secondary-color);
}

.page-promotions__vip-section p {
  color: var(--text-color-light);
}

.page-promotions__vip-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-promotions__vip-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__vip-item-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__vip-item p {
  font-size: 0.95em;
  color: var(--text-color-light);
  margin-bottom: 0;
}

.page-promotions__vip-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__guide-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__guide-item {
  background: var(--text-color-light);
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-promotions__guide-item-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__guide-item p {
  text-align: left;
  margin-bottom: 15px;
}

.page-promotions__guide-item ul,
.page-promotions__guide-item ol {
  list-style-position: inside;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-promotions__guide-item ul li,
.page-promotions__guide-item ol li {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-promotions__guide-item strong {
  color: var(--primary-color);
}

.page-promotions__guide-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-promotions__guide-link:hover {
  color: #FFC107;
  text-decoration: underline;
}

.page-promotions__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__news-card {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-promotions__news-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__news-date {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 10px;
}

.page-promotions__read-more-button {
  margin-top: auto; /* Push button to bottom */
  align-self: center;
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--text-color-light);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions__faq-question:hover {
  background: var(--light-bg-2);
  border-color: #d0d0d0;
}

.page-promotions__faq-question:active {
  background: #eeeeee;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__offers-grid,
  .page-promotions__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .page-promotions__offer-card,
  .page-promotions__news-card {
    padding: 25px;
  }
  .page-promotions__offer-image,
  .page-promotions__news-image {
    height: 200px;
  }
  .page-promotions__intro-section {
    padding-top: 100px; /* Tablet fixed navbar spacing */
  }
  .page-promotions__guide-item-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__intro-section {
    padding: 60px 0 40px; /* Mobile base padding */
    padding-top: 100px !important; /* Mobile fixed navbar spacing */
  }
  .page-promotions__main-title {
    font-size: 2.2em;
  }
  .page-promotions__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promotions__cta-button {
    padding: 15px 30px;
    font-size: 1em;
  }
  .page-promotions__new-member-section,
  .page-promotions__weekly-monthly-section,
  .page-promotions__vip-section,
  .page-promotions__guide-section,
  .page-promotions__news-section,
  .page-promotions__faq-section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-promotions__section-description {
    font-size: 0.9em;
    margin: 0 auto 30px;
  }
  .page-promotions__offers-grid,
  .page-promotions__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__offer-card,
  .page-promotions__news-card {
    padding: 20px;
  }
  .page-promotions__offer-image,
  .page-promotions__news-image {
    height: 180px;
  }
  .page-promotions__offer-title,
  .page-promotions__news-title {
    font-size: 1.4em;
  }
  .page-promotions__offer-description,
  .page-promotions__news-excerpt {
    font-size: 0.9em;
  }
  .page-promotions__offer-button,
  .page-promotions__read-more-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-promotions__vip-benefits {
    grid-template-columns: 1fr;
  }
  .page-promotions__vip-item {
    padding: 20px;
  }
  .page-promotions__guide-content {
    gap: 20px;
  }
  .page-promotions__guide-item {
    padding: 25px;
  }
  .page-promotions__guide-item-title {
    font-size: 1.3em;
  }
  .page-promotions__guide-item ul,
  .page-promotions__guide-item ol {
    padding-left: 15px;
  }
  .page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-promotions__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-promotions__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__intro-section,
  .page-promotions__new-member-section,
  .page-promotions__weekly-monthly-section,
  .page-promotions__vip-section,
  .page-promotions__guide-section,
  .page-promotions__news-section,
  .page-promotions__faq-section,
  .page-promotions__container,
  .page-promotions__offer-card,
  .page-promotions__news-card,
  .page-promotions__vip-item,
  .page-promotions__guide-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}