/* style/fishing-games.css */

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

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

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

.page-fishing-games__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #FFFFFF; /* Default light section background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__section:last-of-type {
  margin-bottom: 0;
}

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #2F6BFF; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #6FA3FF; /* Auxiliary color */
  border-radius: 2px;
}

.page-fishing-games__section-title--light {
  color: #FFFFFF;
}

.page-fishing-games__section-title--light::after {
  background-color: #FFFFFF;
}

.page-fishing-games__text-block {
  font-size: 17px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #1F2D3D;
}

.page-fishing-games__text-block--light {
  color: #f0f0f0; /* Lighter text for dark backgrounds */
}

/* HERO Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, main offset handled by body */
  background-color: #F4F7FB; /* Match body background */
  overflow: hidden;
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-content p {
  font-size: 20px;
  color: #1F2D3D;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(47, 107, 255, 0.6);
}

.page-fishing-games__cta-button--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

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

.page-fishing-games__feature-item {
  background-color: #F4F7FB; /* Background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__feature-title {
  font-size: 24px;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__feature-item p {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

/* Images within sections */
.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__image--centered {
  margin-left: auto;
  margin-right: auto;
}

/* How To Play Section */
.page-fishing-games__section--how-to-play {
  background-color: #F4F7FB; /* Background */
}

.page-fishing-games__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #D6E2FF; /* Border color */
  transition: border-color 0.3s ease;
}

.page-fishing-games__step-item:hover {
  border-color: #2F6BFF; /* Primary color */
}

.page-fishing-games__step-title {
  font-size: 22px;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__step-item p {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

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

.page-fishing-games__card {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border color */
  color: #1F2D3D; /* Text Main */
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__card-title {
  font-size: 22px;
  color: #2F6BFF; /* Primary color */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__card p {
  font-size: 16px;
}

/* Promotions Section */
.page-fishing-games__section--promotions {
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%); /* Primary and Auxiliary colors */
  color: #FFFFFF;
}

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

.page-fishing-games__card--promotion {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for cards on dark background */
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.page-fishing-games__card--promotion .page-fishing-games__card-title {
  color: #FFFFFF;
}

.page-fishing-games__card--promotion p {
  color: #f0f0f0;
}

/* Security Section */
.page-fishing-games__section--security {
  background-color: #F4F7FB; /* Background */
}

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

/* FAQ Section */
.page-fishing-games__section--faq {
  background-color: #FFFFFF; /* Card BG */
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D; /* Text Main */
}
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: #F4F7FB; /* Background */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #2F6BFF; /* Primary color */
}
.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #6FA3FF; /* Auxiliary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #F4F7FB; /* Background */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
  font-size: 16px;
}
details.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #F4F7FB;
}
details.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  color: #2F6BFF;
}

/* CTA Section */
.page-fishing-games__section--cta {
  background: linear-gradient(135deg, #6FA3FF 0%, #2F6BFF 100%); /* Auxiliary and Primary colors */
  text-align: center;
  padding: 80px 0;
  border-radius: 0; /* No border radius for full width section */
  box-shadow: none;
}

/* Global Image Styles for Responsiveness and Size Constraints */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content h1 {
    font-size: 42px;
  }
  .page-fishing-games__hero-content p {
    font-size: 18px;
  }
  .page-fishing-games__section-title {
    font-size: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 16px;
  }
  .page-fishing-games__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__step-title,
  .page-fishing-games__card-title {
    font-size: 20px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Small top padding, main offset handled by body */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-container {
    padding: 0;
  }
  .page-fishing-games__hero-image img {
    border-radius: 8px;
  }
  .page-fishing-games__hero-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0;
    margin-right: 0;
  }
  .page-fishing-games__cta-button--centered {
    margin-top: 30px;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }

  /* Image responsiveness */
  .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;
  }

  /* FAQ responsive */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 16px; }
  .page-fishing-games__faq-toggle { font-size: 24px; }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }

  /* Button responsiveness */
  .page-fishing-games__cta-button,
  .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__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content h1 {
    font-size: 28px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__step-title,
  .page-fishing-games__card-title {
    font-size: 18px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 15px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 22px;
  }
}

/* Color Contrast Safeguards */
/* Assuming body background is light #F4F7FB, default text is dark #1F2D3D */
/* Dark sections should have light text */
.page-fishing-games__dark-bg {
  background-color: #2F6BFF; /* Example dark background */
  color: #FFFFFF; /* Light text */
}

/* Ensure text in dark background cards is white */
.page-fishing-games__card--promotion .page-fishing-games__card-title,
.page-fishing-games__card--promotion p {
  color: #FFFFFF;
}

/* Buttons already have white text on brand gradient */