:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --button-register-bg: #C30808;
  --button-register-text: #000000; /* Adjusted for WCAG AA contrast */
}

.page-promotions-new-user-bonus {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light background */
  background-color: var(--secondary-color); /* Body background */
}

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

.page-promotions-new-user-bonus__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-promotions-new-user-bonus__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color), #00A651);
  color: var(--text-color-light);
}

.page-promotions-new-user-bonus__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions-new-user-bonus__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-promotions-new-user-bonus__hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-color-light);
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-color-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions-new-user-bonus__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__cta-button--primary {
  background: var(--button-register-bg);
  color: var(--button-register-text);
}

.page-promotions-new-user-bonus__cta-button--primary:hover {
  background: #A00707;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions-new-user-bonus__cta-button--secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Module 1: Introduction Section */
.page-promotions-new-user-bonus__introduction-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

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

.page-promotions-new-user-bonus__feature-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-new-user-bonus__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__feature-item h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__feature-item p {
  font-size: 16px;
  color: var(--text-color-dark);
}

/* Module 2: Quick Access Section */
.page-promotions-new-user-bonus__quick-access-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-promotions-new-user-bonus__quick-access-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__quick-access-section .page-promotions-new-user-bonus__text-block {
  color: var(--text-color-light);
}

.page-promotions-new-user-bonus__quick-access-section .page-promotions-new-user-bonus__text-block a {
  color: #FFFF00; /* Custom color for links in dark section */
}

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

.page-promotions-new-user-bonus__access-item {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: var(--text-color-light);
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

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

.page-promotions-new-user-bonus__access-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__access-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-color-light);
}

.page-promotions-new-user-bonus__access-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

/* Module 3: Core Games Section */
.page-promotions-new-user-bonus__core-games-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.page-promotions-new-user-bonus__game-tabs {
  margin-top: 50px;
}

.page-promotions-new-user-bonus__tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 15px;
}

.page-promotions-new-user-bonus__tab-button {
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color-dark);
  transition: all 0.3s ease;
}

.page-promotions-new-user-bonus__tab-button:hover {
  background: #e5e5e5;
}

.page-promotions-new-user-bonus__tab-button.active {
  background: var(--primary-color);
  color: var(--text-color-light);
  border-color: var(--primary-color);
}

