/* style/fishing-games.css */

/* Base styles for the fishing-games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bb0 100%); /* Brand color gradient */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-fishing-games__hero-section .page-fishing-games__container {
  position: relative;
  z-index: 1;
}

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

.page-fishing-games__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.5;
}

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

/* General Section Styles */
.page-fishing-games__section-intro,
.page-fishing-games__section-guide,
.page-fishing-games__section-features,
.page-fishing-games__section-conclusion {
  padding: 60px 0;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff;
}

.page-fishing-games__section-games,
.page-fishing-games__section-promotions,
.page-fishing-games__section-faq {
  padding: 60px 0;
  color: #ffffff; /* Light text for dark background */
  background-color: #26A9E0; /* Brand color as background */
}

.page-fishing-games__section-intro h2, .page-fishing-games__section-intro h3,
.page-fishing-games__section-guide h2, .page-fishing-games__section-guide h3,
.page-fishing-games__section-features h2, .page-fishing-games__section-features h3,
.page-fishing-games__section-conclusion h2, .page-fishing-games__section-conclusion h3 {
  color: #000000; /* Dark text for light background */
}

.page-fishing-games__section-games h2, .page-fishing-games__section-games h3,
.page-fishing-games__section-promotions h2, .page-fishing-games__section-promotions h3,
.page-fishing-games__section-faq h2, .page-fishing-games__section-faq h3 {
  color: #ffffff; /* Light text for dark background */
}

.page-fishing-games__heading-what-is,
.page-fishing-games__heading-how-to-play,
.page-fishing-games__heading-tech,
.page-fishing-games__heading-conclusion {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
}

.page-fishing-games__heading-why-choose,
.page-fishing-games__heading-history,
.page-fishing-games__heading-game-variety,
.page-fishing-games__heading-exclusive-promos,
.page-fishing-games__heading-faq {
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
}

.page-fishing-games__heading-game-thantai,
.page-fishing-games__heading-game-vua,
.page-fishing-games__heading-game-rong,
.page-fishing-games__heading-game-new,
.page-fishing-games__heading-register-deposit,
.page-fishing-games__heading-choose-table,
.page-fishing-games__heading-fish-values,
.page-fishing-games__heading-tips-strategy,
.page-fishing-games__heading-welcome-bonus,
.page-fishing-games__heading-cashback,
.page-fishing-games__heading-leaderboard,
.page-fishing-games__heading-graphics,
.page-fishing-games__heading-security,
.page-fishing-games__heading-multiplatform,
.page-fishing-games__heading-transactions {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-fishing-games__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

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

/* Lists */
.page-fishing-games__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-fishing-games__list-item {
  margin-bottom: 10px;
}

.page-fishing-games__features-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__feature-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
  text-align: center;
}

.page-fishing-games__feature-item h3 {
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-fishing-games__feature-image {
  margin-top: 20px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 20px;
}

.page-fishing-games__game-card h3,
.page-fishing-games__promo-card h3 {
  font-size: 1.3em;
  margin: 20px 15px 10px;
  color: #26A9E0;
}

.page-fishing-games__game-card h3 a,
.page-fishing-games__promo-card h3 a {
  color: #26A9E0;
  text-decoration: none;
}

.page-fishing-games__game-card h3 a:hover,
.page-fishing-games__promo-card h3 a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-thumbnail,
.page-fishing-games__promo-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for cards */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-fishing-games__game-description,
.page-fishing-games__promo-description {
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  color: #333333;
  padding: 15px 20px;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  color: #26A9E0;
  padding: 5px 0;
  list-style: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  line-height: 1;
}

.page-fishing-games__faq-answer {
  padding-top: 15px;
  border-top: 1px solid #eee;
  margin-top: 15px;
  line-height: 1.6;
}

/* Image Specific Styles - Ensure no filters */
.page-fishing-games img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area images must not be smaller than 200px */
.page-fishing-games__content-image {
  min-width: 200px;
  min-height: 200px;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 3em;
  }
  .page-fishing-games__heading-what-is,
  .page-fishing-games__heading-how-to-play,
  .page-fishing-games__heading-tech,
  .page-fishing-games__heading-conclusion {
    font-size: 2.2em;
  }
  .page-fishing-games__heading-game-variety,
  .page-fishing-games__heading-exclusive-promos,
  .page-fishing-games__heading-faq {
    font-size: 1.8em;
  }
}

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

  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    padding-bottom: 60px;
  }

  .page-fishing-games__main-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }

  .page-fishing-games__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-intro,
  .page-fishing-games__section-guide,
  .page-fishing-games__section-features,
  .page-fishing-games__section-conclusion,
  .page-fishing-games__section-games,
  .page-fishing-games__section-promotions,
  .page-fishing-games__section-faq {
    padding: 40px 0;
  }

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

  .page-fishing-games__heading-what-is,
  .page-fishing-games__heading-how-to-play,
  .page-fishing-games__heading-tech,
  .page-fishing-games__heading-conclusion {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-fishing-games__heading-game-variety,
  .page-fishing-games__heading-exclusive-promos,
  .page-fishing-games__heading-faq {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .page-fishing-games__heading-game-thantai,
  .page-fishing-games__heading-game-vua,
  .page-fishing-games__heading-game-rong,
  .page-fishing-games__heading-game-new,
  .page-fishing-games__heading-register-deposit,
  .page-fishing-games__heading-choose-table,
  .page-fishing-games__heading-fish-values,
  .page-fishing-games__heading-tips-strategy,
  .page-fishing-games__heading-welcome-bonus,
  .page-fishing-games__heading-cashback,
  .page-fishing-games__heading-leaderboard,
  .page-fishing-games__heading-graphics,
  .page-fishing-games__heading-security,
  .page-fishing-games__heading-multiplatform,
  .page-fishing-games__heading-transactions {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  .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;
  }

  .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;
  }

  .page-fishing-games__cta-buttons {
    display: flex;
    flex-direction: column; 
  }

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

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