/* style/promotions-welcome-bonus.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #1a1a1a;
  --button-login-color: #EA7C07;
}

.page-promotions-welcome-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

.page-promotions-welcome-bonus__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions-welcome-bonus__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-dark);
}

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

/* Hero Section */
.page-promotions-welcome-bonus__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Default height for desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-promotions-welcome-bonus__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promotions-welcome-bonus__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.page-promotions-welcome-bonus__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-promotions-welcome-bonus__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-promotions-welcome-bonus__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
}

.page-promotions-welcome-bonus__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promotions-welcome-bonus__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-promotions-welcome-bonus__btn-primary:hover {
  background-color: #1e87b7;
  transform: translateY(-2px);
}

/* Offer Details Section */
.page-promotions-welcome-bonus__offer-details-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-promotions-welcome-bonus__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-promotions-welcome-bonus__text-block {
  flex: 1;
  font-size: 1.1em;
}

.page-promotions-welcome-bonus__text-block p {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-promotions-welcome-bonus__image-right {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  display: block;
}

/* How to Claim Section */
.page-promotions-welcome-bonus__how-to-claim-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-promotions-welcome-bonus__how-to-claim-section .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__how-to-claim-section .page-promotions-welcome-bonus__section-description {
  color: var(--text-light);
}

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

.page-promotions-welcome-bonus__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-promotions-welcome-bonus__step-card:hover {
  transform: translateY(-5px);
}

.page-promotions-welcome-bonus__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  display: inline-block;
  background-color: var(--button-login-color);
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
}

.page-promotions-welcome-bonus__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-promotions-welcome-bonus__step-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.9);
}

.page-promotions-welcome-bonus__steps-image {
  display: block;
  margin: 60px auto 0 auto;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Terms Section */
.page-promotions-welcome-bonus__terms-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-promotions-welcome-bonus__terms-list {
  list-style: disc inside;
  font-size: 1.1em;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 20px;
  color: var(--text-dark);
}

.page-promotions-welcome-bonus__terms-item {
  margin-bottom: 15px;
}

/* Why Choose Section */
.page-promotions-welcome-bonus__why-choose-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-promotions-welcome-bonus__why-choose-section .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__why-choose-section .page-promotions-welcome-bonus__section-description {
  color: var(--text-light);
}

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

.page-promotions-welcome-bonus__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-promotions-welcome-bonus__feature-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-welcome-bonus__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter changes color */
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-promotions-welcome-bonus__feature-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

.page-promotions-welcome-bonus__main-image {
  display: block;
  margin: 60px auto 0 auto;
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Featured Games Section */
.page-promotions-welcome-bonus__featured-games-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

.page-promotions-welcome-bonus__game-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-promotions-welcome-bonus__game-card:hover {
  transform: translateY(-5px);
}

.page-promotions-welcome-bonus__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter changes color */
  max-width: 100%;
  display: block;
}

.page-promotions-welcome-bonus__game-title {
  font-size: 1.4em;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-promotions-welcome-bonus__game-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-promotions-welcome-bonus__game-title a:hover {
  text-decoration: underline;
}

.page-promotions-welcome-bonus__game-text {
  font-size: 1em;
  color: var(--text-dark);
  padding: 0 20px 20px 20px;
}

/* FAQ Section */
.page-promotions-welcome-bonus__faq-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-promotions-welcome-bonus__faq-section .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__faq-section .page-promotions-welcome-bonus__section-description {
  color: var(--text-light);
}

.page-promotions-welcome-bonus__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-promotions-welcome-bonus__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-welcome-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-light);
  transition: background-color 0.3s ease;
}

.page-promotions-welcome-bonus__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-promotions-welcome-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
}

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
  max-height: 1000px !important; /* Ensure enough height for content */
  padding: 15px 25px 25px 25px;
}

/* Final CTA Section */
.page-promotions-welcome-bonus__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background-light);
}

.page-promotions-welcome-bonus__cta-subtext {
  margin-top: 20px;
  font-size: 1.1em;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-welcome-bonus__hero-title {
    font-size: 3em;
  }
  .page-promotions-welcome-bonus__hero-description {
    font-size: 1.2em;
  }
  .page-promotions-welcome-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-welcome-bonus__content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-promotions-welcome-bonus__image-right {
    width: 100%;
    margin-top: 40px;
  }
  .page-promotions-welcome-bonus__steps-image,
  .page-promotions-welcome-bonus__main-image {
    max-width: 100%;
  }
}

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

  .page-promotions-welcome-bonus__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions-welcome-bonus__hero-title {
    font-size: 2.2em;
  }

  .page-promotions-welcome-bonus__hero-description {
    font-size: 1em;
  }

  .page-promotions-welcome-bonus__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-welcome-bonus__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions-welcome-bonus__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-promotions-welcome-bonus__offer-details-section,
  .page-promotions-welcome-bonus__how-to-claim-section,
  .page-promotions-welcome-bonus__terms-section,
  .page-promotions-welcome-bonus__why-choose-section,
  .page-promotions-welcome-bonus__featured-games-section,
  .page-promotions-welcome-bonus__faq-section,
  .page-promotions-welcome-bonus__cta-section {
    padding: 60px 0;
  }

  .page-promotions-welcome-bonus__container {
    padding: 0 15px;
  }

  .page-promotions-welcome-bonus__text-block,
  .page-promotions-welcome-bonus__image-right {
    width: 100%;
  }

  .page-promotions-welcome-bonus__image-right {
    margin-top: 30px;
  }

  .page-promotions-welcome-bonus__steps-grid,
  .page-promotions-welcome-bonus__features-grid,
  .page-promotions-welcome-bonus__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-welcome-bonus__terms-list {
    font-size: 0.95em;
    margin: 30px auto;
    padding-left: 15px;
  }

  .page-promotions-welcome-bonus__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-promotions-welcome-bonus__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-promotions-welcome-bonus__faq-answer {
    padding: 0 20px;
  }

  .page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Image and Video Responsiveness */
  .page-promotions-welcome-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  .page-promotions-welcome-bonus video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-promotions-welcome-bonus__section,
  .page-promotions-welcome-bonus__card,
  .page-promotions-welcome-bonus__container,
  .page-promotions-welcome-bonus__content-wrapper,
  .page-promotions-welcome-bonus__steps-grid,
  .page-promotions-welcome-bonus__features-grid,
  .page-promotions-welcome-bonus__games-grid,
  .page-promotions-welcome-bonus__faq-list,
  .page-promotions-welcome-bonus__cta-buttons,
  .page-promotions-welcome-bonus__button-group,
  .page-promotions-welcome-bonus__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Specific adjustments for content elements to ensure no overflow */
  .page-promotions-welcome-bonus__text-block,
  .page-promotions-welcome-bonus__step-card,
  .page-promotions-welcome-bonus__feature-card,
  .page-promotions-welcome-bonus__game-card,
  .page-promotions-welcome-bonus__faq-item {
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .page-promotions-welcome-bonus__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}