/* style/fishing-games.css */

/* Base styles for the page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-secondary);
  background-color: var(--background);
}

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

.page-fishing-games__section-spacing {
  padding: 60px 0;
}

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

.page-fishing-games__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 25px;
  text-align: center;
}

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

.page-fishing-games__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.page-fishing-games__section-text--light {
  color: var(--text-secondary);
}

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

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  margin-right: 15px;
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background);
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image for visual flow, but not covering text */
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* General Section Image */
.page-fishing-games__section-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 10px;
  object-fit: cover;
}

/* Why Choose Section */
.page-fishing-games__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

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

.page-fishing-games__feature-item {
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than section background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
}

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

.page-fishing-games__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Games Showcase Section */
.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-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  color: var(--text-main);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 0 15px;
  margin-bottom: 20px;
}

/* How To Play / Strategy Sections */
.page-fishing-games__steps-list,
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-fishing-games__step-item,
.page-fishing-games__tip-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.page-fishing-games__step-title,
.page-fishing-games__tip-title {
  font-size: 1.3em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-fishing-games__step-description,
.page-fishing-games__tip-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Promotions Section */
.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__promotion-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.page-fishing-games__promotion-title {
  font-size: 1.4em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-fishing-games__promotion-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: rgba(17, 39, 27, 0.7);
  border-bottom: 1px solid transparent; /* default */
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    max-height: 500px;
  }
  .page-fishing-games__hero-content {
    margin-top: -60px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section-spacing {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px; /* Add padding for mobile containers */
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }
  .page-fishing-games__hero-image {
    max-height: 350px;
  }
  .page-fishing-games__hero-content {
    padding: 30px 15px;
    margin-top: -40px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(2em, 7vw, 2.8em);
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    margin-right: 0;
    width: 100%;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Image responsiveness */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__video-section { /* If video were present */
    padding-top: 10px !important;
  }

  /* Video responsiveness */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

  /* Button responsiveness */
  .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__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-image {
    max-height: 250px;
  }
  .page-fishing-games__hero-content {
    margin-top: -20px;
  }
  .page-fishing-games__section-spacing {
    padding: 30px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__promotion-item {
    padding: 20px;
  }
  .page-fishing-games__game-cards-grid {
    grid-template-columns: 1fr;
  }
}