/* style/fishing-games.css */

/* Custom Colors */
:root {
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-background: #08160F;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-border: #2E7A4E;
  --page-fishing-games-glow: #57E38D;
  --page-fishing-games-gold: #F2C14E;
  --page-fishing-games-divider: #1E3A2A;
  --page-fishing-games-deep-green: #0A4B2C;
  --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-fishing-games-deep-green);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 20px var(--page-fishing-games-glow);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.page-fishing-games__main-title {
  color: var(--page-fishing-games-gold);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  max-width: 100%;
  box-sizing: border-box;
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Use clamp for H1 */
}

.page-fishing-games__hero-description {
  color: var(--page-fishing-games-text-main);
  font-size: 1.15rem;
  margin-bottom: 30px;
}

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

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

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: var(--page-fishing-games-deep-green);
  border: 2px solid var(--page-fishing-games-deep-green);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

/* General Section Styling */
.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-background);
  border-bottom: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__section-title {
  color: var(--page-fishing-games-gold);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-fishing-games__text-block {
  color: var(--page-fishing-games-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  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 8px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__card-title {
  color: var(--page-fishing-games-text-main);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.page-fishing-games__card-description {
  color: var(--page-fishing-games-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  display: inline-block;
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__card-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* How to Play / Strategy List */
.page-fishing-games__step-list,
.page-fishing-games__strategy-list,
.page-fishing-games__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__step-item,
.page-fishing-games__strategy-item,
.page-fishing-games__advantage-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title,
.page-fishing-games__strategy-title,
.page-fishing-games__advantage-title {
  color: var(--page-fishing-games-text-main);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-fishing-games__step-item p,
.page-fishing-games__strategy-item p,
.page-fishing-games__advantage-item p {
  color: var(--page-fishing-games-text-secondary);
  font-size: 1rem;
  text-align: justify;
}

.page-fishing-games__step-item a {
  color: var(--page-fishing-games-glow);
  text-decoration: underline;
}

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

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-fishing-games-text-main);
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: var(--page-fishing-games-glow);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  color: var(--page-fishing-games-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }

  .page-fishing-games__section-title {
    font-size: 2.2rem;
  }

  .page-fishing-games__game-cards,
  .page-fishing-games__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is for minor top margin */
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: 10px;
  }

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin: 0 auto;
  }

  .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: 12px 20px;
    font-size: 1rem;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }

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

  .page-fishing-games__card-title {
    font-size: 1.3rem;
  }

  .page-fishing-games__step-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__advantage-title {
    font-size: 1.2rem;
  }

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

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

  /* Image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-cards,
  .page-fishing-games__promo-cards,
  .page-fishing-games__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .page-fishing-games__section-title {
    font-size: 1.6rem;
  }

  .page-fishing-games__game-cards,
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
  }
}