/* style/fishing-games.css */

/* Global styles for the page, adapting to body background from shared.css */
.page-fishing-games {
  background-color: var(--bg-color, #08160F); /* Fallback to custom deep green */
  color: var(--text-main-color, #F2FFF6); /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Section padding and container */
.page-fishing-games__section {
  padding: 40px 0;
  position: relative;
}

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

/* Headings */
.page-fishing-games__section-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: bold;
  color: var(--gold-color, #F2C14E); /* Gold for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-fishing-games__card-title,
.page-fishing-games__list-item-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Paragraphs */
.page-fishing-games__paragraph {
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8); /* Secondary text color */
  margin-bottom: 15px;
  text-align: justify;
}

/* Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--gold-color, #F2C14E); /* Gold text */
  border: 2px solid var(--border-color, #2E7A4E); /* Border color */
  box-shadow: 0 4px 15px rgba(46, 122, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 122, 78, 0.4);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Ensure content stacks vertically */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 52px); /* Responsive font size */
  font-weight: 800;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__card {
  background-color: var(--card-bg-color, #11271B); /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border-color, #2E7A4E);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__card-description {
  font-size: 15px;
  color: var(--text-secondary-color, #A7D9B8);
  text-align: center;
  flex-grow: 1; /* Allow description to take available space */
}

/* Ordered/Unordered Lists */
.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style: none; /* Remove default list styling */
  padding: 0;
  margin: 20px 0;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  background-color: var(--card-bg-color, #11271B);
  border-left: 5px solid var(--glow-color, #57E38D); /* Glow color for accent */
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__ordered-list li:last-child,
.page-fishing-games__unordered-list li:last-child {
  margin-bottom: 0;
}

/* Image Full Width */
.page-fishing-games__image-full-width {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Image Right (for text wrapping) */
.page-fishing-games__image-right {
  float: right;
  margin-left: 20px;
  margin-bottom: 15px;
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Clearfix for floated images */
.page-fishing-games__platform-features-section::after {
  content: "";
  display: table;
  clear: both;
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--divider-color, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary:hover {
  background-color: rgba(34, 199, 104, 0.1); /* Lighter hover for dark background */
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color, #57E38D);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }

  .page-fishing-games__main-title {
    font-size: 30px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

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

  .page-fishing-games__card-image {
    height: 180px;
  }

  .page-fishing-games__ordered-list li,
  .page-fishing-games__unordered-list li {
    padding: 15px 20px;
  }

  .page-fishing-games__image-right {
    float: none;
    margin: 20px auto;
    max-width: 100%;
  }

  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__game-list,
  .page-fishing-games__faq-list,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by .page-fishing-games__container */
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
  
  .page-fishing-games__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }
}