/* style/fishing-games.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f9f9f9;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Body background is dark, so default text is light */
  background-color: var(--bg-dark); /* Inherited from shared.css, but for safety */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

.page-fishing-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Sections */
.page-fishing-games__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Added padding-top to account for fixed header */
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('[GALLERY:bg:bắn cá iwin68, cá cược trực tuyến, sòng bạc trực tuyến, đăng nhập tặng Phần thưởng hậu hĩnh,fishing game background]');
  background-size: cover;
  background-position: center;
  color: var(--text-color-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__hero-title {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__hero-image {
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__intro-section,
.page-fishing-games__guide-section,
.page-fishing-games__promo-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  color: var(--text-color-dark);
  background-color: var(--bg-light);
}

.page-fishing-games__features-section,
.page-fishing-games__strategy-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  color: var(--text-color-light);
  background-color: var(--primary-color);
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-fishing-games__cta-buttons--centered {
  margin-top: 50px;
}

.page-fishing-games__cta-button,
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-inline {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.page-fishing-games__btn-inline {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid var(--secondary-color);
  margin-top: 15px;
}

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

/* General Card Styles */
.page-fishing-games__card,
.page-fishing-games__feature-card,
.page-fishing-games__promo-card {
  background: var(--card-bg-dark);
  color: var(--text-color-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__feature-image,
.page-fishing-games__promo-image,
.page-fishing-games__reason-icon {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__feature-image {
  max-width: 250px;
  height: 180px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__promo-image {
  max-width: 100%;
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.page-fishing-games__reason-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
}

/* Guide List */
.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__guide-list .page-fishing-games__list-item {
  background: var(--card-bg-light);
  color: var(--text-color-dark);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  counter-increment: step-counter;
  position: relative;
  padding-left: 70px;
}

.page-fishing-games__guide-list .page-fishing-games__list-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 25px;
  top: 25px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}

.page-fishing-games__guide-list .page-fishing-games__list-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

/* Why Choose List */
.page-fishing-games__why-list .page-fishing-games__list-item {
  background: var(--card-bg-dark);
  color: var(--text-color-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.page-fishing-games__why-list .page-fishing-games__list-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-fishing-games__why-list .page-fishing-games__list-item p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-bg-light);
  border-radius: 0 0 5px 5px;
  color: var(--text-color-dark);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-dark);
}

.page-fishing-games__faq-question:hover {
  background: #f0f0f0;
  border-color: #c0c0c0;
}

.page-fishing-games__faq-question:active {
  background: #e0e0e0;
}

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

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--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(--secondary-color);
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 100px 0 40px; /* Adjusted padding-top for mobile fixed header */
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__hero-title {
    font-size: 36px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 16px;
  }
  
  /* Buttons */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-inline {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Images */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 6px;
  }
  .page-fishing-games__hero-image {
    margin-top: 30px;
  }
  .page-fishing-games__feature-image {
    max-width: 200px;
    height: 150px;
  }
  .page-fishing-games__promo-image {
    height: 160px;
  }
  .page-fishing-games__reason-icon {
    width: 100px;
    height: 100px;
    padding: 10px;
  }

  /* Grids */
  .page-fishing-games__features-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__why-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__why-list .page-fishing-games__list-item {
    padding: 20px;
  }
  .page-fishing-games__card-title,
  .page-fishing-games__list-title {
    font-size: 18px;
  }
  .page-fishing-games__guide-list .page-fishing-games__list-item {
    padding-left: 60px;
  }
  .page-fishing-games__guide-list .page-fishing-games__list-item::before {
    left: 20px;
    top: 20px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 18px;
  }

  /* FAQ */
  .page-fishing-games__faq-question {
    padding: 15px;
  }
  .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-answer {
    padding: 0 15px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 30px;
  }
  .page-fishing-games__hero-description {
    font-size: 15px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-fishing-games__text-block {
    font-size: 15px;
  }
}