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

.page-fishing-games {
  color: var(--kabet-text-main); /* Default text color for the page */
  background-color: var(--kabet-bg-dark);
  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__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  /* Maintain aspect ratio for the image wrapper if needed, though img itself will be responsive */
}

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

.page-fishing-games__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 10;
  margin-top: -150px; /* Pull content up over the image, but not *on* it */
  background: rgba(8, 22, 15, 0.7); /* Use a darker background for content on top of image */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--kabet-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  color: var(--kabet-text-secondary);
  margin-bottom: 30px;
}

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

.page-fishing-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow button text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--kabet-btn-gradient);
  color: var(--kabet-text-main);
  border: none;
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--kabet-main-color);
  color: var(--kabet-text-main);
  transform: translateY(-2px);
}

.page-fishing-games__btn-tertiary {
  background: var(--kabet-deep-green);
  color: var(--kabet-text-main);
  border: none;
  padding: 10px 20px;
  font-size: 1em;
}

.page-fishing-games__btn-tertiary:hover {
  background: var(--kabet-main-color);
}

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

.page-fishing-games__text-block {
  font-size: 1.05em;
  color: var(--kabet-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__text-block strong {
  color: var(--kabet-gold-color);
}

.page-fishing-games__dark-section {
  background-color: var(--kabet-bg-dark);
  padding: 60px 0;
}

.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__types-section,
.page-fishing-games__guide-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
  padding: 60px 0;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-fishing-games__feature-icon,
.page-fishing-games__promo-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__promo-image {
  max-width: 100%;
  height: 200px; /* Fixed height for promo images */
}

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

.page-fishing-games__card p {
  color: var(--kabet-text-secondary);
  font-size: 1em;
  line-height: 1.5;
}

.page-fishing-games__list,
.page-fishing-games__steps-list,
.page-fishing-games__security-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-fishing-games__list li,
.page-fishing-games__security-list li {
  background-color: var(--kabet-card-bg);
  border: 1px solid var(--kabet-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: var(--kabet-text-main);
  font-size: 1.05em;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-fishing-games__list li::before,
.page-fishing-games__security-list li::before {
  content: '✓';
  color: var(--kabet-main-color);
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
}

.page-fishing-games__steps-list li {
  margin-bottom: 30px;
}

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

.page-fishing-games__step-title + p {
  color: var(--kabet-text-secondary);
}

.page-fishing-games__link {
  color: var(--kabet-accent-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-fishing-games__link:hover {
  color: var(--kabet-gold-color);
}

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

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

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--kabet-text-main);
  font-weight: bold;
  font-size: 1.1em;
  outline: none;
  user-select: none; /* Prevent text selection on click */
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: var(--kabet-gold-color);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--kabet-accent-color);
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Change '+' to 'X' or similar for open state */
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--kabet-text-secondary);
  font-size: 1em;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -100px;
    padding: 30px 20px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__tips-grid,
  .page-fishing-games__promo-grid {
    gap: 20px;
  }

  .page-fishing-games__card {
    padding: 25px;
  }

  .page-fishing-games__promo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
    border-radius: 8px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-fishing-games__btn {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 0.95em;
  }

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__card-title {
    font-size: 1.2em;
  }

  .page-fishing-games__promo-image {
    height: 150px;
  }

  .page-fishing-games__list li,
  .page-fishing-games__security-list li {
    padding: 15px;
    font-size: 1em;
  }

  .page-fishing-games__step-title {
    font-size: 1.3em;
  }

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

  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers for mobile */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section,
  .page-fishing-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Ensure padding for content sections on mobile */
  .page-fishing-games__intro-section > .page-fishing-games__container,
  .page-fishing-games__features-section > .page-fishing-games__container,
  .page-fishing-games__types-section > .page-fishing-games__container,
  .page-fishing-games__guide-section > .page-fishing-games__container,
  .page-fishing-games__tips-section > .page-fishing-games__container,
  .page-fishing-games__promotions-section > .page-fishing-games__container,
  .page-fishing-games__security-section > .page-fishing-games__container,
  .page-fishing-games__faq-section > .page-fishing-games__container,
  .page-fishing-games__cta-bottom-section > .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 20px 10px;
  }

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

  .page-fishing-games__btn {
    font-size: 0.95em;
  }

  .page-fishing-games__card {
    padding: 15px;
  }

  .page-fishing-games__promo-image {
    height: 120px;
  }
}