.page-promotions-new-user-bonus__tab-content {
  display: none;
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-promotions-new-user-bonus__tab-content.active {
  display: block;
}

.page-promotions-new-user-bonus__tab-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__tab-content h3 {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__tab-content p {
  font-size: 17px;
  margin-bottom: 30px;
  color: var(--text-color-dark);
}

.page-promotions-new-user-bonus__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-promotions-new-user-bonus__btn-primary:hover {
  background: #00A651;
  transform: translateY(-2px);
}

/* Module 4: Promotions Section */
.page-promotions-new-user-bonus__promotions-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-promotions-new-user-bonus__promotions-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__promotions-section .page-promotions-new-user-bonus__text-block {
  color: var(--text-color-light);
}

.page-promotions-new-user-bonus__promotions-section .page-promotions-new-user-bonus__text-block a {
  color: #FFFF00;
}

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

.page-promotions-new-user-bonus__promotion-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions-new-user-bonus__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-promotions-new-user-bonus__promotion-card h3 {
  font-size: 22px;
  color: var(--text-color-light);
  padding: 20px 20px 10px;
}
.page-promotions-new-user-bonus__promotion-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-promotions-new-user-bonus__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Module 5: Safety & Support Section */
.page-promotions-new-user-bonus__safety-support-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

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

.page-promotions-new-user-bonus__info-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-new-user-bonus__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__info-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__info-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__info-card p {
  font-size: 16px;
  color: var(--text-color-dark);
}

/* Module 6: FAQ Section */
.page-promotions-new-user-bonus__faq-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-promotions-new-user-bonus__faq-section .page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__faq-section .page-promotions-new-user-bonus__text-block {
  color: var(--text-color-light);
}

.page-promotions-new-user-bonus__faq-section .page-promotions-new-user-bonus__text-block a {
  color: #FFFF00;
}

.page-promotions-new-user-bonus__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-color-light);
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-new-user-bonus__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 24px;
  line-height: 1;
  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 {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
  max-height: 200px; /* Adjust based on expected content height */
  padding: 20px 25px;
}

.page-promotions-new-user-bonus__faq-answer p {
  margin-bottom: 0;
}

.page-promotions-new-user-bonus__faq-answer a {
  color: #FFFF00;
  text-decoration: underline;
}

/* Module 7: Latest Blog Section */
.page-promotions-new-user-bonus__latest-blog-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

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

.page-promotions-new-user-bonus__blog-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions-new-user-bonus__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions-new-user-bonus__blog-card h3 {
  font-size: 22px;
  color: var(--primary-color);
  padding: 20px 20px 10px;
}

.page-promotions-new-user-bonus__blog-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-promotions-new-user-bonus__blog-card h3 a:hover {
  text-decoration: underline;
}

.page-promotions-new-user-bonus__blog-card p {
  font-size: 16px;
  color: var(--text-color-dark);
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-promotions-new-user-bonus__blog-date {
  font-size: 14px;
  color: #888888;
  padding: 0 20px 20px;
  display: block;
}

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

/* Utility Classes */
.page-promotions-new-user-bonus__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}

.page-promotions-new-user-bonus__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .page-promotions-new-user-bonus__hero-content h1 {
    font-size: 40px;
  }

  .page-promotions-new-user-bonus__hero-description {
    font-size: 18px;
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: 30px;
  }

  .page-promotions-new-user-bonus__text-block {
    font-size: 16px;
  }

  .page-promotions-new-user-bonus__tab-content h3 {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__hero-section {
    padding-top: var(--header-offset, 100px);
  }

  .page-promotions-new-user-bonus__hero-content h1 {
    font-size: 32px;
  }

  .page-promotions-new-user-bonus__hero-description {
    font-size: 16px;
  }

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

  .page-promotions-new-user-bonus__cta-button {
    width: 80%;
    max-width: 300px;
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: 26px;
    margin-bottom: 30px;
    margin-top: 40px;
  }

  .page-promotions-new-user-bonus__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-promotions-new-user-bonus__features-grid,
  .page-promotions-new-user-bonus__access-grid,
  .page-promotions-new-user-bonus__promotions-grid,
  .page-promotions-new-user-bonus__info-grid,
  .page-promotions-new-user-bonus__blog-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions-new-user-bonus__feature-item,
  .page-promotions-new-user-bonus__access-item,
  .page-promotions-new-user-bonus__promotion-card,
  .page-promotions-new-user-bonus__info-card,
  .page-promotions-new-user-bonus__blog-card {
    padding: 20px;
  }

  .page-promotions-new-user-bonus__feature-item h3,
  .page-promotions-new-user-bonus__access-item h3,
  .page-promotions-new-user-bonus__promotion-card h3,
  .page-promotions-new-user-bonus__info-card h3,
  .page-promotions-new-user-bonus__blog-card h3 {
    font-size: 20px;
  }

  .page-promotions-new-user-bonus__tab-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-promotions-new-user-bonus__tab-button {
    width: 80%;
    max-width: 250px;
  }

  .page-promotions-new-user-bonus__tab-content {
    padding: 30px;
  }

  .page-promotions-new-user-bonus__tab-content h3 {
    font-size: 24px;
  }

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

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

@media (max-width: 480px) {
  .page-promotions-new-user-bonus__hero-content h1 {
    font-size: 28px;
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: 22px;
  }

  .page-promotions-new-user-bonus__tab-content h3 {
    font-size: 20px;
  }

  .page-promotions-new-user-bonus__faq-question {
    font-size: 16px;
  }
}