/* style/promotions-welcome-bonus.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #0A2463;
  --border-light: #e0e0e0;
  --bg-grey: #f1f3f5;
}

.page-promotions-welcome-bonus {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-light); /* Body background is dark, so main page content color is light */
  background-color: #000; /* Inherited from shared.css, explicitly set for context */
}

.page-promotions-welcome-bonus__section {
  padding: 60px 20px;
  background-color: #000; /* Default dark background */
  color: var(--text-light);
}

.page-promotions-welcome-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-promotions-welcome-bonus__heading {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__text-block {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-promotions-welcome-bonus__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* HERO Section */
.page-promotions-welcome-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7c 100%);
  color: var(--text-light);
  overflow: hidden;
}

.page-promotions-welcome-bonus__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-promotions-welcome-bonus__hero-image {
  width: 100%;
  max-width: 800px; /* Limit image width within container */
  margin-bottom: 30px;
}

.page-promotions-welcome-bonus__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.3);
}

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

.page-promotions-welcome-bonus__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-promotions-welcome-bonus__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-promotions-welcome-bonus__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
}

.page-promotions-welcome-bonus__cta-button:hover {
  background: #f0c94a; /* Slightly lighter gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Overview Section */
.page-promotions-welcome-bonus__overview-section .page-promotions-welcome-bonus__heading {
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__overview-section .page-promotions-welcome-bonus__text-block {
  color: var(--text-light);
}

/* How to Claim Section */
.page-promotions-welcome-bonus__how-to-claim-section {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast */
  color: var(--text-light);
}

.page-promotions-welcome-bonus__how-to-claim-section .page-promotions-welcome-bonus__heading {
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__step-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-welcome-bonus__step-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__step-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-promotions-welcome-bonus__step-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-promotions-welcome-bonus__btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  margin-top: 15px;
}

.page-promotions-welcome-bonus__btn-primary:hover {
  background: #f0c94a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Offer Types Section */
.page-promotions-welcome-bonus__offer-types-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-promotions-welcome-bonus__offer-types-section .page-promotions-welcome-bonus__heading {
  color: var(--secondary-color);
}

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

.page-promotions-welcome-bonus__card {
  background: var(--bg-light);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark); /* Light background for card, so dark text */
}

.page-promotions-welcome-bonus__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.page-promotions-welcome-bonus__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: contain; /* Ensure image fits without cropping */
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promotions-welcome-bonus__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-promotions-welcome-bonus__card-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Terms Section */
.page-promotions-welcome-bonus__terms-section {
  background-color: #0d0d0d;
  color: var(--text-light);
}

.page-promotions-welcome-bonus__terms-section .page-promotions-welcome-bonus__heading {
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions-welcome-bonus__list-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--secondary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-welcome-bonus__list-item strong {
  color: var(--secondary-color);
}

/* Why Choose Us Section */
.page-promotions-welcome-bonus__why-choose-us-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-promotions-welcome-bonus__why-choose-us-section .page-promotions-welcome-bonus__heading {
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__why-choose-us-section .page-promotions-welcome-bonus__text-block {
  color: var(--text-light);
}

.page-promotions-welcome-bonus__list--two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.page-promotions-welcome-bonus__list--two-cols .page-promotions-welcome-bonus__list-item {
  background: rgba(255, 255, 255, 0.15);
  border-left-color: var(--secondary-color);
  font-size: 16px;
}

.page-promotions-welcome-bonus__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  background: var(--bg-light);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--secondary-color);
  margin-top: 30px;
}

.page-promotions-welcome-bonus__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-promotions-welcome-bonus__faq-section {
  background-color: #000; /* Dark background */
  color: var(--text-light);
}

.page-promotions-welcome-bonus__faq-section .page-promotions-welcome-bonus__heading {
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-welcome-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  border: 1px solid #1a3a7c;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-promotions-welcome-bonus__faq-question:hover {
  background: #1a3a7c;
  border-color: #2a4e9b;
}

.page-promotions-welcome-bonus__faq-question:active {
  background: #2a4e9b;
}

.page-promotions-welcome-bonus__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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: 32px;
  height: 32px;
}

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg);
}

.page-promotions-welcome-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05); /* Lighter dark background for answer */
  color: var(--text-light);
  border-radius: 0 0 8px 8px;
}

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-promotions-welcome-bonus__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

/* Responsible Gaming Section */
.page-promotions-welcome-bonus__responsible-gaming-section {
  background-color: #0d0d0d;
  color: var(--text-light);
  text-align: center;
}

