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

.page-fishing-games {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-fishing-games__light-bg {
  background-color: #ffffff; /* Default white background for contrast */
  color: #333333;
}

.page-fishing-games__text-contrast-fix {
  color: #333333 !important; /* Ensure dark text on light backgrounds */
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--color-text-main);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: #333333;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--color-text-secondary);
  text-align: center;
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
  color: #555555;
}

.page-fishing-games__center-cta {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

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

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

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--color-glow);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--color-glow);
  color: var(--color-background);
  box-shadow: 0 0 10px var(--color-glow);
}

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

/* Cards */
.page-fishing-games__card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-fishing-games__card-text {
  font-size: 1em;
  color: var(--color-text-secondary);
  flex-grow: 1;
}

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

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: var(--color-deep-green);
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
  display: block;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  color: var(--color-text-main);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--color-text-main);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Overview Section */
.page-fishing-games__overview-section {
  padding: 60px 0;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 60px 0;
}

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

.page-fishing-games__game-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--color-gold);
  margin-bottom: 15px;
}

/* Tips and Strategies Section */
.page-fishing-games__tips-strategies-section {
  padding: 60px 0;
}

.page-fishing-games__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-fishing-games__strategy-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__strategy-text {
  font-size: 0.95em;
  color: var(--color-text-secondary);
}

.page-fishing-games__strategy-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* How to Start Section */
.page-fishing-games__how-to-start-section {
  padding: 60px 0;
}

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

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

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 0;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  width: 100%; /* Desktop width */
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

/* Responsible Gambling Section */
.page-fishing-games__responsible-gambling-section {
  padding: 60px 0;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--color-text-main);
  cursor: pointer;
  background-color: var(--color-deep-green);
  border-bottom: 1px solid var(--color-border);
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-question:hover {
  background-color: var(--color-border);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  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: 15px 25px;
  font-size: 1em;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2em, 4.5vw, 3.2em);
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-fishing-games__hero-section {
    min-height: 450px;
    padding: 20px 0;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-fishing-games__intro-text {
    font-size: 1em;
  }

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

  .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;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
    padding: 12px 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card {
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }

  /* Image responsive */
  .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__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Video responsive */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 10px 20px;
  }
}