.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background from shared.css */
}

.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-image-container {
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #0d0d0d; /* Slightly lighter dark background */
}

.page-fishing-games__video-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.page-fishing-games__video-cta {
  margin-top: 30px;
}

.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  background-color: #ffffff; /* Light background for content area */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-align: center;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-fishing-games__subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-fishing-games__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-fishing-games__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__game-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__cockfighting-promo {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 60px;
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}

.page-fishing-games__cockfighting-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px;
}

.page-fishing-games__cockfighting-text {
  flex: 2;
  min-width: 300px;
  color: #333333;
}

.page-fishing-games__cockfighting-text h3 {
  color: #26A9E0;
  font-size: 2em;
  margin-bottom: 15px;
}

.page-fishing-games__cockfighting-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-fishing-games__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #f0faff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__cta-text {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 30px;
}

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

.page-fishing-games__faq-item {
  background-color: #f8f8f8;
  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;
  cursor: pointer;
  background-color: #eaf6ff;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin: 0;
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
  padding-top: 10px;
}

.page-fishing-games__download-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1a7bbd; /* Brand color dark variant */
  color: #ffffff;
}

.page-fishing-games__download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-fishing-games__app-image {
  margin-top: 40px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

/* General Button Styles */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background: #ffffff;
  color: #26A9E0;
}

/* Color Contrast Fixes */
.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__hero-description,
.page-fishing-games__dark-bg .page-fishing-games__section-description {
  color: #ffffff; /* Ensure white text on dark backgrounds */
}

.page-fishing-games__light-bg .page-fishing-games__text-contrast-fix,
.page-fishing-games__light-bg p,
.page-fishing-games__light-bg li {
  color: #333333; /* Ensure dark text on light backgrounds */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 60px 15px;
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-fishing-games__video-section {
    padding: 60px 15px;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__section-description {
    font-size: 0.95em;
  }

  .page-fishing-games__content-area {
    padding: 60px 15px;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__list li {
    font-size: 1em;
  }

  .page-fishing-games__subtitle {
    font-size: 1.5em;
  }

  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__cockfighting-promo {
    flex-direction: column;
    padding: 20px;
  }

  .page-fishing-games__cockfighting-text h3 {
    font-size: 1.6em;
    margin-top: 20px;
  }

  .page-fishing-games__cta-section {
    padding: 30px 15px;
  }

  .page-fishing-games__cta-text {
    font-size: 1.1em;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
  }

  .page-fishing-games__faq-title {
    font-size: 1.1em;
  }

  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }

  .page-fishing-games__download-section {
    padding: 60px 15px;
  }

  .page-fishing-games__download-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Image and Video responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container,
  .page-fishing-games__download-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Buttons specific mobile fix */
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games 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-fishing-games__hero-buttons,
  .page-fishing-games__download-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }
}

/* Ensure images in content area are not too small */
.page-fishing-games img {
  min-width: 200px;
  min-height: 200px;
}

/* Content area images CSS size lower bound (not by class name, but by scope) */
.page-fishing-games__content-area img,
.page-fishing-games__game-card-image,
.page-fishing-games__cockfighting-image,
.page-fishing-games__app-image {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .page-fishing-games__content-area img,
  .page-fishing-games__game-card-image,
  .page-fishing-games__cockfighting-image,
  .page-fishing-games__app-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}