/* style/fishing-games.css */

/* Variables */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #0a0a0a; /* From shared.css body background */
  --button-login-color: #EA7C07;
}

/* Base styles for the page content */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Dark body background, so light text */
  background-color: var(--background-dark);
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
  color: var(--text-light);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-light);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
}

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

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-fishing-games__intro-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

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

.page-fishing-games__text-block p {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-fishing-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  filter: none; /* Ensure no CSS filter */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Advantages Section */
.page-fishing-games__advantages-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  color: var(--text-light);
}

.page-fishing-games__advantages-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

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

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Light background for contrast */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

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

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

/* Games Showcase Section */
.page-fishing-games__games-showcase {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-fishing-games__games-showcase .page-fishing-games__section-title {
  color: var(--primary-color);
}

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

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

.page-fishing-games__game-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
  filter: none; /* Ensure no CSS filter */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-fishing-games__btn-small {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-small:hover {
  background-color: darken(var(--primary-color), 10%);
}

/* Strategy Guide Section */
.page-fishing-games__strategy-guide {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: var(--text-light);
}

.page-fishing-games__strategy-guide .page-fishing-games__section-title {
  color: var(--primary-color);
}

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

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

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

.page-fishing-games__strategy-item p {
  color: var(--text-light);
}

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

.page-fishing-games__promotions-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

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

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

.page-fishing-games__promo-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: var(--text-dark);
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__promo-item p {
  color: var(--text-dark);
}

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

/* How to Play Section */
.page-fishing-games__how-to-play {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  color: var(--text-light);
}

.page-fishing-games__how-to-play .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__how-to-play .page-fishing-games__section-description {
  color: var(--text-light);
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  position: relative;
}

.page-fishing-games__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

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

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

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

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

.page-fishing-games__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: #f0f0f0;
  color: var(--text-dark);
  list-style: none; /* Hide default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Ensure click on summary opens/closes */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 15px;
  pointer-events: none; /* Ensure click on summary opens/closes */
}

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

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
  color: var(--text-dark);
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #26A9E0, #1a88c2);
  text-align: center;
  color: var(--text-light);
}

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

.page-fishing-games__cta-section .page-fishing-games__section-description {
  color: var(--text-light);
  margin-bottom: 40px;
}

.page-fishing-games__cta-container {
  max-width: 900px;
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__strategy-guide,
  .page-fishing-games__promotions-section,
  .page-fishing-games__how-to-play,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

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

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

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

  .page-fishing-games__container,
  .page-fishing-games__text-block,
  .page-fishing-games__image-block,
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__strategy-item,
  .page-fishing-games__promo-item,
  .page-fishing-games__step-item,
  .page-fishing-games__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }

  .page-fishing-games__image,
  .page-fishing-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__section-description {
    margin-bottom: 30px;
  }

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

  .page-fishing-games__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-fishing-games__faq-answer {
    padding: 15px;
  }
}

/* Ensure no CSS filter on images */
.page-fishing-games img {
  filter: none;
}