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

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

.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: var(--page-fishing-games-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-block p {
  margin-bottom: 1em;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__text-main {
  color: var(--page-fishing-games-text-main);
  font-weight: bold;
}

.page-fishing-games__text-secondary {
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__text-gold {
  color: var(--page-fishing-games-gold-color);
  font-weight: bold;
}

.page-fishing-games__inline-link {
  color: var(--page-fishing-games-secondary-color);
  text-decoration: underline;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff; /* Always white text on dark button */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: none;
  color: var(--page-fishing-games-secondary-color);
  border: 2px solid var(--page-fishing-games-secondary-color);
  box-shadow: none;
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(var(--page-fishing-games-secondary-color), 0.1);
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-center {
  display: block;
  margin: 40px auto 0;
  max-width: 300px;
}

/* Card Styles */
.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__card-title a {
  color: var(--page-fishing-games-text-main);
  text-decoration: none;
}

.page-fishing-games__card-title a:hover {
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__card-text {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: var(--page-fishing-games-text-secondary);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-fishing-games-background);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  color: var(--page-fishing-games-gold-color);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__introduction-section .page-fishing-games__content-image {
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 800px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Games List Section */
.page-fishing-games__games-list-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-background);
}

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

.page-fishing-games__game-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-fishing-games__guide-step {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__guide-step p {
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-background);
}

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

.page-fishing-games__advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-fishing-games__advantage-title {
  font-size: 1.3em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-background);
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-fishing-games__faq-item {
  margin-bottom: 20px;
  text-align: left;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--page-fishing-games-deep-green);
  color: var(--page-fishing-games-text-main);
  font-weight: bold;
  font-size: 1.15em;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-fishing-games__faq-question:hover {
  background-color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  background-color: var(--page-fishing-games-card-bg);
  border-top: 1px solid var(--page-fishing-games-border-color);
  color: var(--page-fishing-games-text-secondary);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 1em;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

/* Dark Background Section */
.page-fishing-games__dark-section {
  background-color: var(--page-fishing-games-deep-green);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
}

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

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

  .page-fishing-games__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }

  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__games-list-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 50px 0;
  }

  /* 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,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-step,
  .page-fishing-games__advantage-item,
  .page-fishing-games__promotion-card,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .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__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;
  }

  .page-fishing-games__advantages-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promotion-cards-grid,
  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

/* Ensure min-size for all content images */
.page-fishing-games img:not(.page-fishing-games__advantage-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Specific min-size for advantage icons if they are smaller */
.page-fishing-games__advantage-icon {
  min-width: 200px; /* Overriding default smaller width to meet global min-size */
  min-height: 200px; /* Overriding default smaller height to meet global min-size */
  width: 200px;
  height: 200px;
}