/* style/promotions.css */

/* Custom Properties for Colors */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the promotions page */
.page-promotions {
  color: var(--color-text-main); /* Default text color for the page */
  background-color: var(--color-background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  background-color: var(--color-deep-green);
  padding-top: 10px; /* Small top padding for first section */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height of hero image */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
  border-radius: 10px;
  margin-top: -150px; /* Pull content up slightly over image for visual flow */
  margin-bottom: 40px;
}

.page-promotions__hero-title {
  font-size: 3em;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

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

/* CTA Button */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
}

/* Dark background sections */
.page-promotions__dark-bg {
  background-color: var(--color-card-bg);
}

/* Image styles */
.page-promotions__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-promotions__promo-card {
  background-color: var(--color-deep-green);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__card-title {
  font-size: 1.8em;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-text {
  font-size: 1em;
  color: var(--color-text-secondary);
  margin-bottom: 25px;
}

/* Promo Features */
.page-promotions__promo-features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  justify-content: center;
}

.page-promotions__feature-item {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: var(--color-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
  text-align: center;
}

.page-promotions__feature-title {
  font-size: 1.8em;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__feature-text {
  font-size: 1em;
  color: var(--color-text-secondary);
}

/* Game Specific Promo Grid */
.page-promotions__game-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__game-promo-card {
  background-color: var(--color-deep-green);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
  text-align: center;
}

.page-promotions__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* VIP Benefits List */
.page-promotions__vip-benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-promotions__vip-benefits-list li {
  font-size: 1.1em;
  color: var(--color-text-main);
  text-align: left;
  display: flex;
  align-items: center;
  background-color: var(--color-deep-green);
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__list-icon {
  font-size: 1.5em;
  margin-right: 15px;
  color: var(--color-gold);
}

/* Guide List */
.page-promotions__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__guide-list li {
  font-size: 1.1em;
  color: var(--color-text-main);
  margin-bottom: 20px;
  background-color: var(--color-deep-green);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-start;
}

.page-promotions__guide-step-number {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--color-gold);
  margin-right: 15px;
  flex-shrink: 0;
  line-height: 1;
}

.page-promotions__guide-list li strong {
  color: var(--color-gold);
}

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

.page-promotions__faq-item {
  background-color: var(--color-deep-green);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--color-text-main);
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
  background-color: var(--color-deep-green);
}

.page-promotions__faq-qtext {
  color: var(--color-gold);
  flex-grow: 1;
  text-align: left;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  color: var(--color-gold);
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--color-text-secondary);
  text-align: left;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__section-padding {
    padding: 40px 0;
  }
  .page-promotions__hero-section {
    min-height: 400px;
  }
  .page-promotions__hero-title {
    font-size: 2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-promotions__promo-cards-grid,
  .page-promotions__promo-features,
  .page-promotions__game-promo-grid,
  .page-promotions__vip-benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-promotions__feature-item {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-promotions__card-title,
  .page-promotions__feature-title {
    font-size: 1.5em;
  }
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-promotions__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-promotions__guide-list li {
    padding: 15px;
  }
  .page-promotions__guide-step-number {
    font-size: 1.5em;
    margin-right: 10px;
  }

  /* Mobile responsive image, video, button styles */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-cards-grid,
  .page-promotions__promo-features,
  .page-promotions__game-promo-grid,
  .page-promotions__vip-benefits-list,
  .page-promotions__guide-list,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__hero-section {
    padding-top: 10px !important;
  }
  .page-promotions__cta-button,
  .page-promotions__cta-button--small,
  .page-promotions__button-group a {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }
  .page-promotions__button-group {
    flex-direction: column !important;
    gap: 10px !important;
  }
}