/* style/fishing-games.css */
.page-fishing-games {
  background-color: var(--background-color, #08160F); /* Fallback to custom color if shared not defined */
  color: var(--text-main, #F2FFF6); /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
}

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--gold, #F2C14E);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-fishing-games__section-description {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--deep-green, #0A4B2C);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--gold, #F2C14E);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-fishing-games__hero-description {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-main, #F2FFF6);
  margin-bottom: 40px;
  line-height: 1.6;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-fishing-games__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Slightly darker border color with transparency */
  border-color: var(--glow, #57E38D);
  color: var(--glow, #57E38D);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Introduction Section */
.page-fishing-games__introduction-section,
.page-fishing-games__dark-section {
  background-color: var(--card-bg, #11271B);
  padding: 80px 0;
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-fishing-games__text-block {
  font-size: 18px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

/* Featured Games Section */
.page-fishing-games__featured-games-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-fishing-games__game-description {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  padding: 0 20px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
}

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

.page-fishing-games__step-item {
  background-color: var(--deep-green, #0A4B2C);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-icon-wrapper {
  background-color: var(--main-color, #11A84E);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 15px var(--glow, #57E38D);
}

.page-fishing-games__step-icon {
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-fishing-games__strategy-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__strategy-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-fishing-games__strategy-text {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

.page-fishing-games__promo-card {
  background-color: var(--deep-green, #0A4B2C);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-fishing-games__promo-text {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  padding: 0 20px;
}

/* Safety Section */
.page-fishing-games__safety-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-fishing-games__safety-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__safety-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
}

.page-fishing-games__safety-text {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

.page-fishing-games__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: var(--deep-green, #0A4B2C);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--main-color, #11A84E);
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: var(--aux-color, #22C768);
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  width: 25px;
  text-align: center;
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
  background-color: var(--card-bg, #11271B);
  border-top: 1px solid var(--divider, #1E3A2A);
}

/* Hide default details arrow */
.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-fishing-games__faq-item summary {
  list-style: none;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  background-color: var(--main-color, #11A84E);
  text-align: center;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: #ffffff; /* White text for main color background */
}

.page-fishing-games__cta-final-section .page-fishing-games__section-description {
  color: #f0f0f0; /* Slightly off-white for contrast */
}

.page-fishing-games__cta-final-section .page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #57E38D 0%, #2AD16F 100%);
  border-color: #57E38D;
  color: #0A4B2C;
}

.page-fishing-games__cta-final-section .page-fishing-games__btn-secondary {
  background: #0A4B2C;
  color: #ffffff;
  border-color: #57E38D;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-fishing-games__hero-image {
    border-radius: 10px;
  }

  .page-fishing-games__hero-title {
    font-size: 32px;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__featured-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__safety-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 50px 0;
  }

  .page-fishing-games__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-fishing-games__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-fishing-games__game-list,
  .page-fishing-games__steps-list,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__safety-points {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 200px;
  }

  .page-fishing-games__game-title,
  .page-fishing-games__promo-title {
    font-size: 20px;
  }

  .page-fishing-games__step-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__safety-title {
    font-size: 18px;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__game-description,
  .page-fishing-games__step-description,
  .page-fishing-games__strategy-text,
  .page-fishing-games__promo-text,
  .page-fishing-games__safety-text,
  .page-fishing-games__faq-answer {
    font-size: 15px;
  }

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

  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__safety-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .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;
  }

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

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 28px;
  }

  .page-fishing-games__hero-description {
    font-size: 14px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }

  .page-fishing-games__section-title {
    font-size: 22px;
  }
}