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

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-secondary); /* Default text color for general paragraphs */
  background-color: var(--bg-color); /* #08160F */
  line-height: 1.6;
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  background-color: var(--deep-green);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 30px 20px;
  margin-top: -100px; /* Pull content up slightly, but not over text area */
  box-sizing: border-box;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__introduction-section,
.page-fishing-games__why-choose-us-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  background-color: var(--bg-color);
  padding: 60px 0;
}

.page-fishing-games__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-secondary);
}

.page-fishing-games__feature-grid,
.page-fishing-games__game-list,
.page-fishing-games__step-list,
.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games__feature-card,
.page-fishing-games__game-item,
.page-fishing-games__promo-card {
  text-align: center;
}

.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
}

.page-fishing-games__feature-title,
.page-fishing-games__game-name,
.page-fishing-games__promo-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-fishing-games__step-item {
  counter-increment: step-counter;
  position: relative;
  padding-left: 50px;
  text-align: left;
}

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

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

.page-fishing-games__security-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-bg); /* Use card background for FAQ items */
  border: 1px solid var(--border-color);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--deep-green);
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main); /* F2FFF6 */
  border-bottom: 1px solid var(--divider-color);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  background-color: var(--card-bg);
  padding: 15px 25px;
  font-size: 1.1rem;
  color: var(--text-secondary); /* A7D9B8 */
  border-top: 1px solid var(--divider-color);
}

.page-fishing-games__faq-answer p {
  margin: 0;
}

.page-fishing-games__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-fishing-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__cta-button--center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: fit-content;
}

.page-fishing-games__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3rem;
}

.page-fishing-games p a,
.page-fishing-games li a {
  color: var(--glow-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-fishing-games p a:hover,
.page-fishing-games li a:hover {
  color: var(--gold-color);
}

@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -80px;
  }
}

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

  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0 !important;
  }

  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 20px 15px !important;
  }

  .page-fishing-games__main-title {
    font-size: 2rem !important;
  }

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

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

  .page-fishing-games__feature-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__step-list,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-fishing-games__step-item {
    padding-left: 45px !important;
  }

  .page-fishing-games__step-item::before {
    width: 30px !important;
    height: 30px !important;
    font-size: 1rem !important;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-name,
  .page-fishing-games__promo-title,
  .page-fishing-games__step-title {
    font-size: 1.2rem !important;
  }

  .page-fishing-games__cta-button {
    font-size: 1rem !important;
    padding: 12px 25px !important;
  }
  
  .page-fishing-games__cta-button--large {
    padding: 15px 30px !important;
    font-size: 1.1rem !important;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__feature-card,
  .page-fishing-games__game-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .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;
  }
  
  .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 !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  
  .page-fishing-games__cta-button--center {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1rem !important;
    padding: 15px 20px !important;
  }
  .page-fishing-games__faq-answer {
    font-size: 1rem !important;
    padding: 10px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8rem !important;
  }
  .page-fishing-games__section-title {
    font-size: 1.6rem !important;
  }
}