/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background */
}

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

.page-fishing-games__section {
  padding: 80px 0;
  text-align: center;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding: 120px 0 80px 0; /* Adjusted for header offset */
  background: #017439; /* Primary color background, will be overlaid by image */
  color: #FFFFFF; /* White text for dark background */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-image: url('[GALLERY:hero_main:1920x1080:fishing_game,go88,underwater_treasure,dynamic]');
  background-size: cover;
  background-position: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  z-index: 1;
}

.page-fishing-games__hero-section .page-fishing-games__container {
  position: relative;
  z-index: 2;
}

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

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary {
  background-color: #017439; /* Primary color */
  color: #FFFFFF; /* White text for primary button */
}

.page-fishing-games__btn-primary:hover {
  background-color: #005a2d;
  transform: translateY(-3px);
}

.page-fishing-games__btn-secondary {
  background-color: #FFFFFF;
  color: #017439; /* Primary color text for secondary button */
  border-color: #017439;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

/* Specific button colors for Register/Login - OVERRIDING to ensure WCAG AA contrast */
.page-fishing-games__btn-register,
.page-fishing-games__btn-login {
  background-color: #C30808; /* Red for Register/Login */
  color: #FFFFFF; /* White text for contrast (WCAG AA compliant) */
}

.page-fishing-games__btn-register:hover,
.page-fishing-games__btn-login:hover {
  background-color: #a00606;
}

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

/* Video Section */
.page-fishing-games__video-section {
  padding: 80px 0;
  background-color: #f8f8f8; /* Light background */
}

.page-fishing-games__video-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #017439;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  object-fit: cover;
}

/* General Content Sections */
.page-fishing-games__intro-section,
.page-fishing-games__game-types-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__dark-section {
  background-color: #017439;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-fishing-games__intro-title,
.page-fishing-games__why-go88-title,
.page-fishing-games__game-types-title,
.page-fishing-games__strategy-title,
.page-fishing-games__promotions-title,
.page-fishing-games__faq-title,
.page-fishing-games__final-cta-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-fishing-games__dark-section .page-fishing-games__why-go88-title,
.page-fishing-games__dark-section .page-fishing-games__strategy-title,
.page-fishing-games__dark-section .page-fishing-games__final-cta-title {
  color: #FFFFFF;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #FFFFFF;
}

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

.page-fishing-games__feature-icon {
  /* All images must be large, no small icons. Filters are removed as per instruction. */
  max-width: 100%; 
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: contain; /* Ensure full icon is visible if aspect ratio is off */
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-fishing-games__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promotion-card {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__game-card:hover,
.page-fishing-games__promotion-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-image,
.page-fishing-games__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  object-fit: cover; /* Ensure images fill their space */
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-fishing-games__game-card-title,
.page-fishing-games__promotion-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-fishing-games__game-card-description,
.page-fishing-games__promotion-card-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-fishing-games__strategy-list li {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for li in dark section */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #FFFFFF; /* White text for li in dark section */
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__strategy-list li strong {
  color: #FFFF00; /* Yellow for emphasis, assuming it's used sparingly and passes contrast on dark background */
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
  /* content: '−'; Handled by JS */
}

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

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

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

/* Final CTA Section */
.page-fishing-games__final-cta-section {
  padding: 80px 0;
  background-color: #017439; /* Primary color background */
  color: #FFFFFF;
}

.page-fishing-games__final-cta-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }
  .page-fishing-games__intro-title,
  .page-fishing-games__why-go88-title,
  .page-fishing-games__game-types-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__promotions-title,
  .page-fishing-games__faq-title,
  .page-fishing-games__final-cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    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__btn-register,
  .page-fishing-games__btn-login {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-fishing-games__section {
    padding: 60px 0;
  }
  .page-fishing-games__intro-title,
  .page-fishing-games__why-go88-title,
  .page-fishing-games__game-types-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__promotions-title,
  .page-fishing-games__faq-title,
  .page-fishing-games__final-cta-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-fishing-games__text-block {
    font-size: 0.95em;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promotion-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__faq-item {
    padding: 20px 15px;
  }
  .page-fishing-games__image,
  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure min size on mobile */
    min-height: 200px !important; /* Ensure min size on mobile */
  }}