.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #ffffff); /* Fallback to white if --background-color is not defined */
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #26A9E0, #1a8cc4);
  color: #ffffff;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
  display: block;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games__btn-primary,
.page-fishing-games__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, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-fishing-games__btn-primary:hover {
  background: #cc6a00;
  border-color: #cc6a00;
}

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background: #e0f2f7;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-fishing-games__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-fishing-games__intro-section,
.page-fishing-games__game-types-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__how-to-play-section,
.page-fishing-games__strategies-section,
.page-fishing-games__video-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title,
.page-fishing-games__strategies-section .page-fishing-games__section-title,
.page-fishing-games__video-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__text-block p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-align: justify;
}

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-fishing-games__list-item {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__how-to-play-section .page-fishing-games__list-item {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-fishing-games__strategies-section .page-fishing-games__list-item {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-fishing-games__list-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-fishing-games__list-item p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
  text-align: justify;
}

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

.page-fishing-games__game-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: #26A9E0;
}

.page-fishing-games__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-fishing-games__card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__card-description {
  font-size: 0.95rem;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__card-btn {
  margin: 0 20px 20px 20px;
  text-align: center;
  align-self: flex-start;
  padding: 10px 20px;
}

.page-fishing-games__cta-buttons--center {
  margin-top: 30px;
}

.page-fishing-games__btn-center {
  margin: 30px auto 0 auto;
  display: block;
  width: fit-content;
}

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

.page-fishing-games__promo-card {
  background: #f0f8ff; /* Light blue background */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__promo-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-fishing-games__promo-card p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.page-fishing-games__video-section {
  text-align: center;
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-fishing-games__video-caption {
  font-size: 1rem;
  margin-top: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #26A9E0;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #e0e0e0;
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-question:hover {
  background-color: #e0e0e0;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-fishing-games__subtitle {
    font-size: 1.1rem;
  }

  .page-fishing-games__section-title {
    font-size: 2rem;
  }

  .page-fishing-games__list-title,
  .page-fishing-games__card-title,
  .page-fishing-games__promo-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-content {
    padding: 20px 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-fishing-games__subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section {
    padding: 40px 0;
  }

  .page-fishing-games__list-item {
    padding: 15px;
  }

  .page-fishing-games__list-title {
    font-size: 1.2rem;
  }

  .page-fishing-games__text-block p {
    font-size: 1rem;
  }

  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 20px auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.95rem;
  }

  .page-fishing-games__card,
  .page-fishing-games__promo-card,
  .page-fishing-games__list-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__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;
  }
}