.page-promotions-welcome-bonus__responsible-gaming-section .page-promotions-welcome-bonus__heading {
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__responsible-gaming-section .page-promotions-welcome-bonus__text-block {
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__responsible-gaming-section .page-promotions-welcome-bonus__btn-secondary {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-welcome-bonus__hero-title {
    font-size: 40px;
  }
  .page-promotions-welcome-bonus__hero-description {
    font-size: 18px;
  }
  .page-promotions-welcome-bonus__cta-button {
    font-size: 20px;
    padding: 15px 40px;
  }
  .page-promotions-welcome-bonus__heading {
    font-size: 30px;
  }
  .page-promotions-welcome-bonus__step-title {
    font-size: 24px;
  }
  .page-promotions-welcome-bonus__cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-promotions-welcome-bonus__list--two-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome-bonus__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-welcome-bonus__hero-image img {
    border-radius: 8px;
  }
  .page-promotions-welcome-bonus__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-promotions-welcome-bonus__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-promotions-welcome-bonus__cta-button {
    font-size: 18px;
    padding: 12px 30px;
  }
  .page-promotions-welcome-bonus__section {
    padding: 40px 15px;
  }
  .page-promotions-welcome-bonus__heading {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-promotions-welcome-bonus__text-block {
    font-size: 15px;
  }
  .page-promotions-welcome-bonus__step-card {
    padding: 25px;
  }
  .page-promotions-welcome-bonus__step-title {
    font-size: 22px;
  }
  .page-promotions-welcome-bonus__step-card p {
    font-size: 15px;
  }
  .page-promotions-welcome-bonus__btn-primary,
  .page-promotions-welcome-bonus__btn-secondary {
    width: 100%;
    max-width: 300px;
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-promotions-welcome-bonus__cards-grid {
    gap: 20px;
  }
  .page-promotions-welcome-bonus__card {
    padding: 25px;
  }
  .page-promotions-welcome-bonus__card-title {
    font-size: 20px;
  }
  .page-promotions-welcome-bonus__card-description {
    font-size: 14px;
  }
  .page-promotions-welcome-bonus__list-item {
    font-size: 15px;
    padding: 15px;
  }
  .page-promotions-welcome-bonus__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-promotions-welcome-bonus__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }
  .page-promotions-welcome-bonus__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-promotions-welcome-bonus__faq-answer {
    padding: 0 15px;
  }
  .page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
    padding: 15px !important;
  }
  
  /* Mobile image specific overrides */
  .page-promotions-welcome-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions-welcome-bonus__section,
  .page-promotions-welcome-bonus__container,
  .page-promotions-welcome-bonus__hero-container,
  .page-promotions-welcome-bonus__step-card,
  .page-promotions-welcome-bonus__card,
  .page-promotions-welcome-bonus__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-welcome-bonus__hero-section .page-promotions-welcome-bonus__container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Ensure contrast for dark background body */
.page-promotions-welcome-bonus__overview-section, 
.page-promotions-welcome-bonus__how-to-claim-section, 
.page-promotions-welcome-bonus__terms-section, 
.page-promotions-welcome-bonus__faq-section, 
.page-promotions-welcome-bonus__responsible-gaming-section {
  background-color: #000; /* Ensuring dark background for these sections */
  color: var(--text-light);
}

.page-promotions-welcome-bonus__overview-section .page-promotions-welcome-bonus__text-block,
.page-promotions-welcome-bonus__how-to-claim-section .page-promotions-welcome-bonus__text-block,
.page-promotions-welcome-bonus__terms-section .page-promotions-welcome-bonus__text-block,
.page-promotions-welcome-bonus__faq-section .page-promotions-welcome-bonus__faq-answer p,
.page-promotions-welcome-bonus__responsible-gaming-section .page-promotions-welcome-bonus__text-block {
  color: var(--text-light);
}

.page-promotions-welcome-bonus__list-item {
  color: var(--text-light);
}

/* Links within text blocks */
.page-promotions-welcome-bonus__text-block a,
.page-promotions-welcome-bonus__step-card p a {
  color: var(--secondary-color); /* Use accent color for links */
  text-decoration: underline;
  font-weight: bold;
}

.page-promotions-welcome-bonus__text-block a:hover,
.page-promotions-welcome-bonus__step-card p a:hover {
  color: #f0c94a;
  text-decoration: none;
}