/* style/fishing-games.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --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-main);
  background-color: var(--background-dark);
}

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

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

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

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  margin-top: -200px; /* Pull content up over the image, but not *on* it */
  background-color: rgba(8, 22, 15, 0.8); /* Semi-transparent background for text block */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-50px); /* Adjust to position below image */
}

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

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  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 {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  display: inline-flex; /* Use flex for button content alignment */
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid var(--primary-color);
  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: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold-color);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

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

.page-fishing-games__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__about-section,
.page-fishing-games__games-showcase,
.page-fishing-games__tips-section,
.page-fishing-games__giftcode-section,
.page-fishing-games__why-choose-us,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom {
  padding: 80px 0;
}

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

.page-fishing-games__game-card,
.page-fishing-games__feature-item,
.page-fishing-games__step-card,
.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games__game-card:hover,
.page-fishing-games__feature-item:hover,
.page-fishing-games__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__card-image,
.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  display: block;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  padding: 20px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title,
.page-fishing-games__feature-title,
.page-fishing-games__tip-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-fishing-games__card-text,
.page-fishing-games__feature-text,
.page-fishing-games__tip-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

.page-fishing-games__tip-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--divider-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-fishing-games__tip-item p {
  margin-bottom: 0;
}

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

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

.page-fishing-games__step-list li:last-child,
.page-fishing-games__benefit-list li:last-child {
  margin-bottom: 0;
}

.page-fishing-games__step-list li::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.page-fishing-games__benefit-list li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.page-fishing-games__note-text {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: var(--text-secondary);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-fishing-games__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* For Chrome/Safari */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

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

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

.page-fishing-games__cta-bottom {
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -150px;
    transform: translateY(-30px);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-content {
    margin-top: -100px; /* Adjust for smaller screens */
    transform: translateY(-20px);
    padding: 15px;
  }

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

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

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

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

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

  .page-fishing-games__section-description {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .page-fishing-games__about-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__tips-section,
  .page-fishing-games__giftcode-section,
  .page-fishing-games__why-choose-us,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom {
    padding: 60px 0;
  }

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

  .page-fishing-games img,
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

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

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

/* Ensure no filter properties are used on images */
.page-fishing-games img {
  filter: none; /* Override any potential default filter */
}

/* Content area image CSS size lower bound check */
.page-fishing-games__image-content,
.page-fishing-games__card-image,
.page-fishing-games__feature-icon {
  min-width: 200px;
  min-height: 200px;
}