/* style/fishing-games.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Base styles for the page, assuming a dark body background from shared.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--background-dark); /* Ensure consistency if body background is not set */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin-bottom: 20px;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* General Section Styling */
.page-fishing-games__introduction-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__strategy-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(34, 199, 104, 0.3);
}

.page-fishing-games__text-block {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 15px;
  text-align: justify;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  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: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(17, 168, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__guide-cta {
  margin-top: 40px;
}

.page-fishing-games__final-cta {
  margin-top: 40px;
}

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

.page-fishing-games__feature-card {
  background-color: var(--background-dark);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.4);
}

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

.page-fishing-games__game-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-fishing-games__step-item {
  background-color: var(--background-dark);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__step-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Strategy Section */
.page-fishing-games__strategy-content {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.page-fishing-games__strategy-image {
  width: 50%;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.page-fishing-games__strategy-text {
  width: 50%;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-fishing-games__strategy-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%232AD16F"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-main);
  line-height: 1.6;
}

.page-fishing-games__strategy-list li strong {
  color: var(--gold-color);
}

/* Promotions Section */
.page-fishing-games__promotions-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__promotion-card {
  background-color: var(--background-dark);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__promotion-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__promotion-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__promotions-image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  margin-top: 40px;
  display: block;
  border: 1px solid var(--border-color);
}

/* Why Choose Section */
.page-fishing-games__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__reason-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__reason-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__reason-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.page-fishing-games__faq-item {
  background-color: var(--background-dark);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

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

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: none;
}

/* CTA Section */
.page-fishing-games__cta-section {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__strategy-content {
    flex-direction: column;
  }

  .page-fishing-games__strategy-image,
  .page-fishing-games__strategy-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-image-wrapper {
    padding-bottom: 65%; /* Adjust aspect ratio for mobile */
  }

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

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

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

  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__text-block {
    font-size: 0.95em;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 10px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    margin-bottom: 15px;
  }

  .page-fishing-games__game-thumbnail {
    height: 180px;
  }

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

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

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

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile container responsiveness */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section,
  .page-fishing-games__game-card,
  .page-fishing-games__feature-card,
  .page-fishing-games__step-item,
  .page-fishing-games__promotion-card,
  .page-fishing-games__reason-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !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;
  }

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

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