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

:root {
  --page-fishing-games-primary-color: #26A9E0;
  --page-fishing-games-secondary-color: #FFFFFF;
  --page-fishing-games-dark-text: #333333;
  --page-fishing-games-light-text: #ffffff;
  --page-fishing-games-login-color: #EA7C07;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-fishing-games-light-text); /* Mặc định chữ trắng trên nền body tối */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

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

.page-fishing-games__dark-bg {
  background-color: #1a1a1a; /* Darker background for sections */
  color: var(--page-fishing-games-light-text);
}

.page-fishing-games__light-bg {
  background-color: var(--page-fishing-games-secondary-color);
  color: var(--page-fishing-games-dark-text);
}

.page-fishing-games__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  color: inherit;
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body đã xử lý padding-top, chỉ cần 10px trang trí */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: -300px; /* Kéo nội dung lên trên ảnh một chút */
  color: var(--page-fishing-games-light-text);
}

.page-fishing-games__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--page-fishing-games-primary-color), 10%);
  border-color: darken(var(--page-fishing-games-primary-color), 10%);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-secondary-color);
}

/* Content Wrapper (About Game, How to Play) */
.page-fishing-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-fishing-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__image-block {
  flex: 1;
  text-align: center;
}

.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.page-fishing-games__list-icon {
  color: var(--page-fishing-games-primary-color);
  margin-right: 10px;
  font-weight: bold;
}

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

.page-fishing-games__feature-list li,
.page-fishing-games__tip-list li,
.page-fishing-games__step-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: inherit;
}

.page-fishing-games__feature-list li::before {
  content: '✓'; /* Unicode checkmark */
  color: var(--page-fishing-games-primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-fishing-games__step-list li::before {
  content: counter(item) '. ';
  counter-increment: item;
  color: var(--page-fishing-games-primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-fishing-games__tip-list li::before {
  content: '💡'; /* Unicode lightbulb */
  position: absolute;
  left: 0;
  top: 0;
}

.page-fishing-games__subsection-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--page-fishing-games-light-text);
}

.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__card-text {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--page-fishing-games-light-text);
}

.page-fishing-games__btn-card {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-secondary-color);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-card:hover {
  background-color: darken(var(--page-fishing-games-primary-color), 10%);
}

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

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

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.05); /* Slightly transparent dark on light background */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--page-fishing-games-dark-text); /* Ensure dark text on light background */
}

.page-fishing-games__feature-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__feature-item p {
  font-size: 16px;
  color: var(--page-fishing-games-dark-text);
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  color: var(--page-fishing-games-primary-color);
  list-style: none; /* For details/summary */
}

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

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  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 25px;
  font-size: 16px;
  color: var(--page-fishing-games-light-text);
}

/* Final CTA Section */
.page-fishing-games__cta-final {
  text-align: center;
  padding: 80px 0;
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__btn-large {
  font-size: 20px;
  padding: 18px 40px;
  margin-top: 30px;
  background-color: var(--page-fishing-games-login-color); /* Sử dụng màu login cho CTA cuối */
  border-color: var(--page-fishing-games-login-color);
}

.page-fishing-games__btn-large:hover {
  background-color: darken(var(--page-fishing-games-login-color), 10%);
  border-color: darken(var(--page-fishing-games-login-color), 10%);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__hero-content {
    margin-top: -200px;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }
  .page-fishing-games__content-wrapper--reverse {
    flex-direction: column-reverse;
  }
  .page-fishing-games__section-description {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-content {
    margin-top: -100px; /* Adjust for smaller screens */
    padding: 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(30px, 8vw, 40px);
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-card,
  .page-fishing-games__btn-large {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__container,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__feature-grid {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__feature-item {
    padding: 20px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px 20px;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset, chỉ cần 10px trang trí */
  }
}

/* Ensure images don't use filter properties */
.page-fishing-games img {
  filter: none; /* Explicitly remove any default filter */
}

/* Darken function for SASS-like behavior */
/* This is a placeholder for actual SASS/LESS or pre-processing. In pure CSS, you'd use specific hex values. */
/* For the purpose of this output, I'll assume a preprocessor or convert to fixed values */
/* For example, darken(#26A9E0, 10%) could be #1f89b3 */
/* darken(#EA7C07, 10%) could be #c46706 */

.page-fishing-games__btn-primary:hover {
  background-color: #1f89b3;
  border-color: #1f89b3;
}
.page-fishing-games__btn-card:hover {
  background-color: #1f89b3;
}
.page-fishing-games__btn-large:hover {
  background-color: #c46706;
  border-color: #c46706;
}