/* style/promotions-new-user-bonus.css */

/* Base styles for the page */
.page-promotions-new-user-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-promotions-new-user-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions-new-user-bonus__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-promotions-new-user-bonus__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Color Contrast Handling */
.page-promotions-new-user-bonus__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-promotions-new-user-bonus__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__section-title {
  color: #26A9E0;
}

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__section-description {
  color: #555555;
}

.page-promotions-new-user-bonus__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__card {
  background: #f8f8f8; /* Light background for cards in light sections */
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

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

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  text-align: center;
}

.page-promotions-new-user-bonus__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-promotions-new-user-bonus__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__btn-primary:hover {
  background-color: #1a8ccb;
  transform: translateY(-3px);
}

.page-promotions-new-user-bonus__btn-login {
  background-color: #EA7C07;
}

.page-promotions-new-user-bonus__btn-login:hover {
  background-color: #c96806;
}

/* Why Join Section */
.page-promotions-new-user-bonus__why-join {
  background-color: #ffffff;
  color: #333333;
}

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

.page-promotions-new-user-bonus__feature-item {
  text-align: center;
}

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__feature-item .page-promotions-new-user-bonus__feature-title {
  color: #26A9E0;
}

.page-promotions-new-user-bonus__light-bg .page-promotions-new-user-bonus__feature-item .page-promotions-new-user-bonus__feature-text {
  color: #555555;
}

/* How to Claim Section */
.page-promotions-new-user-bonus__how-to-claim {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-promotions-new-user-bonus__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(38, 169, 224, 0.1);
  color: #ffffff;
  padding: 30px;
}

.page-promotions-new-user-bonus__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__step-text {
  color: #f0f0f0;
  text-align: center;
}

.page-promotions-new-user-bonus__image-center {
  margin-top: 50px;
  text-align: center;
}

.page-promotions-new-user-bonus__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-user-bonus__cta-area {
  margin-top: 50px;
}

/* Terms and Conditions Section */
.page-promotions-new-user-bonus__terms-conditions {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions-new-user-bonus__terms-list {
  list-style: disc;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 20px;
  font-size: 1.1em;
  color: #555555;
}

.page-promotions-new-user-bonus__terms-list li {
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__note {
  font-style: italic;
  margin-top: 30px;
  color: #777777;
}

.page-promotions-new-user-bonus__note a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-new-user-bonus__note a:hover {
  text-decoration: underline;
}

/* Game Types Section */
.page-promotions-new-user-bonus__game-types {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-promotions-new-user-bonus__game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-promotions-new-user-bonus__game-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-promotions-new-user-bonus__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-user-bonus__game-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__game-text {
  color: #f0f0f0;
  font-size: 0.95em;
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions-new-user-bonus__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-promotions-new-user-bonus__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f8f8;
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #eaf7ff; /* Lighter background for question */
  cursor: pointer;
  font-weight: bold;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: #dcf0ff;
}

.page-promotions-new-user-bonus__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #26A9E0;
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-promotions-new-user-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

/* Final CTA Section */
.page-promotions-new-user-bonus__final-cta {
  background-color: #0a0a0a;
  color: #ffffff;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-title {
    font-size: 3em;
  }
  .page-promotions-new-user-bonus__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions-new-user-bonus__hero-content {
    padding: 20px;
  }

  .page-promotions-new-user-bonus__hero-title {
    font-size: 2.5em;
  }

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

  .page-promotions-new-user-bonus__section-title {
    font-size: 2em;
  }

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

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

  /* Mobile image responsiveness */
  .page-promotions-new-user-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-new-user-bonus__section,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__container,
  .page-promotions-new-user-bonus__hero-section,
  .page-promotions-new-user-bonus__hero-image-wrapper,
  .page-promotions-new-user-bonus__why-join,
  .page-promotions-new-user-bonus__how-to-claim,
  .page-promotions-new-user-bonus__terms-conditions,
  .page-promotions-new-user-bonus__game-types,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__final-cta,
  .page-promotions-new-user-bonus__features-grid,
  .page-promotions-new-user-bonus__steps-grid,
  .page-promotions-new-user-bonus__game-cards-grid,
  .page-promotions-new-user-bonus__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Ensure padding for mobile sections */
  .page-promotions-new-user-bonus__section {
    padding: 40px 0;
  }

  .page-promotions-new-user-bonus__terms-list {
    padding-left: 15px;
  }

  .page-promotions-new-user-bonus__faq-answer {
    padding: 0 15px;
  }

  .page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    padding: 15px 15px;
  }

  .page-promotions-new-user-bonus__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-new-user-bonus__cta-area {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Button group specific for mobile */
  .page-promotions-new-user-bonus__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-promotions-new-user-bonus__hero-title {
    font-size: 2em;
  }

  .page-promotions-new-user-bonus__hero-description {
    font-size: 0.9em;
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: 1.8em;
  }

  .page-promotions-new-user-bonus__btn-primary {
    padding: 10px 20px;
  }
}