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

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-main); /* Assuming body background is dark based on palette */
  color: var(--text-main); /* Light text for dark background */
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--glow-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: justify;
}

.page-fishing-games__text-center {
  text-align: center;
}

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

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

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

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

.page-fishing-games__hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-fishing-games__hero-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 0;
  background-color: var(--background-main);
}

/* Featured Games Section */
.page-fishing-games__featured-games-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

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

.page-fishing-games__game-card {
  background-color: var(--deep-green-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__card-title {
  font-size: 1.8rem;
  color: var(--glow-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--button-gradient);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  max-width: 90%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Download Guide Section */
.page-fishing-games__download-guide-section {
  padding: 60px 0;
  background-color: var(--background-main);
}

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

.page-fishing-games__step-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-fishing-games__step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--glow-color);
  color: var(--deep-green-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-fishing-games__step-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

.page-fishing-games__download-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: var(--deep-green-color);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__download-qr-image {
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid var(--glow-color);
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto; /* Center the image */
  margin-right: auto; /* Center the image */
}

.page-fishing-games__download-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__download-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 60px 0;
  background-color: var(--background-main);
}

.page-fishing-games__tip-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-fishing-games__tip-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-fishing-games__tip-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-fishing-games__tip-description {
  font-size: 1rem;
  color: var(--text-secondary);
}

.page-fishing-games__tips-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--glow-color);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-fishing-games__promo-list li {
  background-color: var(--deep-green-color);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--text-main);
  border-left: 5px solid var(--glow-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__promo-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-gradient);
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__promo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 60px 0;
  background-color: var(--background-main);
}

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

.page-fishing-games__advantages-list li {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__advantages-list li strong {
  color: var(--text-main);
}

.page-fishing-games__why-choose-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
}

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

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

.page-fishing-games__faq-item {
  background-color: var(--deep-green-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.1);
}

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

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--glow-color);
  margin-left: 15px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−'; /* Change to minus sign when open */
}

.page-fishing-games__faq-answer {
  padding: 15px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  background-color: rgba(17, 168, 78, 0.05);
  border-top: 1px solid var(--divider-color);
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
  color: var(--text-secondary);
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 60px 0;
  background-color: var(--background-main);
}

.page-fishing-games__cta-final-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--button-gradient);
  color: var(--text-main);
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  margin-top: 30px;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-final-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    max-height: 500px;
  }
  .page-fishing-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-fishing-games__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .page-fishing-games__tip-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-fishing-games__advantages-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

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

  .page-fishing-games__hero-title {
    font-size: 2.5rem;
  }

  .page-fishing-games__hero-description {
    font-size: 1.1rem;
  }

  .page-fishing-games__hero-button,
  .page-fishing-games__download-button,
  .page-fishing-games__promo-button,
  .page-fishing-games__cta-final-button,
  .page-fishing-games__card-button {
    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__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__featured-games-section,
  .page-fishing-games__download-guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 40px 0;
  }

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

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

  .page-fishing-games__hero-image,
  .page-fishing-games__card-image,
  .page-fishing-games__download-qr-image,
  .page-fishing-games__tips-image,
  .page-fishing-games__why-choose-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__advantages-list li,
  .page-fishing-games__faq-item,
  .page-fishing-games__download-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* For containers with images/buttons */
  }
  
  .page-fishing-games__download-cta p {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1rem;
    padding: 12px 15px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 1.5rem;
  }

  .page-fishing-games__faq-answer {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__tip-list,
  .page-fishing-games__advantages-list {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__hero-description {
    font-size: 1rem;
  }
  .page-fishing-games__hero-button,
  .page-fishing-games__download-button,
  .page-fishing-games__promo-button,
  .page-fishing-games__cta-final-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}