/* style/fishing-games.css */

/* Variables */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --login-button-color: #EA7C07;
  --bg-color-light: #f5f5f5; /* For sections that need light background */
}

/* Base styles for the page content */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark); /* Default text color for dark body background */
  background-color: transparent; /* Body handles the main background */
}

/* Section common styles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-on-dark);
}

.page-fishing-games__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-on-dark);
}

.page-fishing-games__paragraph,
.page-fishing-games__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-on-dark);
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.page-fishing-games__hero-content-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain content width */
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  gap: 30px;
  box-sizing: border-box;
  padding: 0 20px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-fishing-games__hero-text-container {
  text-align: center;
  padding: 20px 0;
}

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Clamp for responsive H1, not fixed large */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color);
  letter-spacing: -0.03em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-on-dark);
}

/* Call to Action Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width */
  max-width: 600px; /* Constrain button group width */
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-buttons--center {
  text-align: center;
  justify-content: center;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-fishing-games__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-on-dark);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
  background-color: #1e87b6; /* darken(var(--primary-color), 10%) */
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-on-dark);
  transform: translateY(-2px);
}

.page-fishing-games__btn-tertiary {
  background-color: var(--login-button-color); /* Specific color for "Đăng Ký Ngay" or similar */
  color: var(--text-on-dark);
  border: 2px solid var(--login-button-color);
}

.page-fishing-games__btn-tertiary:hover {
  background-color: #be6706; /* darken(var(--login-button-color), 10%) */
  transform: translateY(-2px);
}

/* About Section */
.page-fishing-games__about-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Darker background, so text is white */
  color: var(--text-on-dark);
}

.page-fishing-games__about-section .page-fishing-games__section-title,
.page-fishing-games__about-section .page-fishing-games__sub-title,
.page-fishing-games__about-section .page-fishing-games__paragraph,
.page-fishing-games__about-section .page-fishing-games__list-item {
  color: var(--text-on-dark);
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-fishing-games__feature-list .page-fishing-games__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-fishing-games__feature-list .page-fishing-games__list-item::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2em;
}


/* How-to-play Section */
.page-fishing-games__how-to-play {
  padding: 60px 0;
  background-color: var(--bg-color-light); /* Light background, so text is dark */
  color: var(--text-on-light);
}

.page-fishing-games__how-to-play .page-fishing-games__section-title,
.page-fishing-games__how-to-play .page-fishing-games__paragraph,
.page-fishing-games__how-to-play .page-fishing-games__step-title,
.page-fishing-games__how-to-play .page-fishing-games__step-description {
  color: var(--text-on-light);
}

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

.page-fishing-games__step-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__step-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-fishing-games__step-button {
  margin-top: auto; /* Align buttons at bottom */
}


/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Darker background, so text is white */
  color: var(--text-on-dark);
}

.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__paragraph,
.page-fishing-games__promotions-section .page-fishing-games__promo-title,
.page-fishing-games__promotions-section .page-fishing-games__promo-description {
  color: var(--text-on-dark);
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-fishing-games__promo-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
  padding: 60px 0;
  background-color: var(--bg-color-light); /* Light background, so text is dark */
  color: var(--text-on-light);
}

.page-fishing-games__why-choose-us .page-fishing-games__section-title,
.page-fishing-games__why-choose-us .page-fishing-games__paragraph,
.page-fishing-games__why-choose-us .page-fishing-games__reason-title,
.page-fishing-games__why-choose-us .page-fishing-games__reason-description {
  color: var(--text-on-light);
}

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

.page-fishing-games__reason-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-fishing-games__reason-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__reason-description {
  font-size: 1em;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Darker background, so text is white */
  color: var(--text-on-dark);
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--text-on-dark);
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For <summary> */
}

.page-fishing-games__faq-question::-webkit-details-marker { /* For <summary> */
  display: none;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-on-dark);
}

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

/* Final CTA Section */
.page-fishing-games__final-cta {
  padding: 60px 0;
  background-color: var(--bg-color-light); /* Light background, so text is dark */
  color: var(--text-on-light);
  text-align: center;
}

.page-fishing-games__final-cta .page-fishing-games__section-title,
.page-fishing-games__final-cta .page-fishing-games__paragraph {
  color: var(--text-on-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Ensure content containers are responsive */
  .page-fishing-games__container,
  .page-fishing-games__hero-content-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__step-by-step,
  .page-fishing-games__promo-grid,
  .page-fishing-games__reason-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-fishing-games__intro-text {
    font-size: 1.1em;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__sub-title {
    font-size: 1.5em;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary {
    width: 100% !important; /* Full width buttons */
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-fishing-games__image-content,
  .page-fishing-games__hero-image,
  .page-fishing-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__step-by-step,
  .page-fishing-games__promo-grid,
  .page-fishing-games__reason-grid {
    grid-template-columns: 1fr !important; /* Single column layout */
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px;
  }
}

/* Ensure no filter is applied to images */
.page-fishing-games img {
  filter: none !important;
}

/* Content area images CSS size lower limit */
.page-fishing-games img:not(.shared-header img, .shared-footer img) {
    min-width: 200px;
    min-height: 200px;
}
@media (max-width: 768px) {
  .page-fishing-games img:not(.shared-header img, .shared-footer img) {
    min-width: unset; /* Allow smaller on mobile if max-width: 100% takes over */
    min-height: unset;
  }
}