/* style/fishing-games.css */

/* Custom Colors */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --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;
  /* RGB values for box-shadows */
  --color-glow-rgb: 87, 227, 141;
  --color-gold-rgb: 242, 193, 78;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--color-text-main); /* Light text for dark background */
  background-color: var(--color-background); /* Dark background */
  line-height: 1.6;
}

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

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for readability */
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(var(--color-gold-rgb), 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  color: var(--color-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For button responsive */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: #ffffff; /* White text for contrast */
  border: 2px solid var(--color-button-gradient-start);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--color-glow-rgb), 0.5);
}

.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(--color-background);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--color-gold-rgb), 0.5);
}

.page-fishing-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-fishing-games__section-title {
  font-size: 2.5rem;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(var(--color-gold-rgb), 0.4);
}

.page-fishing-games__intro-section p,
.page-fishing-games__guide-section p,
.page-fishing-games__strategy-section p,
.page-fishing-games__promo-section p,
.page-fishing-games__security-section p,
.page-fishing-games__conclusion-section p {
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 15px;
}

.page-fishing-games__highlight {
  color: var(--color-gold);
  font-weight: bold;
}

.page-fishing-games__inline-link {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__inline-link:hover {
  text-decoration: underline;
}

.page-fishing-games__feature-list,
.page-fishing-games__guide-list,
.page-fishing-games__strategy-list,
.page-fishing-games__security-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-fishing-games__feature-list li,
.page-fishing-games__guide-list li,
.page-fishing-games__strategy-list li,
.page-fishing-games__security-list li {
  background-color: var(--color-card-bg);
  border-left: 5px solid var(--color-primary);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: var(--color-text-main);
  position: relative;
  padding-left: 40px; /* For custom bullet point */
}

.page-fishing-games__feature-list li::before,
.page-fishing-games__security-list li::before {
  content: '✔';
  color: var(--color-gold);
  position: absolute;
  left: 15px;
  font-weight: bold;
}

.page-fishing-games__guide-list li::before,
.page-fishing-games__strategy-list li::before {
  content: counter(list-item) '. ';
  counter-increment: list-item;
  color: var(--color-gold);
  position: absolute;
  left: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-item-title,
.page-fishing-games__guide-step-title,
.page-fishing-games__strategy-item-title,
.page-fishing-games__security-item-title {
  color: var(--color-gold);
  font-size: 1.15rem;
  margin-bottom: 5px;
  display: block;
}

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

.page-fishing-games__card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: var(--color-text-main);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  color: var(--color-gold);
  padding: 15px 20px 10px;
  margin: 0;
}

.page-fishing-games__card-description {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-fishing-games__card-btn {
  margin: 0 20px 20px;
  text-align: center;
}

.page-fishing-games__security-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto 0;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

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

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

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

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

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

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

.page-fishing-games__cta-buttons--bottom {
  margin-top: 50px;
}

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

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

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

  .page-fishing-games__hero-content {
    padding: 15px;
  }

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

  .page-fishing-games__hero-description {
    font-size: 0.95rem;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .page-fishing-games__content-area {
    padding: 20px 15px;
  }

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

  .page-fishing-games__game-cards,
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card-image {
    height: 200px;
  }

  .page-fishing-games__card-title {
    font-size: 1.3rem;
  }

  .page-fishing-games__card-description {
    font-size: 0.9rem;
  }

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

  .page-fishing-games__faq-answer {
    font-size: 0.95rem;
    padding: 10px 15px;
  }

  /* Image responsive rules */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important; /* Ensure no filter is applied */
  }
  
  .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__games-showcase,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promo-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Video responsive rules - not used on this page, but included for completeness if video were present */
  .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,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Color contrast safety */
/* Assuming body is dark, text is light by default */
/* Card and other elements will have specific backgrounds */
.page-fishing-games__card,
.page-fishing-games__feature-list li,
.page-fishing-games__faq-item {
  background-color: var(--color-card-bg); /* Dark background */
  color: var(--color-text-main); /* Light text */
}

.page-fishing-games__faq-question {
  background-color: var(--color-deep-green);
  color: var(--color-gold);
}

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

.page-fishing-games__btn-primary {
  color: #ffffff; /* Ensure white text on green gradient */
}

.page-fishing-games__btn-secondary {
  color: var(--color-gold); /* Ensure gold text on transparent/gold background */
}

/* Ensure images don't use filter */
.page-fishing-games img {
  filter: none !important;
}