:root {
  --primary-color: #0056B3; /* Deep Blue */
  --secondary-color: #FFC107; /* Bright Gold */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-dark: #121212;
  --background-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark);
  padding-top: 120px; /* Adjust for fixed header */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-color-light);
}

.page-fishing-games__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  background: #e0ac00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary {
  background: #ffffff;
  color: var(--primary-color);
}

.page-fishing-games__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #004080;
}

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-color-light);
}

.page-fishing-games__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__dark-section {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: var(--text-color-light);
}

.page-fishing-games__introduction-section {
  padding: 60px 0;
}

.page-fishing-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__image-block {
  text-align: center;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__why-choose-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

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

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

.page-fishing-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-fishing-games__feature-card p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__popular-games-section {
  padding: 60px 0;
}

.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 {
  background: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-fishing-games__game-title {
  font-size: 1.8em;
  padding: 15px 20px 10px;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-fishing-games__game-description {
  font-size: 1em;
  padding: 0 20px 20px;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__game-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__game-button:hover {
  background: #004080;
}

.page-fishing-games__guide-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

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

.page-fishing-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--text-color-dark);
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__step-item p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.page-fishing-games__step-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__step-button:hover {
  background: #004080;
}

.page-fishing-games__strategy-section {
  padding: 60px 0;
}

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

.page-fishing-games__strategy-item {
  background: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-color-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__strategy-item-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-fishing-games__strategy-item p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-fishing-games__promo-card {
  background: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-color-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.page-fishing-games__promo-title {
  font-size: 1.6em;
  padding: 15px 20px 10px;
  font-weight: bold;
  color: var(--primary-color);
}

.page-fishing-games__promo-card p {
  font-size: 1em;
  padding: 0 20px 20px;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__promo-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background: var(--secondary-color);
  color: var(--text-color-dark);
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__promo-button:hover {
  background: #e0ac00;
}

.page-fishing-games__faq-section {
  padding: 60px 0;
}

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

/* FAQ container styles */
.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* FAQ default state - answer hidden */
.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1em;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important to ensure priority, value large enough for any content */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

/* Question styles */
.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-light);
}

.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Question title styles */
.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 tag from blocking click event */
  color: var(--text-color-light);
}

/* Toggle icon */
.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Optional: rotate for 'X' effect */
}

.page-fishing-games__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background-dark);
}

.page-fishing-games__conclusion-text {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__cta-button--large {
  padding: 18px 45px;
  font-size: 1.3em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__conclusion-text {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Mobile adjust for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section {
    padding: 60px 0;
  }

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

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-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__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__section-subtitle {
    font-size: 0.9em;
  }

  .page-fishing-games__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-fishing-games__image-block {
    order: -1; /* Image appears above text on mobile */
  }

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

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-item,
  .page-fishing-games__promo-card {
    padding: 20px;
  }
  
  .page-fishing-games__feature-icon {
    width: 60px;
    height: 60px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title,
  .page-fishing-games__strategy-item-title,
  .page-fishing-games__promo-title {
    font-size: 1.3em;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 150px;
  }

  .page-fishing-games__game-button,
  .page-fishing-games__promo-button,
  .page-fishing-games__step-button {
    width: calc(100% - 20px) !important;
    margin: 0 10px 10px !important;
    font-size: 0.9em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ specific mobile styles */
  .page-fishing-games__faq-question {
    padding: 15px;
  }

  .page-fishing-games__faq-question h3 {
    font-size: 1em;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }

  .page-fishing-games__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  /* Image responsive adaptation */
  .page-fishing-games img {
    max-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__introduction-section,
  .page-fishing-games__why-choose-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__faq-section,
  .page-fishing-games__conclusion-section,
  .page-fishing-games__content-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__strategy-list,
  .page-fishing-games__promo-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  /* Specific overrides for padding on sections */
  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-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__faq-section,
  .page-fishing-games__conclusion-section {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__cta-button--large {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-fishing-games__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
}