/* style/fishing-games.css */

/* Biến màu sắc */
:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-background: #08160F;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-border: #2E7A4E;
  --page-fishing-games-glow: #57E38D;
  --page-fishing-games-gold: #F2C14E;
  --page-fishing-games-divider: #1E3A2A;
  --page-fishing-games-deep-green: #0A4B2C;
}

/* Căn chỉnh tổng thể và màu chữ chính cho body tối */
.page-fishing-games {
  background-color: var(--page-fishing-games-background);
  color: var(--page-fishing-games-text-main); /* Màu chữ chính cho nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* HERO Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Nhỏ gọn, body đã có padding-top */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 15px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  color: var(--page-fishing-games-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.page-fishing-games__description {
  font-size: 1.1rem;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 30px;
}

.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-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff; /* Luôn dùng trắng cho nút chính */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--page-fishing-games-gold);
  border: 2px solid var(--page-fishing-games-gold);
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.5);
}

/* General Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__games-section,
.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategies-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__section-title {
  font-size: 2.5rem;
  color: var(--page-fishing-games-gold);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Game List & Cards */
.page-fishing-games__game-list,
.page-fishing-games__promotion-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-fishing-games__card-description {
  font-size: 0.95rem;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Features & Benefits Lists */
.page-fishing-games__feature-list,
.page-fishing-games__benefit-list,
.page-fishing-games__guide-list,
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__feature-item,
.page-fishing-games__benefit-item,
.page-fishing-games__guide-item,
.page-fishing-games__strategy-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__feature-title,
.page-fishing-games__benefit-title,
.page-fishing-games__guide-step-title,
.page-fishing-games__strategy-title {
  font-size: 1.5rem;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__feature-description,
.page-fishing-games__benefit-description,
.page-fishing-games__guide-description,
.page-fishing-games__strategy-description {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
}

/* Guide List Specifics */
.page-fishing-games__guide-list {
  counter-reset: step-counter;
}

.page-fishing-games__guide-item {
  position: relative;
  padding-left: 45px;
  text-align: left;
}

.page-fishing-games__guide-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--page-fishing-games-gold);
  color: var(--page-fishing-games-background);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.page-fishing-games__guide-item a {
  color: var(--page-fishing-games-gold);
  text-decoration: underline;
}

.page-fishing-games__guide-item a:hover {
  color: var(--page-fishing-games-primary-color);
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--page-fishing-games-primary-color);
  cursor: pointer;
  background-color: rgba(17, 168, 78, 0.1);
  border-bottom: 1px solid var(--page-fishing-games-divider);
  list-style: none; /* Remove default marker for details */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  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: 20px 25px;
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.8;
}

/* CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
  border-bottom: none;
}

.page-fishing-games__cta-section .page-fishing-games__container {
  background-color: var(--page-fishing-games-deep-green);
  border-radius: 15px;
  padding: 60px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-text-main);
  margin-bottom: 20px;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 40px;
}

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

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

  .page-fishing-games__card-title {
    font-size: 1.5rem;
  }
}

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

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

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

  .page-fishing-games__description {
    font-size: 1rem;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__games-section,
  .page-fishing-games__features-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-fishing-games__content-image,
  .page-fishing-games__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__card-title {
    font-size: 1.3rem;
  }

  .page-fishing-games__card-description {
    font-size: 0.9rem;
  }

  .page-fishing-games__feature-list,
  .page-fishing-games__benefit-list,
  .page-fishing-games__guide-list,
  .page-fishing-games__strategy-list {
    gap: 20px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__benefit-title,
  .page-fishing-games__guide-step-title,
  .page-fishing-games__strategy-title {
    font-size: 1.3rem;
  }

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

  .page-fishing-games__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  .page-fishing-games__cta-section .page-fishing-games__container {
    padding: 40px 20px;
  }

  /* Ensure all containers are responsive */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-list,
  .page-fishing-games__promotion-list,
  .page-fishing-games__feature-list,
  .page-fishing-games__benefit-list,
  .page-fishing-games__guide-list,
  .page-fishing-games__strategy-list,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-fishing-games__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-fishing-games__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Override padding for full-width sections if needed, then re-add container padding */
  .page-fishing-games__introduction-section .page-fishing-games__container,
  .page-fishing-games__games-section .page-fishing-games__container,
  .page-fishing-games__features-section .page-fishing-games__container,
  .page-fishing-games__guide-section .page-fishing-games__container,
  .page-fishing-games__strategies-section .page-fishing-games__container,
  .page-fishing-games__promotions-section .page-fishing-games__container,
  .page-fishing-games__why-choose-section .page-fishing-games__container,
  .page-fishing-games__faq-section .page-fishing-games__container,
  .page-fishing-games__cta-section .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}