/* style/fishing-games.css */

/* Biến CSS */
:root {
  --page-fishing-games-primary-color: #FFD700; /* Vàng kim */
  --page-fishing-games-secondary-color: #8B0000; /* Đỏ đậm */
  --page-fishing-games-text-light: #ffffff; /* Văn bản sáng cho nền tối */
  --page-fishing-games-text-dark: #333333; /* Văn bản tối cho nền sáng */
  --page-fishing-games-bg-dark: #000000; /* Nền tối của body */
  --page-fishing-games-card-bg-dark: rgba(255, 255, 255, 0.08); /* Nền thẻ hơi trong suốt cho nền tối */
  --page-fishing-games-border-color: #333333; /* Màu viền */
  --page-fishing-games-shadow-color: rgba(0, 0, 0, 0.3);
}

/* --- General Page Styling --- */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-fishing-games-text-light); /* Mặc định văn bản sáng cho nền body tối */
  background-color: var(--page-fishing-games-bg-dark);
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-fishing-games-primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-fishing-games-primary-color);
  text-shadow: 2px 2px 5px var(--page-fishing-games-shadow-color);
}

.page-fishing-games__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__text-block strong {
  color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__link {
  color: var(--page-fishing-games-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__link:hover {
  color: var(--page-fishing-games-text-light);
  text-decoration: underline;
}

.page-fishing-games__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary {
  background-color: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-dark);
  border-color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__btn-secondary {
  background-color: var(--page-fishing-games-secondary-color);
  color: var(--page-fishing-games-text-light);
  border-color: var(--page-fishing-games-secondary-color);
}

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

.page-fishing-games__btn-center {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 250px;
}

/* --- HERO Section --- */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Clearance for fixed header */
  margin-top: 0;
  background-color: var(--page-fishing-games-bg-dark);
}

.page-fishing-games__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin: 0;
}

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

/* --- Intro Section --- */
.page-fishing-games__intro-section {
  padding: 60px 20px;
  background-color: var(--page-fishing-games-bg-dark);
  text-align: center;
}

.page-fishing-games__main-title {
  margin-top: 20px;
}

/* --- Why Choose Section & Grid Layout --- */
.page-fishing-games__why-choose-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-bg-dark);
}

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

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px var(--page-fishing-games-shadow-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px var(--page-fishing-games-shadow-color);
}

.page-fishing-games__card-image-wrapper {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-fishing-games__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-fishing-games-text-light);
}

/* --- Featured Games Section --- */
.page-fishing-games__featured-games-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-bg-dark);
}

.page-fishing-games__game-card {
  background-color: var(--page-fishing-games-card-bg-dark);
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--page-fishing-games-shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-fishing-games-secondary-color);
  overflow: hidden;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px var(--page-fishing-games-shadow-color);
}

.page-fishing-games__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card-image-wrapper {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-fishing-games__game-card-title {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__game-card-description {
  font-size: 16px;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 20px;
  color: var(--page-fishing-games-text-light);
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn {
  margin: 0 20px 20px 20px;
}

/* --- Guide Section --- */
.page-fishing-games__guide-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-bg-dark);
}

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

.page-fishing-games__guide-item {
  background-color: var(--page-fishing-games-card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px var(--page-fishing-games-shadow-color);
  border: 1px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__guide-step-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__guide-step-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--page-fishing-games-text-light);
}

/* --- Strategy Section --- */
.page-fishing-games__strategy-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-bg-dark);
}

.page-fishing-games__strategy-card {
  background-color: var(--page-fishing-games-card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px var(--page-fishing-games-shadow-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-fishing-games-secondary-color);
}

.page-fishing-games__strategy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px var(--page-fishing-games-shadow-color);
}

.page-fishing-games__strategy-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px auto;
  background-color: var(--page-fishing-games-primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__strategy-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.page-fishing-games__strategy-card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__strategy-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-fishing-games-text-light);
}

/* --- Promo Section --- */
.page-fishing-games__promo-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-bg-dark);
}

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

.page-fishing-games__promo-item {
  background-color: var(--page-fishing-games-card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px var(--page-fishing-games-shadow-color);
  border: 1px solid var(--page-fishing-games-primary-color);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__promo-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-fishing-games-text-light);
}

/* --- Safety Section --- */
.page-fishing-games__safety-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-bg-dark);
}

.page-fishing-games__info-card {
  background-color: var(--page-fishing-games-card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px var(--page-fishing-games-shadow-color);
  text-align: center;
  border: 1px solid var(--page-fishing-games-secondary-color);
}

.page-fishing-games__info-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px auto;
  background-color: var(--page-fishing-games-secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__info-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.page-fishing-games__info-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__info-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-fishing-games-text-light);
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-bg-dark);
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--page-fishing-games-primary-color);
  background-color: var(--page-fishing-games-card-bg-dark);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-fishing-games__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--page-fishing-games-text-light);
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--page-fishing-games-primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--page-fishing-games-primary-color);
  transform: rotate(180deg);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: var(--page-fishing-games-text-light);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-fishing-games-text-light);
}

/* --- Dark Section Styling --- */
.page-fishing-games__dark-section {
  background-color: var(--page-fishing-games-bg-dark);
  color: var(--page-fishing-games-text-light);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 32px;
  }

  .page-fishing-games__main-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Mobile clearance for fixed header */
  }

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

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

  .page-fishing-games__main-title {
    font-size: 34px;
    margin-bottom: 25px;
  }

  .page-fishing-games__text-block {
    font-size: 16px;
    line-height: 1.7;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__featured-games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promo-section,
  .page-fishing-games__safety-section,
  .page-fishing-games__faq-section {
    padding: 40px 15px;
  }

  .page-fishing-games__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__strategy-card,
  .page-fishing-games__promo-item,
  .page-fishing-games__info-card {
    padding: 25px;
  }

  .page-fishing-games__card-image-wrapper,
  .page-fishing-games__game-card-image-wrapper {
    height: 180px;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__game-card-title,
  .page-fishing-games__guide-step-title,
  .page-fishing-games__strategy-card-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__info-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-fishing-games__card-text,
  .page-fishing-games__game-card-description,
  .page-fishing-games__guide-step-description,
  .page-fishing-games__strategy-card-text,
  .page-fishing-games__promo-description,
  .page-fishing-games__info-description {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-fishing-games__btn {
    padding: 10px 20px;
    font-size: 16px;
  }

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

  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }

  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }

  /* Mandatory responsive image styling */
  .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,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__strategy-card,
  .page-fishing-games__promo-item,
  .page-fishing-games__info-card,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}