/* style/fishing-games.css */

/* Custom Colors */
: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-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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page */
.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__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-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games a[class*="button"],
.page-fishing-games a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: #ffffff;
  border: none;
}

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

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

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

.page-fishing-games__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-fishing-games__btn-large {
  padding: 15px 35px;
  font-size: 1.1em;
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--page-fishing-games-gold);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 30px;
}

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

/* Video Section */
.page-fishing-games__video-section {
  background-color: var(--page-fishing-games-deep-green);
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  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: #000;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__feature-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

/* Games Section */
.page-fishing-games__games-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-deep-green);
}

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

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

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-fishing-games__game-description {
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-fishing-games__guide-list li {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 70px;
}

.page-fishing-games__guide-list li::before {
  counter-increment: guide-step;
  content: "0" counter(guide-step);
  position: absolute;
  left: 20px;
  top: 25px;
  font-size: 2em;
  font-weight: bold;
  color: var(--page-fishing-games-glow);
  line-height: 1;
}

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

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

.page-fishing-games__guide-step-text a {
  color: var(--page-fishing-games-glow);
  text-decoration: underline;
}

.page-fishing-games__guide-step-text a:hover {
  color: var(--page-fishing-games-gold);
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-deep-green);
}

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

.page-fishing-games__tips-list li {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  padding: 25px;
}

.page-fishing-games__tip-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-gold);
  margin-bottom: 10px;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 20px;
  background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  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-gold);
  cursor: pointer;
  background-color: var(--page-fishing-games-deep-green);
  border-bottom: 1px solid var(--page-fishing-games-border);
  list-style: none;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

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

/* Call to Action Bottom */
.page-fishing-games__cta-bottom {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--page-fishing-games-deep-green);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section,
  .page-fishing-games__video-section,
  .page-fishing-games__features-section,
  .page-fishing-games__games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom {
    padding: 40px 15px;
  }

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

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

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__feature-card .page-fishing-games__feature-icon,
  .page-fishing-games__game-card .page-fishing-games__game-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Video responsiveness */
  .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__video-section {
    padding-top: 10px !important;
  }

  /* Button responsiveness */
  .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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }
  
  .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: 10px;
  }

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

  .page-fishing-games__guide-list li {
    padding-left: 50px;
  }

  .page-fishing-games__guide-list li::before {
    font-size: 1.5em;
    left: 15px;
    top: 20px;
  }

  .page-fishing-games__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
  
  /* Content area images */
  .page-fishing-games__content-area img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__section-description {
    font-size: 1em;
  }
}