/* style/promo.css */

/* Base styles for the page content, inheriting from shared.css body background */
.page-promo {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #FFF6D6; /* Text Main color on dark background */
  background-color: transparent; /* Inherit from body background */
  line-height: 1.6;
}

/* Ensure all links inherit text color and have minimal styling */
.page-promo a {
  color: #FFD36B; /* Glow color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promo a:hover {
  color: #F2C14E; /* Primary color on hover */
}

/* Section styling */
.page-promo__section-title {
  font-size: 2.5em;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promo__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFD36B 0%, #F2C14E 100%); /* Glow to Primary */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-promo__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #FFF6D6; /* Text Main */
}

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

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px; /* Adjust padding-top to ensure content is below header */
  overflow: hidden;
}

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

.page-promo__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promo__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #FFF6D6; /* Text Main */
  padding: 20px;
}

.page-promo__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
  max-width: 900px; /* To prevent extremely long lines */
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.02em;
}

.page-promo__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

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

/* Buttons */
.page-promo__btn-primary,
.page-promo__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to wrap */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  max-width: 100%; /* Ensure buttons don't exceed container width */
}

.page-promo__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #0A0A0A; /* Dark text for contrast on light button */
  border: none;
}

.page-promo__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-promo__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow color */
  border: 2px solid #F2C14E; /* Primary color border */
}

.page-promo__btn-secondary:hover {
  background: #F2C14E; /* Primary color on hover */
  color: #0A0A0A; /* Dark text for contrast */
  transform: translateY(-2px);
}

/* Promo Highlights Section */
.page-promo__introduction-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background color */
}

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

.page-promo__highlight-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
}

.page-promo__highlight-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
}

.page-promo__highlight-item p {
  color: #FFF6D6; /* Text Main */
  font-size: 1em;
}

/* Welcome Bonus Section */
.page-promo__welcome-bonus-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background color */
}

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

.page-promo__card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
}

.page-promo__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promo__card-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color */
  margin: 20px 15px 10px;
}

.page-promo__card-description {
  color: #FFF6D6; /* Text Main */
  font-size: 0.95em;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-promo__card .page-promo__btn-primary {
  margin: 0 15px 20px;
  width: calc(100% - 30px); /* Adjust width for padding */
}

/* Daily Offers Section */
.page-promo__daily-offers-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background color */
}

.page-promo__promo-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.page-promo__list-item {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid #3A2A12; /* Border */
}

.page-promo__list-icon {
  width: 60px; /* Still a visual cue, not an image */
  height: 60px;
  min-width: 60px; /* Ensure it doesn't shrink */
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient for visual appeal */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  color: #0A0A0A; /* Dark text for contrast */
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Glow */
}

.page-promo__list-icon--cashback::before {
  content: '₱'; /* Philippine Peso symbol */
}

.page-promo__list-icon--reload::before {
  content: '↻'; /* Reload symbol */
}

.page-promo__list-icon--referral::before {
  content: '🤝'; /* Handshake symbol */
}

.page-promo__list-content {
  flex-grow: 1;
}

.page-promo__list-title {
  font-size: 1.3em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 5px;
}

.page-promo__list-description {
  color: #FFF6D6; /* Text Main */
  font-size: 0.9em;
  margin-bottom: 10px;
}

.page-promo__link {
  color: #F2C14E; /* Primary color for links */
  font-weight: bold;
  text-decoration: underline;
}

.page-promo__link:hover {
  color: #FFD36B; /* Glow color on hover */
}

/* VIP Section */
.page-promo__vip-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background color */
}

.page-promo__vip-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promo__vip-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  object-fit: cover;
  max-height: 450px;
  display: block;
}

.page-promo__vip-details {
  flex: 2;
  min-width: 300px;
}

.page-promo__vip-benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-promo__vip-benefits-list li {
  color: #FFF6D6; /* Text Main */
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-promo__vip-benefits-list li::before {
  content: '★';
  color: #FFD36B; /* Glow color */
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

/* How to Claim Section */
.page-promo__how-to-claim-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background color */
}

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

.page-promo__step-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  position: relative;
  padding-top: 70px; /* Space for step number */
}

.page-promo__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for contrast */
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Glow */
}

.page-promo__step-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
}

.page-promo__step-description {
  color: #FFF6D6; /* Text Main */
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-promo__responsible-gaming-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background color */
  text-align: center;
}

/* FAQ Section */
.page-promo__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background color */
}

.page-promo__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-promo__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  color: #FFD36B; /* Glow color */
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promo__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1); /* Light hover effect */
}

.page-promo__faq-question h3 {
  margin: 0;
  font-size: 1em; /* Adjust to fit within the question div */
  color: inherit;
}

.page-promo__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Primary color */
}

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

.page-promo__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background color for answer */
}

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

.page-promo__faq-answer p {
  margin: 0;
  color: inherit;
  font-size: 1em;
}

/* Call to Action Section */
.page-promo__call-to-action-section {
  padding: 60px 0 80px;
  background-color: #0A0A0A; /* Background color */
  text-align: center;
}

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

  .page-promo__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-promo__hero-description {
    font-size: 1.1em;
  }

  .page-promo__vip-content {
    flex-direction: column;
    text-align: center;
  }

  .page-promo__vip-image {
    max-width: 100%;
  }

  .page-promo__vip-details {
    padding: 0 20px;
  }

  .page-promo__vip-benefits-list li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-promo {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promo__container {
    padding: 0 15px;
  }

  .page-promo__hero-section {
    padding: 60px 15px 30px;
  }

  .page-promo__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-promo__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-promo__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promo__btn-primary,
  .page-promo__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9em;
  }
  
  .page-promo__cta-buttons,
  .page-promo__button-group,
  .page-promo__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promo__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-promo__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-promo__promo-highlights,
  .page-promo__promo-cards-grid,
  .page-promo__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promo__card-image {
    height: 200px;
  }

  .page-promo__list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-promo__list-icon {
    margin-bottom: 10px;
  }

  .page-promo__vip-benefits-list li {
    text-align: center;
    padding-left: 0;
  }
  .page-promo__vip-benefits-list li::before {
    position: static;
    margin-right: 5px;
  }

  .page-promo__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-promo__faq-answer {
    padding: 0 15px;
  }

  .page-promo__faq-item.active .page-promo__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image responsiveness */
  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-promo__section,
  .page-promo__card,
  .page-promo__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promo__section-title {
    font-size: 1.5em;
  }
  .page-promo__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-promo__highlight-title,
  .page-promo__card-title,
  .page-promo__list-title,
  .page-promo__step-title {
    font-size: 1.2em;
  }
}