/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Page background color */
}

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

.page-fishing-games__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #E53935; /* Primary color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-fishing-games__section-title--white {
  color: #ffffff;
}

.page-fishing-games__text-block {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-fishing-games__text-block--white {
  color: #ffffff;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-fishing-games__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #FF5A4F;
  border-color: #FF5A4F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Hero Section */
.page-fishing-games__hero-section {
  background-color: #F5F7FA;
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px 60px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 30px;
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 20px;
}

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

.page-fishing-games__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.page-fishing-games__feature-icon {
  width: 100%;
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 10px;
}

.page-fishing-games__feature-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
  background: #E53935; /* Dark background for this section */
  padding: 80px 20px;
  color: #ffffff;
}

.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 {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__game-title {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin: 20px 0 15px;
}

.page-fishing-games__btn-play {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
  opacity: 0.9;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 20px;
}

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

.page-fishing-games__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-fishing-games__step-number {
  font-size: 48px;
  font-weight: 800;
  color: #FF5A4F;
  margin-bottom: 15px;
  line-height: 1;
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 10px;
}

.page-fishing-games__step-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

.page-fishing-games__center-cta {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background: #FF5A4F; /* Secondary color for promotions */
  padding: 80px 20px;
  color: #ffffff;
}

.page-fishing-games__promotion-card {
  display: flex;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.page-fishing-games__promotion-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promotion-content {
  width: 60%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.page-fishing-games__promotion-title {
  font-size: 24px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-fishing-games__promotion-description {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 25px;
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
  padding: 80px 20px;
}

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

.page-fishing-games__advantage-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-fishing-games__advantage-icon {
  width: 100%;
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__advantage-title {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 10px;
}

.page-fishing-games__advantage-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

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

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}

.page-fishing-games__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #E53935;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 12px 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

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

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

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

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 15px;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .page-fishing-games__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    margin-top: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Hero Section Mobile */
  .page-fishing-games__hero-section {
    min-height: auto;
    padding-bottom: 40px;
    padding-top: 10px; /* Consistent small top padding */
  }

  .page-fishing-games__hero-image-wrapper {
    max-height: 849px; /* For object-fit:contain */
  }

  .page-fishing-games__hero-image {
    object-fit: contain; /* Ensure image fits without cropping too much */
    height: auto;
  }

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

  .page-fishing-games__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 17px;
    margin-bottom: 25px;
  }

  /* Intro Section Mobile */
  .page-fishing-games__intro-section {
    padding: 60px 15px;
  }

  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__feature-item {
    padding: 25px;
  }

  .page-fishing-games__feature-title {
    font-size: 20px;
  }

  /* Games Showcase Section Mobile */
  .page-fishing-games__games-showcase {
    padding: 60px 15px;
  }

  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__game-image {
    height: 200px;
  }

  .page-fishing-games__game-title {
    font-size: 20px;
  }

  /* Guide Section Mobile */
  .page-fishing-games__guide-section {
    padding: 60px 15px;
  }

  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__step-number {
    font-size: 40px;
  }

  .page-fishing-games__step-title {
    font-size: 20px;
  }

  /* Promotions Section Mobile */
  .page-fishing-games__promotions-section {
    padding: 60px 15px;
  }

  .page-fishing-games__promotion-card {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .page-fishing-games__promotion-image {
    width: 100%;
    height: 180px;
  }

  .page-fishing-games__promotion-content {
    width: 100%;
    padding: 25px;
  }

  .page-fishing-games__promotion-title {
    font-size: 20px;
  }

  .page-fishing-games__promotion-description {
    font-size: 15px;
  }

  /* Why Choose Us Section Mobile */
  .page-fishing-games__why-choose-us {
    padding: 60px 15px;
  }

  .page-fishing-games__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__advantage-title {
    font-size: 20px;
  }

  /* FAQ Section Mobile */
  .page-fishing-games__faq-section {
    padding: 60px 15px;
  }

  .page-fishing-games__faq-list {
    margin-top: 30px;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

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

  /* CTA Bottom Section Mobile */
  .page-fishing-games__cta-bottom {
    padding: 60px 15px;
  }

  .page-fishing-games__cta-content {
    padding: 0;
  }

  /* Generic image rules for mobile */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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__category-lobby__grid { /* Not applicable for this page, but included for completeness */
    grid-template-columns: repeat(2, 1fr);
  }
}

/* No module 4/5 for this page, so no specific mobile rules for them */