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

/* Base styles for the page content */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--bg-body-custom); /* Page specific background */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-fishing-games__light-bg {
  background-color: #11271B; /* Using card background for light sections for contrast */
  color: var(--text-main);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--color-gold);
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text contrast */
}

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

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--color-gold);
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
}

.page-fishing-games__description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--gradient-button);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--bg-body-custom);
  transform: translateY(-3px);
}

/* Feature Grid */
.page-fishing-games__feature-grid,
.page-fishing-games__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.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(--text-secondary);
  flex-grow: 1;
}

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

.page-fishing-games__step-item {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

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

.page-fishing-games__step-text {
  color: var(--text-secondary);
}

.page-fishing-games__step-text a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.page-fishing-games__step-text a:hover {
  color: var(--color-glow);
}

/* Promotions */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-fishing-games__promo-item {
  background-color: var(--bg-card);
  padding: 15px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: var(--text-main);
  font-size: 1.1em;
  border-left: 5px solid var(--color-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Download App */
.page-fishing-games__download-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-fishing-games__download-text {
  flex: 1;
}

.page-fishing-games__download-image-wrapper {
  flex-shrink: 0;
  width: 400px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__faq-item {
  background-color: var(--bg-card);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--color-gold);
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--color-primary);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: var(--text-secondary);
}

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

/* Floating Buttons */
.page-fishing-games__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-fishing-games__floating-btn {
  display: block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  color: var(--text-main);
  background: var(--gradient-button);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    max-width: 700px;
  }
  .page-fishing-games__download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__download-image-wrapper {
    width: 80%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: 2.2em;
  }
  .page-fishing-games__description {
    font-size: 1.1em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__text-block {
    font-size: 1em;
  }
  .page-fishing-games__feature-grid, .page-fishing-games__strategy-grid, .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__card {
    padding: 20px;
  }
  .page-fishing-games__card-image {
    height: 200px;
  }
  .page-fishing-games__download-image-wrapper {
    width: 100%;
  }

  /* Mobile responsive for images (mandatory) */
  .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-image-wrapper,
  .page-fishing-games__download-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Mobile responsive for buttons (mandatory) */
  .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"],
  .page-fishing-games__floating-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-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }
  .page-fishing-games__floating-buttons {
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__floating-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}