/* style/fishing-games.css */

/* Body background is handled by shared.css var(--background-color) which is dark (#08160F) */
.page-fishing-games {
  background-color: var(--background-color, #08160F); /* Fallback to custom palette background */
  color: #F2FFF6; /* Text Main */
  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;
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Flexible font size */
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin: 0 auto 20px auto;
}

.page-fishing-games__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

.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: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Deep Green with transparency */
  transform: translateY(-2px);
}

/* Sections */
.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
}

.page-fishing-games__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-fishing-games__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-fishing-games__list-item {
  margin-bottom: 10px;
  list-style-type: disc;
  margin-left: 20px;
}

/* Light Background Sections */
.page-fishing-games__light-bg {
  background-color: #F2FFF6; /* Text Main as background */
  color: #08160F; /* Background color as text */
  padding: 60px 0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__text-block,
.page-fishing-games__light-bg .page-fishing-games__sub-title,
.page-fishing-games__light-bg .page-fishing-games__list-item,
.page-fishing-games__light-bg .page-fishing-games__faq-qtext,
.page-fishing-games__light-bg .page-fishing-games__faq-toggle {
  color: #08160F; /* Background color as text */
}

.page-fishing-games__light-bg .page-fishing-games__btn-secondary {
  background: transparent;
  color: #0A4B2C; /* Deep Green */
  border: 2px solid #0A4B2C; /* Deep Green */
}

.page-fishing-games__light-bg .page-fishing-games__btn-secondary:hover {
  background: rgba(10, 75, 44, 0.1); /* Deep Green with transparency */
}

/* Dark Background Sections */
.page-fishing-games__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  padding: 60px 0;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__text-main,
.page-fishing-games__dark-bg .page-fishing-games__sub-title,
.page-fishing-games__dark-bg .page-fishing-games__list-item {
  color: #F2FFF6; /* Text Main */
}

.page-fishing-games__dark-bg .page-fishing-games__text-secondary {
  color: #A7D9B8; /* Text Secondary */
}

/* Introduction Section */
.page-fishing-games__introduction-section .page-fishing-games__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__image-content-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-fishing-games__content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-fishing-games__feature-list {
  list-style-type: none;
  padding: 0;
}

.page-fishing-games__feature-list .page-fishing-games__list-item {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.page-fishing-games__feature-list .page-fishing-games__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2AD16F; /* Button top color */
  font-weight: bold;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card,
.page-fishing-games__benefit-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 25px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-fishing-games__card-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__card-button {
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
}

/* Guide Section */
.page-fishing-games__guide-list {
  list-style-type: none;
  padding: 0;
  counter-reset: guide-counter;
  margin-top: 30px;
}

.page-fishing-games__guide-list .page-fishing-games__list-item {
  margin-bottom: 25px;
  padding-left: 40px;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #08160F; /* Background color for text */
}

.page-fishing-games__guide-list .page-fishing-games__list-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #13994A; /* Button bottom color */
  color: #F2FFF6; /* Text Main */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1rem;
}

.page-fishing-games__guide-list .page-fishing-games__list-item p {
  color: #08160F;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-fishing-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6;
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6; /* Text Main */
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Button top color */
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
}

/* Call to Action Section */
.page-fishing-games__call-to-action-section {
  text-align: center;
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__image-content-block {
    flex-direction: column;
    align-items: center;
  }
  .page-fishing-games__content-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__gameplay-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__call-to-action-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

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

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

  .page-fishing-games__sub-title {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .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;
    font-size: 1.1rem;
    padding: 12px 20px;
  }

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

  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__benefit-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__container,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__image-content-block,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__benefits-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__benefits-grid {
    grid-template-columns: 1fr;
  }

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

  .page-fishing-games__faq-item summary {
    font-size: 1rem;
  }

  .page-fishing-games__faq-answer {
    font-size: 0.9rem;
  }
}