/* style/fishing-games.css */

:root {
  --l88-primary-color: #26A9E0;
  --l88-secondary-color: #FFFFFF;
  --l88-text-dark: #333333;
  --l88-text-light: #ffffff;
  --l88-accent-color-login: #EA7C07;
}

/* Base styles for the page-fishing-games scope */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--l88-text-light); /* Default for dark background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

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

.page-fishing-games__dark-bg {
  background-color: var(--dark-bg-1);
  color: var(--l88-text-light);
}

.page-fishing-games__light-bg {
  background-color: var(--l88-secondary-color);
  color: var(--l88-text-dark);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

.page-fishing-games__text-link {
  color: var(--l88-primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__text-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  min-height: 600px;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-fishing-games__main-title {
  color: var(--l88-text-light);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-fishing-games__hero-description {
  color: var(--l88-text-light);
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary,
.page-fishing-games__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--l88-primary-color);
  color: var(--l88-text-light);
}

.page-fishing-games__btn-tertiary {
  background-color: var(--l88-accent-color-login);
  color: var(--l88-text-light);
  border: none;
  padding: 10px 20px;
}

.page-fishing-games__btn-tertiary:hover {
  background-color: #c96706;
}

.page-fishing-games__btn-link {
  background: none;
  border: none;
  color: var(--l88-primary-color);
  padding: 0;
  margin-top: 10px;
  display: block;
  text-align: center;
}

.page-fishing-games__btn-link:hover {
  text-decoration: underline;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 80px 0;
}

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

.page-fishing-games__feature-card {
  background-color: var(--l88-secondary-color);
  color: var(--l88-text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

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

.page-fishing-games__feature-description {
  font-size: 1em;
  color: var(--l88-text-dark);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--l88-text-light);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-fishing-games__game-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--l88-primary-color);
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__more-games-text {
  font-size: 1.1em;
  margin-top: 20px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
}

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

.page-fishing-games__step-card {
  background-color: var(--l88-secondary-color);
  color: var(--l88-text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-fishing-games__step-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--l88-primary-color);
  color: var(--l88-text-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid var(--l88-secondary-color);
}

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

.page-fishing-games__step-description {
  font-size: 1em;
  color: var(--l88-text-dark);
}

.page-fishing-games__tips-section {
  background-color: var(--dark-bg-1);
  color: var(--l88-text-light);
  padding: 40px;
  border-radius: 10px;
}

.page-fishing-games__tips-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--l88-primary-color);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__tips-list li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 1.1em;
}

.page-fishing-games__tips-list li:last-child {
  border-bottom: none;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--l88-text-light);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-fishing-games__promo-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__view-all-promos {
  margin-top: 40px;
}

/* Support Section */
.page-fishing-games__support-section {
  padding: 80px 0;
}

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

.page-fishing-games__support-item {
  background-color: var(--l88-secondary-color);
  color: var(--l88-text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

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

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--l88-text-light);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--l88-primary-color);
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--l88-text-light);
  list-style: none; /* For details/summary */
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
}

.page-fishing-games__faq-answer {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--l88-text-light);
  font-size: 0.95em;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 80px 0;
}

.page-fishing-games__conclusion-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--l88-text-dark);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 450px;
  }

  .page-fishing-games__hero-content {
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
  }

  .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 {
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-fishing-games__why-choose-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__support-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 50px 0;
  }

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

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

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

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

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-fishing-games__step-card {
    padding-top: 50px;
  }

  .page-fishing-games__step-icon {
    top: -20px;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }

  .page-fishing-games__tips-section {
    padding: 30px 20px;
  }

  .page-fishing-games__faq-question {
    padding: 15px;
    font-size: 1em;
  }

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

  /* Buttons mobile specific */
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary,
  .page-fishing-games__btn-link,
  .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: 0px; /* Reset padding for grid/flex items */
    padding-right: 0px; /* Reset padding for grid/flex items */
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

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

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .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;
  }
}

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

  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
}