/* style/fishing-games.css */
:root {
  --af88-primary-color: #11A84E;
  --af88-secondary-color: #22C768;
  --af88-bg-color: #08160F;
  --af88-card-bg-color: #11271B;
  --af88-text-main-color: #F2FFF6;
  --af88-text-secondary-color: #A7D9B8;
  --af88-border-color: #2E7A4E;
  --af88-glow-color: #57E38D;
  --af88-gold-color: #F2C14E;
  --af88-divider-color: #1E3A2A;
  --af88-deep-green-color: #0A4B2C;
  --af88-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--af88-text-main-color);
  background-color: var(--af88-bg-color);
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  min-height: 600px;
  overflow: hidden;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(17, 39, 27, 0.8);
  border-radius: 12px;
  margin-top: 20px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--af88-gold-color);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--af88-text-secondary-color);
  margin-bottom: 30px;
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: var(--af88-btn-gradient);
  color: var(--af88-text-main-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--af88-gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--af88-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fishing-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-fishing-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__image-block {
  flex: 1;
  min-width: 200px; /* Ensure minimum image size */
}

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-fishing-games__image-center {
  margin: 40px auto;
  max-width: 800px;
}

.page-fishing-games__introduction-section,
.page-fishing-games__download-guide-section,
.page-fishing-games__faq-section {
  background-color: var(--af88-bg-color);
  color: var(--af88-text-main-color);
}

.page-fishing-games__why-choose-section,
.page-fishing-games__strategy-section,
.page-fishing-games__conclusion-section {
  background-color: var(--af88-card-bg-color);
  color: var(--af88-text-main-color);
}

.page-fishing-games__dark-section {
  background-color: var(--af88-card-bg-color);
  color: var(--af88-text-main-color);
}

.page-fishing-games p {
  line-height: 1.7;
  margin-bottom: 1em;
  color: var(--af88-text-secondary-color);
}

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

.page-fishing-games__card {
  background-color: var(--af88-card-bg-color);
  border: 1px solid var(--af88-border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--af88-text-main-color);
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--af88-primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--af88-text-secondary-color);
}

.page-fishing-games__ordered-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

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

.page-fishing-games__faq-item {
  background-color: var(--af88-card-bg-color);
  border: 1px solid var(--af88-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--af88-text-main-color);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--af88-primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(34, 199, 104, 0.1);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--af88-gold-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--af88-text-secondary-color);
}

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

.page-fishing-games__faq-item summary {
  list-style: none;
}

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

.page-fishing-games__faq-answer a {
  color: var(--af88-glow-color);
  text-decoration: underline;
}

.page-fishing-games__conclusion-section {
  text-align: center;
  padding: 60px 20px;
}

.page-fishing-games__conclusion-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--af88-text-secondary-color);
}

/* Ensure all images are responsive by default */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Enforce min size for content images */
  min-width: 200px;
  min-height: 200px;
}

/* All image containers */
.page-fishing-games__image-block,
.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Responsive design for tablets and mobile */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.5em;
  }

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

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

  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }

  .page-fishing-games__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-fishing-games__text-block, .page-fishing-games__image-block {
    flex: none;
    width: 100%;
  }
}

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

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

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

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

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

  .page-fishing-games__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-fishing-games__sub-title {
    font-size: 1.3em;
  }

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__card-title {
    font-size: 1.3em;
  }

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

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

  .page-fishing-games__conclusion-section {
    padding: 40px 15px;
  }

  .page-fishing-games__conclusion-text {
    font-size: 1em;
  }

  /* Mobile responsive image adaptation */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size is maintained */
    min-height: 200px !important; /* Ensure min size is maintained */
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__text-block,
  .page-fishing-games__image-block,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Ensure buttons are properly stacked or wrapped on mobile */
  .page-fishing-games__hero-cta,
  .page-fishing-games__download-cta,
  .page-fishing-games__conclusion-cta {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}