.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column; /* Default column for upper image, lower content */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background: #FFFFFF;
  color: #333333;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default for desktop */
}

.page-fishing-games__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

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

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-fishing-games__subsection-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fishing-games__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  text-align: justify;
}

.page-fishing-games__paragraph--note {
  text-align: center;
  font-style: italic;
  margin-top: 20px;
}

.page-fishing-games__highlight {
  font-weight: bold;
  color: #26A9E0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-step {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  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-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

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

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

.page-fishing-games__btn-play {
  background-color: #EA7C07; /* Login color for play button */
  color: #FFFFFF;
  border: none;
  font-size: 0.9em;
  padding: 8px 15px;
  border-radius: 5px;
}

.page-fishing-games__btn-play:hover {
  background-color: #c76706;
}

.page-fishing-games__btn-step {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: none;
  font-size: 0.9em;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 15px;
}

.page-fishing-games__btn-step:hover {
  background-color: #1e87c2;
}

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

/* Background Colors */
.page-fishing-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__subsection-title,
.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__promotion-title,
.page-fishing-games__dark-bg .page-fishing-games__security-title {
  color: #FFFFFF;
}

.page-fishing-games__dark-bg .page-fishing-games__highlight {
  color: #f0f0f0;
}

/* Features Section */
.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding-bottom: 40px;
}

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-fishing-games__feature-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding-bottom: 60px;
}

.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
  overflow-x: hidden;
}

.page-fishing-games__game-tile {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1 / 1.2; /* Slightly taller for title and button */
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 0.75; /* Image portion */
}

.page-fishing-games__game-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #333333;
  margin: 15px 10px 10px 10px;
  flex-grow: 1;
}

/* Tips Section */
.page-fishing-games__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding-bottom: 40px;
}

.page-fishing-games__tip-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-fishing-games__tip-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
}

.page-fishing-games__tip-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__tip-description {
  font-size: 0.95em;
  color: #555555;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding-bottom: 60px;
}

.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
}

.page-fishing-games__promotion-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promotion-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 15px auto;
  display: block;
}

.page-fishing-games__promotion-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-fishing-games__promotion-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding-bottom: 60px;
}

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

.page-fishing-games__step-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-top: 70px; /* Space for step number */
}

.page-fishing-games__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #26A9E0;
  color: #FFFFFF;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

/* Security Section */
.page-fishing-games__security-section {
  padding-bottom: 60px;
}

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

.page-fishing-games__security-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__security-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 15px auto;
  display: block;
}

.page-fishing-games__security-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-fishing-games__security-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding-bottom: 60px;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For <summary> */
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #eaf7fc;
  color: #26A9E0;
  border-bottom: none;
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  color: #26A9E0;
  transform: rotate(45deg); /* Optional: animate to X */
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #FFFFFF;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding-bottom: 60px;
  padding-top: 40px;
}

/* General Image Styling */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

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

  .page-fishing-games__subsection-title {
    font-size: 1.6em;
  }

  .page-fishing-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__tip-card,
  .page-fishing-games__promotion-item,
  .page-fishing-games__security-item {
    padding: 20px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 80%; /* Adjust for tablet */
    margin: 0 auto;
  }
}

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

  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Hero Section - 768px */
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-fishing-games__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible, not cropped */
    height: auto !important;
    max-height: none !important;
    aspect-ratio: unset !important;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* Buttons - 768px */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play,
  .page-fishing-games__btn-step,
  .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__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;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* General Image & Container - 768px */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* Game Grid - 768px */
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 15px;
  }

  .page-fishing-games__game-tile {
    aspect-ratio: 1 / 1.2; /* Maintain ratio */
  }

  .page-fishing-games__game-image {
    aspect-ratio: 1 / 0.75;
  }

  /* Other Grids - 768px */
  .page-fishing-games__features-grid,
  .page-fishing-games__tips-grid,
  .page-fishing-games__promotion-list,
  .page-fishing-games__guide-steps,
  .page-fishing-games__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-fishing-games__subsection-title {
    font-size: 1.4em;
  }

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

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

  .page-fishing-games__feature-image,
  .page-fishing-games__tip-image {
    max-height: 150px;
  }

  .page-fishing-games__promotion-icon,
  .page-fishing-games__security-icon {
    width: 50px;
    height: 50px;
  }
}