/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Matching body background */
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #26A9E0; /* Main brand color for hero */
  color: #ffffff;
  overflow: hidden;
  gap: 30px;
}

.page-promotions__hero-section.page-promotions__dark-bg {
  background-color: #26A9E0; /* Ensure brand color is used for dark-bg */
}

.page-promotions__hero-content {
  z-index: 1;
  max-width: 900px;
  padding: 0 15px;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
}

/* General Section Styles */
.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Section specific colors */
.page-promotions__dark-bg {
  background-color: #000000; /* Dark background from shared */
  color: #ffffff; /* Light text for dark background */
}

.page-promotions__light-bg {
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

/* Current Promotions Section */
.page-promotions__current-promos .page-promotions__section-title,
.page-promotions__current-promos .page-promotions__section-description {
  color: #333333; /* Ensure dark text on light background */
}

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

.page-promotions__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text on card background */
}

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

.page-promotions__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-promotions__promo-content {
  padding: 25px;
}

.page-promotions__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for titles */
}

.page-promotions__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-promotions__card-title a:hover {
  text-decoration: underline;
}

.page-promotions__card-text {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-promotions__btn-text {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-promotions__btn-text:hover {
  color: #1a7bb0; /* Darker shade of brand color */
  text-decoration: underline;
}

/* Types of Bonuses Section */
.page-promotions__types-of-bonuses .page-promotions__section-title,
.page-promotions__types-of-bonuses .page-promotions__section-description {
  color: #ffffff; /* Light text on dark background */
}

.page-promotions__bonus-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-promotions__bonus-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__bonus-heading {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions__bonus-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* How to Claim Section */
.page-promotions__how-to-claim .page-promotions__section-title,
.page-promotions__how-to-claim .page-promotions__section-description {
  color: #333333;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-promotions__step-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-promotions__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-heading {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions__step-text a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__step-text a:hover {
  text-decoration: underline;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions .page-promotions__section-title,
.page-promotions__terms-conditions .page-promotions__section-description {
  color: #ffffff;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-promotions__terms-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-promotions__terms-heading {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions__terms-text {
  font-size: 0.95em;
}

.page-promotions__disclaimer-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-promotions__disclaimer-text a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__disclaimer-text a:hover {
  text-decoration: underline;
}

/* Why Choose Section */
.page-promotions__why-choose .page-promotions__section-title,
.page-promotions__why-choose .page-promotions__section-description {
  color: #333333;
}

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

.page-promotions__feature-card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-promotions__feature-heading {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-promotions__feature-text {
  font-size: 1em;
}

/* Video Section */
.page-promotions__video-section {
  text-align: center;
}

.page-promotions__video-section .page-promotions__section-title,
.page-promotions__video-section .page-promotions__section-description {
  color: #ffffff;
}

.page-promotions__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer; /* Indicate clickable */
}

.page-promotions__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5; /* Above video but below controls */
}

/* FAQ Section */
.page-promotions__faq-section .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-description {
  color: #333333;
}

.page-promotions__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-promotions__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  background-color: #eaf7ff; /* Lighter shade of brand color */
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #d8efff;
}

.page-promotions__faq-heading {
  margin: 0;
  font-size: 1.1em;
  color: #26A9E0;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
  color: #333333;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Call to Action Section */
.page-promotions__cta-section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions__cta-section .page-promotions__section-title,
.page-promotions__cta-section .page-promotions__section-description {
  color: #ffffff;
}

.page-promotions__cta-center {
  text-align: center;
  margin-top: 30px;
}

.page-promotions__cta-banner-wrapper {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__cta-banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-promotions__cta-overlay-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-promotions__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-promotions__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-promotions__large-btn {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  /* Ensure padding-top for fixed header on mobile if shared doesn't provide it for body */
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
  }

  /* Images responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image containers responsive */
  .page-promotions__container,
  .page-promotions__hero-content,
  .page-promotions__promo-grid,
  .page-promotions__bonus-list,
  .page-promotions__steps-list,
  .page-promotions__terms-list,
  .page-promotions__features-grid,
  .page-promotions__video-wrapper,
  .page-promotions__faq-list,
  .page-promotions__cta-section,
  .page-promotions__current-promos,
  .page-promotions__types-of-bonuses,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__why-choose,
  .page-promotions__video-section,
  .page-promotions__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Video responsive */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}