/* style/resources-latest-promotions-and-registration.css */
.page-resources-latest-promotions-and-registration {
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #0d0d0d;
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

.page-resources-latest-promotions-and-registration__hero-section {
  position: relative;
  width: 100%;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
  z-index: 1;
}

.page-resources-latest-promotions-and-registration__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.page-resources-latest-promotions-and-registration__hero-content {
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-resources-latest-promotions-and-registration__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources-latest-promotions-and-registration__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-latest-promotions-and-registration__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-latest-promotions-and-registration__btn-primary,
.page-resources-latest-promotions-and-registration__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-resources-latest-promotions-and-registration__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-resources-latest-promotions-and-registration__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-latest-promotions-and-registration__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-latest-promotions-and-registration__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-latest-promotions-and-registration__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-resources-latest-promotions-and-registration__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-resources-latest-promotions-and-registration__content-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Default dark background */
  color: #ffffff; /* Default light text */
}

.page-resources-latest-promotions-and-registration__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

.page-resources-latest-promotions-and-registration__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-latest-promotions-and-registration__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-resources-latest-promotions-and-registration__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-latest-promotions-and-registration__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808;
  border-radius: 2px;
}

.page-resources-latest-promotions-and-registration__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-latest-promotions-and-registration__image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.page-resources-latest-promotions-and-registration__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-promotions-and-registration__promo-grid,
.page-resources-latest-promotions-and-registration__games-grid,
.page-resources-latest-promotions-and-registration__payment-grid,
.page-resources-latest-promotions-and-registration__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-latest-promotions-and-registration__promo-card,
.page-resources-latest-promotions-and-registration__game-card,
.page-resources-latest-promotions-and-registration__payment-card,
.page-resources-latest-promotions-and-registration__feature-item {
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.page-resources-latest-promotions-and-registration__promo-card h3,
.page-resources-latest-promotions-and-registration__game-card h3,
.page-resources-latest-promotions-and-registration__payment-card h3,
.page-resources-latest-promotions-and-registration__feature-item h3 {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-latest-promotions-and-registration__promo-card p,
.page-resources-latest-promotions-and-registration__game-card p,
.page-resources-latest-promotions-and-registration__payment-card p,
.page-resources-latest-promotions-and-registration__feature-item p {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-latest-promotions-and-registration__game-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-latest-promotions-and-registration__registration-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.page-resources-latest-promotions-and-registration__step-item {
  flex: 1 1 300px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px;
}

.page-resources-latest-promotions-and-registration__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #017439;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid #0d0d0d;
}

.page-resources-latest-promotions-and-registration__step-item h3 {
  color: #FFFF00;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-resources-latest-promotions-and-registration__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-resources-latest-promotions-and-registration__text-link {
  color: #FFFF00;
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-latest-promotions-and-registration__text-link:hover {
  color: #C30808;
}

.page-resources-latest-promotions-and-registration__faq-list {
  margin-top: 40px;
}

.page-resources-latest-promotions-and-registration__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-promotions-and-registration__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-latest-promotions-and-registration__faq-question:hover {
  background-color: #005f2e;
}

.page-resources-latest-promotions-and-registration__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

.page-resources-latest-promotions-and-registration__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-latest-promotions-and-registration__faq-item.active .page-resources-latest-promotions-and-registration__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-latest-promotions-and-registration__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.page-resources-latest-promotions-and-registration__faq-item.active .page-resources-latest-promotions-and-registration__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
}

.page-resources-latest-promotions-and-registration__faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

.page-resources-latest-promotions-and-registration__cta-section {
  background-color: #017439;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-resources-latest-promotions-and-registration__cta-section .page-resources-latest-promotions-and-registration__section-title {
  color: #ffffff;
}

.page-resources-latest-promotions-and-registration__cta-section .page-resources-latest-promotions-and-registration__section-title::after {
  background-color: #FFFF00;
}

.page-resources-latest-promotions-and-registration__cta-section .page-resources-latest-promotions-and-registration__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.2em;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-latest-promotions-and-registration__main-title {
    font-size: 3em;
  }

  .page-resources-latest-promotions-and-registration__hero-description {
    font-size: 1.2em;
  }

  .page-resources-latest-promotions-and-registration__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-promotions-and-registration__main-title {
    font-size: 2.5em;
  }

  .page-resources-latest-promotions-and-registration__hero-description {
    font-size: 1em;
  }

  .page-resources-latest-promotions-and-registration__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-latest-promotions-and-registration__btn-primary,
  .page-resources-latest-promotions-and-registration__btn-secondary,
  .page-resources-latest-promotions-and-registration a[class*="button"],
  .page-resources-latest-promotions-and-registration 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-resources-latest-promotions-and-registration__cta-buttons,
  .page-resources-latest-promotions-and-registration__button-group,
  .page-resources-latest-promotions-and-registration__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-resources-latest-promotions-and-registration__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 450px;
  }

  .page-resources-latest-promotions-and-registration__content-section {
    padding: 40px 15px;
  }

  .page-resources-latest-promotions-and-registration__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-latest-promotions-and-registration__text-block {
    font-size: 1em;
  }

  .page-resources-latest-promotions-and-registration__promo-grid,
  .page-resources-latest-promotions-and-registration__games-grid,
  .page-resources-latest-promotions-and-registration__payment-grid,
  .page-resources-latest-promotions-and-registration__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-latest-promotions-and-registration__promo-card,
  .page-resources-latest-promotions-and-registration__game-card,
  .page-resources-latest-promotions-and-registration__payment-card,
  .page-resources-latest-promotions-and-registration__feature-item {
    padding: 25px;
  }

  .page-resources-latest-promotions-and-registration__game-image {
    height: 180px;
  }

  .page-resources-latest-promotions-and-registration__registration-steps {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-latest-promotions-and-registration__step-item {
    padding-top: 50px;
  }

  .page-resources-latest-promotions-and-registration__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.5em;
    top: -15px;
  }

  .page-resources-latest-promotions-and-registration__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-resources-latest-promotions-and-registration__faq-question h3 {
    font-size: 1.1em;
  }

  .page-resources-latest-promotions-and-registration__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-latest-promotions-and-registration__cta-section {
    padding: 60px 15px;
  }

  .page-resources-latest-promotions-and-registration img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-latest-promotions-and-registration__section,
  .page-resources-latest-promotions-and-registration__card,
  .page-resources-latest-promotions-and-registration__container,
  .page-resources-latest-promotions-and-registration__image-wrapper,
  .page-resources-latest-promotions-and-registration__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}