/* style/fishing-games.css */

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

.page-fishing-games {
  background-color: var(--page-bg); /* Body background is dark, so text is light by default */
  color: var(--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;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -200px; /* Adjust to pull content up over the image, but not covering it */
  background: rgba(8, 22, 15, 0.7); /* Semi-transparent background for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-fishing-games__hero-title {
  color: var(--gold-color);
  font-size: clamp(2.2em, 5vw, 3.5em);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px var(--glow-color);
}

.page-fishing-games__hero-description {
  color: var(--text-main);
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--page-bg);
  transform: translateY(-3px);
}

/* General Section Styling */
.page-fishing-games__section-title {
  color: var(--gold-color);
  font-size: clamp(1.8em, 4vw, 2.8em);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

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

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

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--page-bg);
}

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

.page-fishing-games__feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  object-fit: cover;
}

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

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
  background-color: var(--deep-green);
}

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

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

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__game-title {
  color: var(--gold-color);
  font-size: 1.6em;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  background-color: var(--page-bg);
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
}

.page-fishing-games__guide-list li {
  background-color: var(--card-bg);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  position: relative;
  padding-left: 70px;
  color: var(--text-secondary);
}

.page-fishing-games__guide-list li strong {
  color: var(--text-main);
  font-size: 1.2em;
  display: block;
  margin-bottom: 5px;
}

.page-fishing-games__guide-list li::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--button-gradient);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.3em;
  box-shadow: 0 2px 10px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 80px 0;
  background-color: var(--deep-green);
}

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

.page-fishing-games__strategy-list li {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
}

.page-fishing-games__strategy-list li::before {
  content: '✓'; /* Checkmark icon */
  color: var(--glow-color);
  font-size: 1.5em;
  margin-right: 15px;
  font-weight: bold;
}

.page-fishing-games__strategy-list li strong {
  color: var(--text-main);
  font-size: 1.1em;
}

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

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

.page-fishing-games__promo-card {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__promo-title {
  color: var(--gold-color);
  font-size: 1.6em;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Benefits Section */
.page-fishing-games__benefits-section {
  padding: 80px 0;
  background-color: var(--deep-green);
}

.page-fishing-games__benefits-list {
  list-style: none;
  padding: 0;
}

.page-fishing-games__benefits-list li {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.page-fishing-games__benefits-list li::before {
  content: '★'; /* Star icon */
  color: var(--gold-color);
  font-size: 1.5em;
  margin-right: 15px;
  font-weight: bold;
}

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

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--text-main);
  font-weight: bold;
  font-size: 1.1em;
  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;
  color: var(--secondary-color);
  margin-left: 15px;
  user-select: none;
}

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

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

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  background-color: var(--deep-green);
  text-align: center;
}

.page-fishing-games__cta-final-content {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -150px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-content {
    margin-top: -100px;
    padding: 15px;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__feature-description,
  .page-fishing-games__game-description,
  .page-fishing-games__promo-description,
  .page-fishing-games__faq-answer {
    font-size: 0.95em;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }

  .page-fishing-games__guide-list li {
    padding-left: 60px;
  }

  .page-fishing-games__guide-list li::before {
    left: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }

  .page-fishing-games__strategy-list li,
  .page-fishing-games__benefits-list li {
    padding: 15px 20px;
    font-size: 0.95em;
  }

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

  .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-section,
  .page-fishing-games__intro-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__benefits-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }

  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: -80px;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(1.2em, 7vw, 1.8em);
  }
}