/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Matching body background */
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero_banner:1920x1080:fishing_game,underwater,x88club,colorful_fish,jackpot]') center/cover no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(38, 169, 224, 0.5);
}

.page-fishing-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #26A9E0;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: #26A9E0;
}

.page-fishing-games__light-bg .page-fishing-games__section-description {
  color: #555555;
}

.page-fishing-games__light-bg .page-fishing-games__card-title {
  color: #26A9E0;
}

.page-fishing-games__light-bg p {
  color: #333333;
}

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

.page-fishing-games__cta-buttons--center {
  margin-top: 60px;
}

.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.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Login Button Specific Color */
.page-fishing-games__btn-login {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-fishing-games__btn-login:hover {
  background-color: #d46b06;
  border-color: #d46b06;
}

/* Features Section */
.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__feature-card {
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

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

.page-fishing-games__game-card {
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(38, 169, 224, 0.1);
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Guide Section */
.page-fishing-games__guide-list,
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-fishing-games__guide-list li,
.page-fishing-games__strategy-list li {
  background-color: #ffffff;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__list-item-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-fishing-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__promo-card {
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(38, 169, 224, 0.1);
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  margin-top: 20px;
}

/* Why Choose Us Section */
.page-fishing-games__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-fishing-games__advantages-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(38, 169, 224, 0.2);
  color: #ffffff;
}

.page-fishing-games__advantages-list .page-fishing-games__list-item-title {
  color: #26A9E0;
  font-size: 1.3em;
}

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

.page-fishing-games__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #26A9E0;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 10px;
}

.page-fishing-games__faq-question:hover {
  background-color: #1a8cc4;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  color: #333333;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

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

/* CTA Bottom Section */
.page-fishing-games__cta-bottom {
  padding: 80px 0;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
}

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

.page-fishing-games__cta-bottom .page-fishing-games__section-title {
  color: #26A9E0;
}

.page-fishing-games__cta-bottom .page-fishing-games__section-description {
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 450px;
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .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,
  .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__video-section,
  .page-fishing-games__container,
  .page-fishing-games__features-section,
  .page-fishing-games__popular-games,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }
  .page-fishing-games__guide-list li,
  .page-fishing-games__strategy-list li {
    padding: 20px;
  }
}

/* Ensure content area images do not display smaller than 200px */
.page-fishing-games img:not(.page-fishing-games__feature-icon):not(.page-fishing-games__game-image):not(.page-fishing-games__promo-image) {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Color contrast fixes for light background elements */
.page-fishing-games__light-bg .page-fishing-games__card-title,
.page-fishing-games__light-bg .page-fishing-games__list-item-title {
  color: #26A9E0; /* Brand color on light background */
}

.page-fishing-games__light-bg p,
.page-fishing-games__light-bg li {
  color: #333333; /* Dark text on light background */
}

.page-fishing-games__faq-item .page-fishing-games__faq-question {
  background-color: #26A9E0;
  color: #FFFFFF;
}
.page-fishing-games__faq-item.active .page-fishing-games__faq-question {
  background-color: #1a8cc4; /* Slightly darker on active */
}
.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  background-color: #ffffff;
  color: #333333;
}

/* Text colors for dark sections */
.page-fishing-games__dark-bg h1, .page-fishing-games__dark-bg h2, .page-fishing-games__dark-bg h3, .page-fishing-games__dark-bg p, .page-fishing-games__dark-bg li {
  color: #ffffff;
}
.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #26A9E0;
}
.page-fishing-games__dark-bg .page-fishing-games__hero-description,
.page-fishing-games__dark-bg .page-fishing-games__section-description,
.page-fishing-games__dark-bg .page-fishing-games__advantages-list li p {
  color: #f0f0f0;
}