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

/* Base styles for the page content */
.page-promotions-new-user-bonus {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Explicitly set for clarity */
  line-height: 1.6;
}

.page-promotions-new-user-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #f0f8ff; /* Light background for the section */
}

.page-promotions-new-user-bonus__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions-new-user-bonus__hero-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions-new-user-bonus__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.page-promotions-new-user-bonus__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__btn-secondary,
.page-promotions-new-user-bonus__btn-tertiary,
.page-promotions-new-user-bonus a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-user-bonus__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-promotions-new-user-bonus__btn-primary:hover {
  background-color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-promotions-new-user-bonus__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: #e0f2ff;
}

.page-promotions-new-user-bonus__btn-tertiary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 1em;
}

.page-promotions-new-user-bonus__btn-tertiary:hover {
  background-color: #d16d00;
  border-color: #d16d00;
}

.page-promotions-new-user-bonus__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Why Join QGwin Section */
.page-promotions-new-user-bonus__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions-new-user-bonus__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-promotions-new-user-bonus__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-promotions-new-user-bonus__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Bonus Details Section */
.page-promotions-new-user-bonus__bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions-new-user-bonus__bonus-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-promotions-new-user-bonus__bonus-card:hover {
  transform: translateY(-5px);
}

.page-promotions-new-user-bonus__bonus-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-promotions-new-user-bonus__bonus-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
}

/* How to Claim Section */
.page-promotions-new-user-bonus__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-promotions-new-user-bonus__step-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #e0e0e0;
}

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

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

.page-promotions-new-user-bonus__step-description {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__step-image {
  width: 100%;
  height: 150px; /* Fixed height for step images */
  object-fit: contain;
  border-radius: 8px;
}

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

/* Game Showcase Section */
.page-promotions-new-user-bonus__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.page-promotions-new-user-bonus__game-card {
  background-color: #26A9E0; /* Dark background for game cards */
  color: #ffffff; /* White text for dark background */
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions-new-user-bonus__game-card:hover {
  transform: translateY(-5px);
  background-color: #1a7fb8;
}

.page-promotions-new-user-bonus__game-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__game-title a {
  color: #ffffff;
  text-decoration: none;
}

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

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

/* FAQ Section */
.page-promotions-new-user-bonus__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-new-user-bonus__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  list-style: none; /* For <summary> tag */
}

.page-promotions-new-user-bonus__faq-question::-webkit-details-marker {
  display: none; /* For <summary> tag */
}

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

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

.page-promotions-new-user-bonus__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-toggle {
  content: '−';
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

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

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__hero-section {
    padding: 10px 15px 40px;
  }

  .page-promotions-new-user-bonus__hero-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

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

  .page-promotions-new-user-bonus__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary,
  .page-promotions-new-user-bonus__btn-tertiary,
  .page-promotions-new-user-bonus a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-new-user-bonus__content-area {
    padding: 40px 15px;
  }

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

  .page-promotions-new-user-bonus__section-intro {
    font-size: 0.95em;
  }

  .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-cta-buttons,
  .page-promotions-new-user-bonus__features-grid,
  .page-promotions-new-user-bonus__bonus-grid,
  .page-promotions-new-user-bonus__steps-grid,
  .page-promotions-new-user-bonus__game-grid,
  .page-promotions-new-user-bonus__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions-new-user-bonus__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  
  .page-promotions-new-user-bonus__game-card {
    padding: 15px;
  }

  .page-promotions-new-user-bonus__faq-question {
    padding: 15px;
    font-size: 1em;
  }

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