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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* body handles --header-offset, this is decorative */
  padding-bottom: 60px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, var(--page-bg-color) 100%);
  padding-top: 120px;
  border-radius: 15px;
}

.page-fishing-games__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary-color);
  margin-bottom: 40px;
}

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

/* Section General */
.page-fishing-games__intro-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-support-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-cta-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-fishing-games__subsection-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-main-color);
  margin-top: 60px;
  margin-bottom: 30px;
  text-align: center;
}

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

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

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

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

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

/* Benefit Cards */
.page-fishing-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-fishing-games__benefit-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  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;
}

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

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

.page-fishing-games__card-description {
  font-size: 1rem;
  color: var(--text-secondary-color);
  line-height: 1.6;
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  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;
  min-width: 280px;
}

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

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

.page-fishing-games__game-card .page-fishing-games__card-title {
  margin-bottom: 10px;
}

.page-fishing-games__game-card .page-fishing-games__card-title a {
  color: var(--text-main-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
  color: var(--glow-color);
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How-to-play Steps */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__step-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 70px;
}

.page-fishing-games__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--button-gradient);
  color: var(--text-main-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  border: 3px solid var(--page-bg-color);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-fishing-games__tips-list li {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary-color);
  display: flex;
  align-items: flex-start;
}

.page-fishing-games__tips-list li strong {
  color: var(--text-main-color);
  margin-right: 10px;
  flex-shrink: 0;
}

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

.page-fishing-games__promo-list li {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

.page-fishing-games__promo-list li strong {
  color: var(--text-main-color);
}

/* Security Features */
.page-fishing-games__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__feature-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  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;
}

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

/* FAQ */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 50px auto;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--card-bg-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--glow-color);
  margin-left: 20px;
}

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

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

/* CTA Buttons Group */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding-top: 80px;
    padding: 20px;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-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__hero-cta-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-support-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-cta-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__subsection-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    margin-top: 40px;
    margin-bottom: 20px;
  }

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

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

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

  .page-fishing-games__game-image {
    height: auto; /* Allow auto height for mobile */
  }

  .page-fishing-games__tips-list li,
  .page-fishing-games__promo-list li {
    font-size: 0.9rem;
    padding: 15px;
  }

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

  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9rem;
  }
}

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

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-fishing-games__step-number {
    top: -20px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .page-fishing-games__step-card {
    padding-top: 60px;
  }
}