:root {
  --primary-color: #0A246A;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #0A246A;
}

/* Base styles for the page content, ensuring contrast with default white body background */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light backgrounds */
  background-color: var(--background-light); /* Light background for general sections */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.page-fishing-games__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__highlight-text {
  color: var(--primary-color);
  font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
  background: linear-gradient(135deg, var(--primary-color), #0D3B66);
  color: var(--text-color-light);
  padding: 100px 20px 80px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-fishing-games__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color); /* Highlight H1 with secondary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.page-fishing-games__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

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

.page-fishing-games__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
}

/* General Content Section */
.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-fishing-games__content-wrapper:nth-of-type(even) {
  flex-direction: row-reverse;
}

.page-fishing-games__content-wrapper p {
  flex: 1;
  font-size: 17px;
  line-height: 1.7;
  text-align: justify;
}

.page-fishing-games__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Dark background section */
.page-fishing-games__dark-section {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.page-fishing-games__dark-section .page-fishing-games__highlight-text {
  color: var(--secondary-color);
}

.page-fishing-games__text-white {
  color: var(--text-color-light);
}

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

/* Features Grid */
.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-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

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

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

.page-fishing-games__feature-item p {
  font-size: 16px;
  color: #e0e0e0;
}

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

.page-fishing-games__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__game-card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 20px 15px 10px;
}

.page-fishing-games__game-card-description {
  font-size: 16px;
  color: var(--text-color-dark);
  padding: 0 15px 20px;
}

.page-fishing-games__game-card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.page-fishing-games__game-card-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* How-to-Play Steps */
.page-fishing-games__light-bg {
  background-color: var(--background-light);
}

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

.page-fishing-games__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #e0e0e0;
}

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

.page-fishing-games__step-item p {
  font-size: 16px;
  color: var(--text-color-dark);
  margin-bottom: 20px;
}

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

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

/* Strategies List */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__strategy-list li {
  background: #ffffff;
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--secondary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__strategy-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.page-fishing-games__strategy-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__strategy-list p {
  font-size: 16px;
  color: var(--text-color-dark);
  text-align: justify;
}

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

.page-fishing-games__promo-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-fishing-games__promo-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-fishing-games__promo-item p {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

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

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

/* Advantages Grid (Why Choose Us) */
.page-fishing-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__advantage-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #e0e0e0;
}

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

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

.page-fishing-games__advantage-item p {
  font-size: 16px;
  color: var(--text-color-dark);
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

.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 15px;
  opacity: 0;
  background: #f9f9f9;
  color: var(--text-color-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 15px !important;
  opacity: 1;
  border-top: 1px solid #e0e0e0;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}

/* Final CTA Section */
.page-fishing-games__final-cta {
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  text-align: center;
}

.page-fishing-games__final-cta .page-fishing-games__section-title {
  color: var(--secondary-color);
  font-size: 38px;
}

.page-fishing-games__final-cta p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 42px;
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }
  .page-fishing-games__image {
    max-width: 80%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__main-title {
    font-size: 32px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
  }
  .page-fishing-games__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__cta-button, .page-fishing-games__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
  }
  .page-fishing-games__section-description {
    font-size: 16px;
  }
  .page-fishing-games__content-wrapper {
    gap: 20px;
  }
  .page-fishing-games__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    margin-bottom: 20px;
  }
  .page-fishing-games__content-wrapper p {
    font-size: 15px;
  }
  .page-fishing-games__features-grid, .page-fishing-games__game-cards, .page-fishing-games__steps-grid, .page-fishing-games__promo-grid, .page-fishing-games__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-item, .page-fishing-games__game-card, .page-fishing-games__step-item, .page-fishing-games__promo-item, .page-fishing-games__advantage-item {
    padding: 25px;
  }
  .page-fishing-games__game-card-image {
    height: 180px;
  }
  .page-fishing-games__feature-title, .page-fishing-games__game-card-title, .page-fishing-games__step-title, .page-fishing-games__promo-title, .page-fishing-games__advantage-title, .page-fishing-games__strategy-title {
    font-size: 20px;
  }
  .page-fishing-games__feature-item p, .page-fishing-games__game-card-description, .page-fishing-games__step-item p, .page-fishing-games__promo-item p, .page-fishing-games__advantage-item p, .page-fishing-games__strategy-list p {
    font-size: 15px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 15px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }
  .page-fishing-games__final-cta .page-fishing-games__section-title {
    font-size: 30px;
  }
  .page-fishing-games__final-cta p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 28px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__hero-section {
    padding: 80px 15px 60px;
  }
  .page-fishing-games__section {
    padding: 30px 0;
  }
  .page-fishing-games__final-cta .page-fishing-games__section-title {
    font-size: 26px;
  }
}

/* Image responsive base styles */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile image and container overrides */
@media (max-width: 768px) {
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__content-wrapper,
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__advantages-grid,
  .page-fishing-games__game-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-item,
  .page-fishing-games__advantage-item {
    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 elements that might have different padding */
  .page-fishing-games__hero-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-fishing-games__final-cta {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}