/* style/fishing-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #1a1a2e; /* Body background from shared.css */
  --button-login: #EA7C07;
}

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
  color: var(--text-light); /* Light text for readability on dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on body background */
}

.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, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--secondary-color); /* Light color for titles on dark sections */
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure hero image is not too small */
}

.page-fishing-games__hero-content {
  position: relative; /* Ensure content is above image but in normal flow */
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up slightly, but not overlapping the image */
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.page-fishing-games__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-fishing-games__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.page-fishing-games__btn-tertiary {
  background-color: var(--button-login);
  color: var(--secondary-color);
  border: 2px solid var(--button-login);
  font-size: 16px;
  padding: 10px 20px;
  min-width: 150px;
}

.page-fishing-games__btn-tertiary:hover {
  background-color: darken(var(--button-login), 10%);
  border-color: darken(var(--button-login), 10%);
  transform: translateY(-1px);
}

/* Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.page-fishing-games__highlights-section,
.page-fishing-games__guide-section,
.page-fishing-games__tips-section,
.page-fishing-games__features-section,
.page-fishing-games__cta-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

.page-fishing-games__light-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__light-section .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.7);
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.page-fishing-games__dark-section .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-light);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

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

.page-fishing-games__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__card-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* Guide List */
.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-fishing-games__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

.page-fishing-games__guide-step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__guide-step-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

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

.page-fishing-games__tips-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--text-light);
}

.page-fishing-games__tips-item-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__tips-item-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* Promotions */
.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: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

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

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__promo-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.page-fishing-games__promo-cta {
  margin-top: 50px;
}

/* Features List */
.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-item {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.page-fishing-games__feature-item strong {
  color: var(--secondary-color);
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

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

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

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

.page-fishing-games__faq-answer .page-fishing-games__btn-tertiary {
  margin-top: 15px;
}

/* CTA Section */
.page-fishing-games__cta-section {
  text-align: center;
  padding: 80px 0;
}

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

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

@media (max-width: 768px) {
  .page-fishing-games__container,
  .page-fishing-games__grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__tips-list,
  .page-fishing-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-section {
    min-height: 500px;
    padding: 10px 0 40px 0; /* Adjust padding for mobile */
  }

  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }

  .page-fishing-games__hero-content {
    padding: 30px 15px;
    margin-top: -80px; /* Adjust for smaller screens */
  }

  .page-fishing-games__hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-fishing-games__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    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__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 25px;
  }

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

  .page-fishing-games__card,
  .page-fishing-games__promo-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__tips-item,
  .page-fishing-games__feature-item,
  .page-fishing-games__faq-item,
  .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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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__intro-section,
  .page-fishing-games__highlights-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__features-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 50px 0;
  }

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

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

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(24px, 10vw, 32px);
  }
  .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: clamp(22px, 7vw, 28px);
  }
  .page-fishing-games__card-title {
    font-size: 20px;
  }
  .page-fishing-games__guide-step-title {
    font-size: 18px;
  }
  .page-fishing-games__tips-item-title {
    font-size: 18px;
  }
  .page-fishing-games__promo-title {
    font-size: 20px;
  }
  .page-fishing-games__faq-question {
    font-size: 16px;
  }
  .page-fishing-games__faq-answer {
    font-size: 14px;
  }
}