/* Base styles for the fishing-games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF5E1); /* Using custom text color */
  background: var(--background-color, #B71C1C); /* Using custom background color */
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--text-main-color, #FFF5E1); /* Using custom text color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-main-color, #FFF5E1);
}

.page-fishing-games__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color, #F2B544); /* Custom border color */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to top */
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  background-color: #7A0E0E; /* Deep Red fallback */
}

.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;
  padding: 60px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 15px;
  margin-top: 80px; /* Push content down from top */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--gold-color, #F4D34D);
}

.page-fishing-games__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--text-main-color, #FFF5E1);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: var(--text-main-color, #FFF5E1);
  margin-bottom: 30px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__btn-primary {
  background: var(--button-gradient, linear-gradient(180deg, #FFD86A 0%, #E6B800 100%)); /* Custom button gradient */
  color: #333333; /* Dark text for gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background: var(--card-bg-color, #D32F2F);
  color: var(--text-main-color, #FFF5E1);
  border: 2px solid var(--border-color, #F2B544);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-left: 20px;
}

.page-fishing-games__btn-secondary:hover {
  background: #E53935; /* Auxiliary color for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 60px 0;
  background: var(--background-color, #B71C1C);
  color: var(--text-main-color, #FFF5E1);
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 60px 0;
  background: #7A0E0E; /* Deep Red */
  color: var(--text-main-color, #FFF5E1);
}

.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-card {
  background: var(--card-bg-color, #D32F2F); /* Custom card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color, #F2B544);
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--gold-color, #F4D34D); /* Gold color for titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-card p {
  color: var(--text-main-color, #FFF5E1);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 60px 0;
  background: var(--background-color, #B71C1C);
  color: var(--text-main-color, #FFF5E1);
}

.page-fishing-games__game-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background: var(--card-bg-color, #D32F2F);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color, #F2B544);
}

.page-fishing-games__game-card .page-fishing-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--glow-color, #FFCC66);
}

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

.page-fishing-games__game-card p {
  font-size: 0.95em;
  color: var(--text-main-color, #FFF5E1);
  margin-bottom: 20px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 60px 0;
  background: #7A0E0E; /* Deep Red */
  color: var(--text-main-color, #FFF5E1);
}

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

.page-fishing-games__guide-item {
  background: var(--card-bg-color, #D32F2F);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #F2B544);
}

.page-fishing-games__guide-item h3 {
  font-size: 1.4em;
  color: var(--gold-color, #F4D34D);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__guide-item p {
  color: var(--text-main-color, #FFF5E1);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background: var(--background-color, #B71C1C);
  color: var(--text-main-color, #FFF5E1);
}

.page-fishing-games__promo-list {
  list-style: disc;
  margin-left: 20px;
  color: var(--text-main-color, #FFF5E1);
}

.page-fishing-games__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

/* Security & Support Section */
.page-fishing-games__security-support-section {
  padding: 60px 0;
  background: #7A0E0E; /* Deep Red */
  color: var(--text-main-color, #FFF5E1);
}

.page-fishing-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__security-list li {
  background: var(--card-bg-color, #D32F2F);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #F2B544);
  font-size: 1.1em;
  color: var(--text-main-color, #FFF5E1);
}

.page-fishing-games__security-list li strong {
  color: var(--gold-color, #F4D34D);
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color, #F2B544);
  overflow: hidden;
  background: var(--card-bg-color, #D32F2F); /* Custom card background */
  color: var(--text-main-color, #FFF5E1);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #C91F17; /* Main color for hover */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color, #F4D34D);
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow-color, #FFCC66);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #7A0E0E; /* Deep Red for answer background */
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color, #FFF5E1);
}

/* CTA Download Section */
.page-fishing-games__cta-download-section {
  padding: 60px 0;
  text-align: center;
  background: var(--background-color, #B71C1C);
  color: var(--text-main-color, #FFF5E1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__container {
    padding: 20px 30px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-fishing-games__hero-content {
    padding: 40px 20px;
    margin-top: 60px;
  }

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

  .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-section {
    min-height: 400px;
    padding-top: 10px; /* Ensure small top padding */
  }

  .page-fishing-games__hero-image {
    object-fit: contain; /* Ensure image is fully visible */
    height: auto;
  }

  .page-fishing-games__hero-content {
    padding: 30px 15px;
    margin-top: 40px;
    max-width: 100%;
  }

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

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

  .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important; /* Center buttons vertically */
    padding: 14px 15px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-support-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-download-section {
    padding: 40px 0;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 1em;
  }
  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }
}