/* style/fishing-games.css */

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

.page-fishing-games {
  background-color: var(--page-fishing-games-bg);
  color: var(--page-fishing-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--page-fishing-games-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__text-secondary {
  color: var(--page-fishing-games-text-secondary);
}

/* Cards */
.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.2);
}

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

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  opacity: 0.9;
}

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

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

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 80px;
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Using clamp for responsive H1 */
  color: var(--page-fishing-games-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__description {
  font-size: 1.2em;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 30px;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 60px 0;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
}

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

.page-fishing-games__feature-card {
  text-align: center;
}

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

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: var(--page-fishing-games-card-bg);
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video-wrapper .page-fishing-games__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 60px 0;
}

.page-fishing-games__game-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-fishing-games__game-item {
  text-align: center;
}

.page-fishing-games__game-name {
  font-size: 1.4em;
  color: var(--page-fishing-games-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 0;
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-fishing-games__guide-item {
  text-align: center;
}

.page-fishing-games__guide-step-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 60px 0;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-fishing-games__strategy-item {
  text-align: center;
}

.page-fishing-games__strategy-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-fishing-games__promotion-card {
  text-align: center;
}

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

.page-fishing-games__promotion-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 60px 0;
}

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

.page-fishing-games__reason-card {
  text-align: center;
}

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

.page-fishing-games__reason-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-fishing-games__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-fishing-games__faq-item {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-fishing-games-text-main);
  background-color: var(--page-fishing-games-deep-green); /* Slightly different bg for summary */
  border-bottom: 1px solid var(--page-fishing-games-border);
  cursor: pointer;
  list-style: none;
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-glow);
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  background-color: var(--page-fishing-games-card-bg);
  border-top: 1px solid var(--page-fishing-games-divider);
  color: var(--page-fishing-games-text-secondary);
  font-size: 1.1em;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    max-height: 500px;
  }
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__popular-games-section .page-fishing-games__game-list,
  .page-fishing-games__guide-list,
  .page-fishing-games__strategy-list,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__why-choose-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is small decoration */
    padding-bottom: 60px;
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }
  .page-fishing-games__description {
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 1em;
  }

  /* Image and Video Responsive */
  .page-fishing-games img,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .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__video-section {
    padding-top: 10px !important;
  }
  .page-fishing-games__video-wrapper {
    padding-bottom: 75% !important; /* Adjust aspect ratio for mobile if needed, or keep 56.25% */
  }

  /* Buttons Responsive */
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .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__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__popular-games-section .page-fishing-games__game-list,
  .page-fishing-games__guide-list,
  .page-fishing-games__strategy-list,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__why-choose-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__feature-image,
  .page-fishing-games__promotion-image,
  .page-fishing-games__reason-image {
    height: 180px;
  }
  .page-fishing-games__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-image-wrapper {
    max-height: 300px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 10vw, 2.2em);
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 10px 20px;
  }
}