/* style/fishing-games.css */
/* body đã có padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */

.page-fishing-games {
  color: #ffffff; /* Vì body background là #0a0a0a (dark), text nên là light */
}

.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; /* Nhỏ gọn, không sử dụng var(--header-offset) */
  overflow: hidden;
  background-color: #0a0a0a; /* Ensure dark background for hero */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and content */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  z-index: 1;
  color: #ffffff;
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.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,
.page-fishing-games__btn-tertiary,
.page-fishing-games__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background-color: #1e87b0;
  border-color: #1e87b0;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-fishing-games__btn-tertiary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-fishing-games__btn-tertiary:hover {
  background-color: #c96700;
  border-color: #c96700;
  transform: translateY(-2px);
}

.page-fishing-games__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: none;
  padding: 8px 15px;
  font-size: 1em;
  font-weight: 500;
  text-decoration: underline;
}

.page-fishing-games__btn-link:hover {
  color: #1e87b0;
  text-decoration: none;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

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

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

.page-fishing-games__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff; /* Light text for dark background */
  padding: 80px 0;
}

.page-fishing-games__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

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

/* Introduction Section */
.page-fishing-games__introduction-section .page-fishing-games__text-block {
  color: #333333;
}

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

.page-fishing-games__grid-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-fishing-games__feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-fishing-games__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
}

/* How to Play Section */
.page-fishing-games__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-fishing-games__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card h3,
.page-fishing-games__game-card p {
  padding: 0 20px;
}

.page-fishing-games__game-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-fishing-games__game-description {
  font-size: 0.9em;
  line-height: 1.5;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__game-card .page-fishing-games__btn-link {
  display: block;
  text-align: center;
  margin: 0 20px 20px;
  padding: 10px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
}

.page-fishing-games__game-card .page-fishing-games__btn-link:hover {
  background-color: #1e87b0;
}

/* Promotions Section */
.page-fishing-games__promotions-section .page-fishing-games__text-block {
  color: #333333;
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-fishing-games__promo-item {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__promo-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-fishing-games__promo-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

/* Why Choose Us Section */
.page-fishing-games__reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__reason-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__reason-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-fishing-games__reason-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-fishing-games__faq-item {
  background: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  background-color: #ffffff;
  color: #26A9E0;
  border-bottom: 1px solid #eee;
}

.page-fishing-games__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-fishing-games__faq-question::marker {
  display: none;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom-color: #ddd;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 15px;
}

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: 2.2em;
  }

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

  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__light-bg,
  .page-fishing-games__dark-bg {
    padding: 40px 0;
    padding-top: 10px !important; /* Ensure small top padding for sections */
  }

  .page-fishing-games__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__image-grid,
  .page-fishing-games__feature-cards,
  .page-fishing-games__steps,
  .page-fishing-games__game-cards,
  .page-fishing-games__promo-list,
  .page-fishing-games__reason-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__grid-image,
  .page-fishing-games__game-image {
    height: auto; /* Allow height to adjust naturally */
    min-height: 200px; /* Ensure min size */
  }

  .page-fishing-games__card,
  .page-fishing-games__step-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-item,
  .page-fishing-games__reason-item,
  .page-fishing-games__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  /* Button responsiveness */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary,
  .page-fishing-games__btn-link,
  .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__game-card .page-fishing-games__btn-link {
    margin-left: 0;
    margin-right: 0;
  }

  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }

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

  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__reason-title {
    font-size: 1.2em;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary {
    font-size: 0.95em;
    padding: 12px 20px;
  }
}