:root {
  --primary-color: #017439;
  --secondary-color: #C30808;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-color-light: #ffffff;
  --background-color-dark: #017439;
  --link-color: #017439;
  --border-color: #e0e0e0;
  --button-text-register-login: #FFFF00;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark);
  background-color: var(--background-color-light);
  line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background-color: var(--background-color-light);
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-description {
  font-size: clamp(1em, 1.5vw, 1.25em);
  color: var(--text-color-dark);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 300px;
}

.page-fishing-games__btn-primary {
  background: var(--secondary-color); /* Register/Login color */
  color: var(--button-text-register-login); /* Register/Login font color */
  border: 2px solid var(--secondary-color);
}

.page-fishing-games__btn-primary:hover {
  background: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-secondary:hover {
  background: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
  color: inherit;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
  color: inherit;
}

.page-fishing-games__dark-bg {
  background-color: var(--background-color-dark);
  color: var(--text-color-light);
  padding: 80px 0;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--text-color-light);
}

.page-fishing-games__dark-bg .page-fishing-games__section-description {
  color: var(--text-color-light);
}

.page-fishing-games__light-bg {
  background-color: var(--background-color-light);
  color: var(--text-color-dark);
  padding: 80px 0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__light-bg .page-fishing-games__section-description {
  color: var(--text-color-dark);
}

/* About Section */
.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);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-light);
}

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

.page-fishing-games__feature-item img {
  
  
  margin-bottom: 20px;
  object-fit: contain;
  filter: none; /* Ensure no color filter */
}

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

.page-fishing-games__feature-item p {
  font-size: 1em;
  color: var(--text-color-light);
}

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

.page-fishing-games__game-card {
  background: var(--background-color-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-color-dark);
}

.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 img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: none; /* Ensure no color filter */
}

.page-fishing-games__game-card h3 {
  font-size: 1.4em;
  font-weight: 700;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-fishing-games__game-card p {
  font-size: 0.95em;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-color-dark);
}

.page-fishing-games__card-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px 20px;
  padding: 12px 0;
  text-align: center;
  font-size: 1em;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

/* Tips Section */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__tips-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-color-light);
}

.page-fishing-games__tips-list li h3 {
  font-size: 1.3em;
  color: var(--text-color-light);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__tips-list li p {
  font-size: 0.95em;
  color: var(--text-color-light);
}

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

/* Promotions Section */
.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(--background-color-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-color-dark);
}

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

.page-fishing-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: none; /* Ensure no color filter */
}

.page-fishing-games__promo-card h3 {
  font-size: 1.4em;
  font-weight: 700;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-fishing-games__promo-card p {
  font-size: 0.95em;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-color-dark);
}

/* Safety & Support Section */
.page-fishing-games__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__info-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-color-light);
}

.page-fishing-games__info-item img {
  
  
  margin-bottom: 20px;
  object-fit: contain;
  filter: none; /* Ensure no color filter */
}

.page-fishing-games__info-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color-light);
}

.page-fishing-games__info-item p {
  font-size: 1em;
  color: var(--text-color-light);
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--background-color-light);
}
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: #f5f5f5;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-color-dark);
}

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

.page-fishing-games__cta-final-section .page-fishing-games__section-title,
.page-fishing-games__cta-final-section .page-fishing-games__section-description {
  color: var(--text-color-light);
}

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

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

  .page-fishing-games__hero-section,
  .page-fishing-games__dark-bg,
  .page-fishing-games__light-bg,
  .page-fishing-games__cta-final-section {
    padding: 40px 0; /* Reduced padding for mobile */
    padding-top: 10px !important; /* Small top padding, header offset handled by body */
  }

  .page-fishing-games__hero-image img {
    border-radius: 4px;
  }

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

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

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

  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    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__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

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

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

  .page-fishing-games__game-card img {
    
  }

  .page-fishing-games__game-card h3,
  .page-fishing-games__promo-card h3,
  .page-fishing-games__info-title {
    font-size: 1.3em;
  }

  .page-fishing-games__tips-list li {
    padding: 20px;
  }

  .page-fishing-games__tips-list li h3 {
    font-size: 1.2em;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 15px; }
  .page-fishing-games__faq-answer { padding: 0 15px 15px; }

  /* Ensure all images are responsive and don't overflow */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}