:root {
  --neu88-primary: #11A84E; /* Main color */
  --neu88-secondary: #22C768; /* Auxiliary color */
  --neu88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  --neu88-card-bg: #11271B; /* Card Background */
  --neu88-background: #08160F; /* Main Background */
  --neu88-text-main: #F2FFF6; /* Main text color */
  --neu88-text-secondary: #A7D9B8; /* Secondary text color */
  --neu88-border: #2E7A4E; /* Border color */
  --neu88-glow: #57E38D; /* Glow color */
  --neu88-gold: #F2C14E; /* Gold color */
  --neu88-divider: #1E3A2A; /* Divider color */
  --neu88-deep-green: #0A4B2C; /* Deep Green */
}

.page-fishing-games {
  background-color: var(--neu88-background);
  color: var(--neu88-text-main); /* Dark background, so light text */
  font-family: 'Arial', sans-serif; /* Example font */
  line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure no overflow */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
  position: relative; /* Not absolute, to avoid overlapping image */
  max-width: 900px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  color: var(--neu88-gold); /* Gold for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--neu88-text-secondary);
  margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
  width: 100%; /* Important for mobile responsiveness */
  max-width: 500px; /* Limit button group width */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text break */
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--neu88-button-gradient);
  color: #ffffff; /* White text on dark button */
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--neu88-gold); /* Gold text on transparent button */
  border: 2px solid var(--neu88-gold);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--neu88-gold);
  color: var(--neu88-background); /* Dark text on gold hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__promotions-section,
.page-fishing-games__guide-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
}

.page-fishing-games__dark-section {
  background-color: var(--neu88-deep-green); /* Darker green background */
  color: var(--neu88-text-main);
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--neu88-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--neu88-primary);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--neu88-text-secondary);
  margin-bottom: 30px;
  text-align: justify;
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-top: 40px;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: var(--neu88-card-bg); /* Card background */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--neu88-text-main); /* Light text on dark card */
}

.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  color: var(--neu88-gold);
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

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

.page-fishing-games__card-title a:hover {
  color: var(--neu88-glow);
}

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

.page-fishing-games__btn-play {
  background: var(--neu88-button-gradient);
  color: #ffffff;
  border: none;
  margin: 0 20px 20px 20px;
  padding: 12px 20px;
  width: calc(100% - 40px);
}

.page-fishing-games__btn-play:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Promotion Cards - light background for contrast */
.page-fishing-games__promo-card.page-fishing-games__light-bg {
  background-color: #ffffff; /* Explicit white background */
  color: #333333; /* Dark text on light card */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-card.page-fishing-games__light-bg .page-fishing-games__card-title {
  color: var(--neu88-primary); /* Primary color for title on light background */
}

.page-fishing-games__promo-card.page-fishing-games__light-bg .page-fishing-games__card-title a {
  color: var(--neu88-primary);
}

.page-fishing-games__promo-card.page-fishing-games__light-bg .page-fishing-games__card-text {
  color: #555555; /* Darker secondary text on light background */
}

.page-fishing-games__promo-card.page-fishing-games__light-bg .page-fishing-games__btn-primary {
  background: var(--neu88-button-gradient);
  color: #ffffff;
}

/* Guide Section */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-card {
  background-color: var(--neu88-card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  text-align: center;
  color: var(--neu88-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__step-title {
  font-size: 1.6rem;
  color: var(--neu88-gold);
  margin-bottom: 15px;
}

.page-fishing-games__step-text {
  font-size: 1rem;
  color: var(--neu88-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: var(--neu88-card-bg);
  border: 1px solid var(--neu88-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item[open] {
  background-color: var(--neu88-deep-green);
}

.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(--neu88-text-main);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit */
}

.page-fishing-games__faq-question:hover {
  color: var(--neu88-gold);
}

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

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-fishing-games__cta-final {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

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

  .page-fishing-games__text-block {
    font-size: 1rem;
    padding: 0 15px;
  }

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

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body đã đảm nhiệm --header-offset */
  }

  .page-fishing-games__video-section { /* Nếu có phần video */
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__hero-image {
    border-radius: 0; /* Loại bỏ bo góc trên màn hình rất nhỏ */
  }
}