.page-index-latest-promotions-fishing-machine-2 {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark background */
  line-height: 1.6;
  background-color: var(--primary-color); /* Inherit from shared.css, which is #0A1931 */
}

.page-index-latest-promotions-fishing-machine-2__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-latest-promotions-fishing-machine-2__hero-section {
  position: relative;
  padding: 120px 0 80px; /* Adjusted padding-top to account for header offset */
  background-color: #0A1931;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-index-latest-promotions-fishing-machine-2__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions-fishing-machine-2__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-promotions-fishing-machine-2__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-latest-promotions-fishing-machine-2__btn-primary,
.page-index-latest-promotions-fishing-machine-2__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index-latest-promotions-fishing-machine-2__btn-primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

.page-index-latest-promotions-fishing-machine-2__btn-primary:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
}

.page-index-latest-promotions-fishing-machine-2__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-latest-promotions-fishing-machine-2__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
  transform: translateY(-2px);
}

.page-index-latest-promotions-fishing-machine-2__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index-latest-promotions-fishing-machine-2__btn-large {
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-index-latest-promotions-fishing-machine-2__promotions-overview,
.page-index-latest-promotions-fishing-machine-2__how-to-participate,
.page-index-latest-promotions-fishing-machine-2__faq-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-index-latest-promotions-fishing-machine-2__featured-promotions,
.page-index-latest-promotions-fishing-machine-2__game-features,
.page-index-latest-promotions-fishing-machine-2__cta-bottom {
  padding: 80px 0;
  background-color: #0A1931; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-index-latest-promotions-fishing-machine-2__section-title,
.page-index-latest-promotions-fishing-machine-2__cta-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-index-latest-promotions-fishing-machine-2__section-title {
  color: #0A1931; /* Dark title on light background */
}

.page-index-latest-promotions-fishing-machine-2__featured-promotions .page-index-latest-promotions-fishing-machine-2__section-title,
.page-index-latest-promotions-fishing-machine-2__game-features .page-index-latest-promotions-fishing-machine-2__section-title,
.page-index-latest-promotions-fishing-machine-2__cta-bottom .page-index-latest-promotions-fishing-machine-2__cta-title {
  color: #FFD700; /* Gold title on dark background */
}

.page-index-latest-promotions-fishing-machine-2__section-description,
.page-index-latest-promotions-fishing-machine-2__cta-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  color: inherit;
}

.page-index-latest-promotions-fishing-machine-2__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
}

.page-index-latest-promotions-fishing-machine-2__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-index-latest-promotions-fishing-machine-2__promotion-grid,
.page-index-latest-promotions-fishing-machine-2__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-latest-promotions-fishing-machine-2__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-index-latest-promotions-fishing-machine-2__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px;
}

.page-index-latest-promotions-fishing-machine-2__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-latest-promotions-fishing-machine-2__card-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index-latest-promotions-fishing-machine-2__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.page-index-latest-promotions-fishing-machine-2__step-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FFD700;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-latest-promotions-fishing-machine-2__step-title {
  font-size: 1.4em;
  color: #0A1931;
  margin-bottom: 15px;
}

.page-index-latest-promotions-fishing-machine-2__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-index-latest-promotions-fishing-machine-2__feature-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: #ffffff;
}

.page-index-latest-promotions-fishing-machine-2__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  object-fit: contain;
  min-height: 200px;
}

.page-index-latest-promotions-fishing-machine-2__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-latest-promotions-fishing-machine-2__feature-description {
  font-size: 1em;
  line-height: 1.6;
}

.page-index-latest-promotions-fishing-machine-2__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-latest-promotions-fishing-machine-2__faq-item {
  background-color: #f8f8f8;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-latest-promotions-fishing-machine-2__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A1931;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-index-latest-promotions-fishing-machine-2__faq-question:hover {
  background-color: #f0f0f0;
}

.page-index-latest-promotions-fishing-machine-2__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-latest-promotions-fishing-machine-2__faq-item.active .page-index-latest-promotions-fishing-machine-2__faq-toggle {
  transform: rotate(45deg);
}

.page-index-latest-promotions-fishing-machine-2__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #555555;
}

.page-index-latest-promotions-fishing-machine-2__faq-item.active .page-index-latest-promotions-fishing-machine-2__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px 30px;
}

.page-index-latest-promotions-fishing-machine-2__cta-bottom {
  text-align: center;
  padding: 100px 0;
  background-color: #0A1931;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-latest-promotions-fishing-machine-2__hero-title {
    font-size: 3em;
  }

  .page-index-latest-promotions-fishing-machine-2__section-title,
  .page-index-latest-promotions-fishing-machine-2__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions-fishing-machine-2__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
    min-height: 400px;
  }

  .page-index-latest-promotions-fishing-machine-2__hero-title {
    font-size: 2.5em;
  }

  .page-index-latest-promotions-fishing-machine-2__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-index-latest-promotions-fishing-machine-2__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-latest-promotions-fishing-machine-2__btn-primary,
  .page-index-latest-promotions-fishing-machine-2__btn-secondary,
  .page-index-latest-promotions-fishing-machine-2 a[class*="button"],
  .page-index-latest-promotions-fishing-machine-2 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-index-latest-promotions-fishing-machine-2__cta-buttons,
  .page-index-latest-promotions-fishing-machine-2__button-group,
  .page-index-latest-promotions-fishing-machine-2__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-index-latest-promotions-fishing-machine-2__section-title,
  .page-index-latest-promotions-fishing-machine-2__cta-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-index-latest-promotions-fishing-machine-2__section-description,
  .page-index-latest-promotions-fishing-machine-2__cta-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-index-latest-promotions-fishing-machine-2__promotions-overview,
  .page-index-latest-promotions-fishing-machine-2__how-to-participate,
  .page-index-latest-promotions-fishing-machine-2__faq-section,
  .page-index-latest-promotions-fishing-machine-2__featured-promotions,
  .page-index-latest-promotions-fishing-machine-2__game-features,
  .page-index-latest-promotions-fishing-machine-2__cta-bottom {
    padding: 60px 0;
  }

  .page-index-latest-promotions-fishing-machine-2__container {
    padding: 0 15px;
  }

  .page-index-latest-promotions-fishing-machine-2__video-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .page-index-latest-promotions-fishing-machine-2__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-latest-promotions-fishing-machine-2 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-latest-promotions-fishing-machine-2__section,
  .page-index-latest-promotions-fishing-machine-2__card,
  .page-index-latest-promotions-fishing-machine-2__container,
  .page-index-latest-promotions-fishing-machine-2__video-section,
  .page-index-latest-promotions-fishing-machine-2__video-container,
  .page-index-latest-promotions-fishing-machine-2__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-index-latest-promotions-fishing-machine-2__faq-question,
  .page-index-latest-promotions-fishing-machine-2__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-latest-promotions-fishing-machine-2__hero-title {
    font-size: 2em;
  }

  .page-index-latest-promotions-fishing-machine-2__section-title,
  .page-index-latest-promotions-fishing-machine-2__cta-title {
    font-size: 1.5em;
  }

  .page-index-latest-promotions-fishing-machine-2__btn-large {
    font-size: 1.1em;
    padding: 12px 25px;
  }

  .page-index-latest-promotions-fishing-machine-2__card-title,
  .page-index-latest-promotions-fishing-machine-2__feature-title,
  .page-index-latest-promotions-fishing-machine-2__step-title {
    font-size: 1.2em;
  }

  .page-index-latest-promotions-fishing-machine-2__faq-question {
    font-size: 1em;
  }
}