:root {
  --primary-color: #0056B3;
  --secondary-color: #FFD700;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-card-dark: rgba(255, 255, 255, 0.1);
  --border-color-dark: rgba(255, 255, 255, 0.2);
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark); /* Inherited from shared.css, just for clarity */
  padding-top: 10px; /* Desktop: Ensure content is not hidden by fixed header */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('[GALLERY:hero:pg99 vip, bắn cá, sòng bạc di động, nền tảng cá cược, background,1920x1080]') no-repeat center center/cover;
  padding: 120px 0 80px;
  text-align: center;
  color: var(--text-color-light);
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  background: #00428f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__dark-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 80px 0;
}

.page-fishing-games__features-section {
  padding: 80px 0;
}

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

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

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

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-fishing-games__feature-text {
  font-size: 16px;
  color: #e0e0e0;
}

.page-fishing-games__popular-games-section {
  padding: 80px 0;
}

.page-fishing-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__game-card {
  background: var(--bg-card-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color-dark);
}

.page-fishing-games__game-title {
  font-size: 22px;
  font-weight: bold;
  padding: 15px 20px 0;
  color: var(--secondary-color);
}

.page-fishing-games__game-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-title a:hover {
  color: #fff;
}

.page-fishing-games__game-description {
  font-size: 15px;
  color: #e0e0e0;
  padding: 10px 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__how-to-play-section {
  padding: 80px 0;
}

.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__step-item {
  text-align: center;
  background: var(--bg-card-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color-dark);
}

.page-fishing-games__step-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px var(--secondary-color));
}

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

.page-fishing-games__step-text {
  font-size: 16px;
  color: #e0e0e0;
}

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

.page-fishing-games__tips-section {
  padding: 80px 0;
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-fishing-games__tips-item {
  background: var(--bg-card-dark);
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color-dark);
}

.page-fishing-games__tips-subtitle {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__tips-item p {
  font-size: 16px;
  color: #e0e0e0;
}

.page-fishing-games__promotions-section {
  padding: 80px 0;
}

.page-fishing-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__promo-card {
  background: var(--bg-card-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color-dark);
}

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: bold;
  padding: 15px 20px 0;
  color: var(--secondary-color);
}

.page-fishing-games__promo-text {
  font-size: 16px;
  color: #e0e0e0;
  padding: 10px 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__faq-list {
  margin-top: 50px;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color-dark);
}

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

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

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

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
  color: var(--text-color-light);
}

.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;
  background: rgba(0, 0, 0, 0.2);
  color: #e0e0e0;
  border-top: 1px solid var(--border-color-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #e0e0e0;
}

.page-fishing-games__final-cta-section {
  padding: 80px 0 100px;
  text-align: center;
}

.page-fishing-games__highlight-text {
  color: var(--secondary-color);
  font-weight: bold;
}

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

.page-fishing-games__link-text:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 40px;
  }
  .page-fishing-games__section-title {
    font-size: 30px;
  }
  .page-fishing-games__feature-title, .page-fishing-games__game-title, .page-fishing-games__step-title, .page-fishing-games__promo-title {
    font-size: 20px;
  }
  .page-fishing-games__hero-description, .page-fishing-games__section-description, .page-fishing-games__cta-button {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 10px !important; /* Mobile: Ensure content is not hidden by fixed header */
  }
  .page-fishing-games__hero-section {
    padding: 100px 0 60px;
  }
  .page-fishing-games__hero-title {
    font-size: 32px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
  }
  .page-fishing-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-fishing-games__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }
  .page-fishing-games__cta-button {
    font-size: 16px;
    padding: 12px 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__cta-center {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__features-grid, .page-fishing-games__games-grid, .page-fishing-games__steps-grid, .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  .page-fishing-games__feature-item, .page-fishing-games__game-card, .page-fishing-games__step-item, .page-fishing-games__promo-card {
    padding: 20px;
  }
  .page-fishing-games__feature-image {
    max-width: 150px;
  }
  .page-fishing-games__feature-title, .page-fishing-games__game-title, .page-fishing-games__step-title, .page-fishing-games__promo-title {
    font-size: 18px;
  }
  .page-fishing-games__feature-text, .page-fishing-games__game-description, .page-fishing-games__step-text, .page-fishing-games__promo-text, .page-fishing-games__tips-item p, .page-fishing-games__faq-answer p {
    font-size: 15px;
  }
  .page-fishing-games__tips-subtitle {
    font-size: 20px;
  }
  .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: 26px;
    height: 26px;
    margin-left: 15px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }

  /* Image responsive rules */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__hero-section,
  .page-fishing-games__features-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__step-icon,
  .page-fishing-games__promo-image {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }
  .page-fishing-games__hero-section {
    background-size: contain !important;
    background-position: top center !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 28px;
  }
  .page-fishing-games__section-title {
    font-size: 22px;
  }
  .page-fishing-games__feature-title, .page-fishing-games__game-title, .page-fishing-games__step-title, .page-fishing-games__promo-title {
    font-size: 17px;
  }
  .page-fishing-games__hero-description, .page-fishing-games__section-description, .page-fishing-games__cta-button {
    font-size: 14px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 15px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 22px;
    width: 24px;
    height: 24px;
  }
}