/* style/fishing-games.css */

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #1E90FF;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.page-fishing-games__text-block p {
  margin-bottom: 1em;
  font-size: 1.05em;
  color: #333333;
}

.page-fishing-games__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: #1E90FF;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(30, 144, 255, 0.4);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-games__hero-section.page-fishing-games__dark-bg {
  background-color: #1E90FF; /* Use auxiliary color for dark background */
  color: #ffffff;
}

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

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

.page-fishing-games__hero-description {
  font-size: 1.4em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

/* Introduction Section */
.page-fishing-games__introduction-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

/* Game Halls Section */
.page-fishing-games__game-halls-section,
.page-fishing-games__strategy-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #1E90FF;
  color: #ffffff;
}

.page-fishing-games__game-halls-section .page-fishing-games__section-title,
.page-fishing-games__strategy-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #FFD700;
}

.page-fishing-games__game-halls-section .page-fishing-games__section-description,
.page-fishing-games__strategy-section .page-fishing-games__text-block p,
.page-fishing-games__faq-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

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

.page-fishing-games__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 1.6em;
  color: #1E90FF;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-fishing-games__card-text {
  font-size: 1em;
  color: #555;
  padding: 0 20px;
  margin-bottom: 25px;
}

/* Lists */
.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-top: 30px;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.5;
  color: #333333;
}

.page-fishing-games__unordered-list li {
  list-style-type: '🐠 ';
  padding-left: 10px;
}

.page-fishing-games__ordered-list li strong {
  color: #1E90FF;
}

.page-fishing-games__promotion-list {
  list-style-type: '⭐ ';
  padding-left: 20px;
  margin-top: 30px;
}

.page-fishing-games__promotion-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.5;
  color: #333333;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  font-weight: bold;
  font-size: 1.15em;
  color: #1E90FF;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.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: #555;
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 60px;
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

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

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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__card-image {
    height: 180px;
  }

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

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

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

  /* Ensure content images are not too small */
  .page-fishing-games__content-image {
    min-width: 200px;
    min-height: 200px;
  }

  .page-fishing-games__card-image {
    min-width: 200px;
    min-height: 200px;
  }

  /* Content area images must not display smaller than 200px */
  .page-fishing-games img:not(.page-fishing-games__hero-image) {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__card-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__ordered-list li,
  .page-fishing-games__unordered-list li,
  .page-fishing-games__promotion-list li {
    font-size: 0.95em;
  }
}