.page-fishing-games {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;

  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-dark); /* Ensure dark background */
}

.page-fishing-games__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-main);
}

.page-fishing-games__card-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-color);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-fishing-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.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;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid var(--glow-color);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  position: relative;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--glow-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: -20px auto 60px;
  line-height: 1.6;
}

.page-fishing-games__about-section,
.page-fishing-games__features-section,
.page-fishing-games__games-section,
.page-fishing-games__guide-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__responsibility-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
  padding: 40px 0;
}

.page-fishing-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__content-grid--reversed {
  grid-template-areas: "image text";
}

.page-fishing-games__content-grid--reversed .page-fishing-games__text-block {
  grid-area: text;
}

.page-fishing-games__content-grid--reversed .page-fishing-games__image-wrapper {
  grid-area: image;
}

.page-fishing-games__text-block p,
.page-fishing-games__text-block li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-fishing-games__text-link {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-fishing-games__image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__promotion-card {
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  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;
  justify-content: space-between;
}

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

.page-fishing-games__card-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-card p,
.page-fishing-games__game-card p,
.page-fishing-games__promotion-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.page-fishing-games__game-image,
.page-fishing-games__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--divider-color);
}

.page-fishing-games__card-btn {
  margin-top: 20px;
  width: auto;
  align-self: center;
}

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

.page-fishing-games__guide-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-fishing-games__guide-list li strong {
  color: var(--gold-color);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 10px;
}

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

.page-fishing-games__tips-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  padding-left: 40px;
}

.page-fishing-games__tips-list li::before {
  content: '💡';
  position: absolute;
  left: 15px;
  top: 20px;
  font-size: 1.2rem;
}

.page-fishing-games__tips-list li strong {
  color: var(--gold-color);
  display: block;
  margin-bottom: 5px;
}

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

.page-fishing-games__responsibility-list li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-fishing-games__responsibility-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
}

.page-fishing-games__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-fishing-games__faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--deep-green-color);
  list-style: none; /* Remove default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-fishing-games__faq-item summary:hover {
  background-color: var(--primary-color);
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-fishing-games__faq-answer {
  padding: 20px;
  background-color: var(--card-bg);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
}

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

.page-fishing-games__cta-container {
  text-align: center;
  padding: 60px 20px;
  border-radius: 10px;
  background: var(--deep-green-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 60px;
  border: 1px solid var(--border-color);
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
  .page-fishing-games__content-grid {
    grid-template-columns: 1fr;
    grid-template-areas: unset;
  }

  .page-fishing-games__content-grid--reversed .page-fishing-games__text-block,
  .page-fishing-games__content-grid--reversed .page-fishing-games__image-wrapper {
    grid-area: unset;
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-fishing-games__hero-description {
    font-size: 1.1rem;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-fishing-games__section-description {
    margin-bottom: 40px;
  }

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

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section {
    padding: 30px 15px;
  }

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

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

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

  .page-fishing-games__section-description {
    margin-bottom: 30px;
  }

  /* Mobile image responsiveness */
  .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__hero-section,
  .page-fishing-games__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  /* Mobile button responsiveness */
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically */
    overflow: hidden !important;
  }

  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card {
    padding: 20px;
  }

  .page-fishing-games__guide-list li,
  .page-fishing-games__tips-list li,
  .page-fishing-games__responsibility-list li {
    font-size: 0.95rem;
    padding: 15px;
    padding-left: 35px;
  }

  .page-fishing-games__tips-list li::before {
    top: 15px;
  }

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

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