.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

.page-fishing-games__section-spacing {
  padding: 60px 0;
}

.page-fishing-games__section-title {
  font-size: 3em;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #1F2D3D;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games a[class*="button"],
.page-fishing-games a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-fishing-games__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

/* HERO Section */
.page-fishing-games__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Specific: approx 10px top spacing */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  background-color: #F4F7FB;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  padding: 0 20px;
}

.page-fishing-games__hero-title {
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

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

/* Why Choose Section */
.page-fishing-games__dark-section {
  background: #2F6BFF;
  color: #ffffff;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__text-block {
  color: #ffffff;
}

.page-fishing-games__feature-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__feature-content {
  flex: 1;
}

.page-fishing-games__feature-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

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

.page-fishing-games__feature-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-fishing-games__feature-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #A5C4FF; /* Glow */
  font-weight: bold;
}

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

.page-fishing-games__game-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #1F2D3D;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-fishing-games__game-card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card-description {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

/* How to Play Section */
.page-fishing-games__guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__guide-steps {
  flex: 1;
}

.page-fishing-games__guide-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-fishing-games__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin: 0;
  font-size: 1.1em;
}

.page-fishing-games__numbered-list li {
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-fishing-games__numbered-list li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

/* Tips Section */
.page-fishing-games__bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1em;
}

.page-fishing-games__bullet-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-fishing-games__bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #A5C4FF; /* Glow */
  font-size: 1.5em;
  line-height: 0.8;
}

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

.page-fishing-games__faq-item {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000; /* Custom Color_1776249996415 */
  cursor: pointer;
  list-style: none; /* Remove default marker for 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;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #1F2D3D;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  text-align: center;
  background: #2F6BFF;
  color: #ffffff;
  padding: 80px 0 0; /* Adjust padding-bottom for image */
  position: relative;
  overflow: hidden;
}

.page-fishing-games__cta-final-content {
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title,
.page-fishing-games__cta-final-section .page-fishing-games__text-block {
  color: #ffffff;
}

.page-fishing-games__cta-banner-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
  transform: translateY(50%); /* Lift half of the image into the section */
}

.page-fishing-games__cta-banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Mobile Floating Buttons */
.page-fishing-games__mobile-floating-buttons {
  display: none; /* Hidden by default, show on mobile */
}

/* Universal Image Responsive Styles */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    height: 500px;
  }
  .page-fishing-games__feature-grid,
  .page-fishing-games__guide-content {
    flex-direction: column;
  }
  .page-fishing-games__feature-image-wrapper,
  .page-fishing-games__guide-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
  .page-fishing-games__section-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Specific: approx 10px top spacing */
  }
  .page-fishing-games__hero-image-wrapper {
    height: 300px !important;
  }
  .page-fishing-games__hero-content {
    margin: 20px auto !important;
    padding: 0 15px !important;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    margin-bottom: 15px !important;
  }
  .page-fishing-games__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }
  .page-fishing-games__hero-cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 15px !important;
  }

  /* General Section Spacing & Title */
  .page-fishing-games__section-spacing {
    padding: 40px 0 !important;
  }
  .page-fishing-games__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__section-title {
    font-size: 2em !important;
    margin-bottom: 30px !important;
  }

  /* Content Text */
  .page-fishing-games__text-block,
  .page-fishing-games__feature-item,
  .page-fishing-games__numbered-list li,
  .page-fishing-games__bullet-list li,
  .page-fishing-games__faq-answer {
    font-size: 1em !important;
  }

  /* Images & Image Containers */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__feature-image-wrapper,
  .page-fishing-games__guide-image-wrapper,
  .page-fishing-games__cta-banner-image-wrapper,
  .page-fishing-games__game-card-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons & Button Containers */
  .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 15px !important;
  }
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    flex-direction: column !important;
  }

  /* Feature Grid (Why Choose) */
  .page-fishing-games__feature-grid {
    gap: 20px !important;
  }
  .page-fishing-games__feature-image-wrapper {
    margin-bottom: 20px; /* Add space between image and list */
  }

  /* Game Grid (Popular Games) */
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr !important; /* Single column on mobile */
    gap: 20px !important;
  }
  .page-fishing-games__game-card-image {
    height: 180px !important;
  }

  /* How to Play Guide */
  .page-fishing-games__guide-content {
    gap: 20px !important;
  }
  .page-fishing-games__guide-image-wrapper {
    margin-bottom: 20px; /* Space between image and steps */
  }

  /* FAQ */
  .page-fishing-games__faq-question {
    font-size: 1.1em !important;
    padding: 15px 20px !important;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px !important;
  }

  /* Final CTA Section */
  .page-fishing-games__cta-final-section {
    padding: 60px 0 0 !important;
  }
  .page-fishing-games__cta-final-content {
    padding-bottom: 40px !important;
  }
  .page-fishing-games__cta-banner-image-wrapper {
    transform: translateY(30%) !important; /* Adjust lift for mobile */
  }

  /* Mobile Floating Buttons */
  .page-fishing-games__mobile-floating-buttons {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    justify-content: space-around;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  }

  .page-fishing-games__mobile-btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    margin: 0 5px;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.3s ease;
    max-width: 48%; /* Ensure two buttons fit with some margin */
    box-sizing: border-box;
  }

  .page-fishing-games__mobile-btn--register {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  }

  .page-fishing-games__mobile-btn--login {
    background-color: #6FA3FF;
  }

  .page-fishing-games__mobile-btn:hover {
    opacity: 0.9;
  }
}