/* 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-button-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;
}

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

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

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

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--page-fishing-games-text-main);
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-fishing-games__subtitle {
  font-size: clamp(22px, 3vw, 36px);
  color: var(--page-fishing-games-text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-fishing-games__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__text-block strong {
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin: 20px auto 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-fishing-games__list li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__list li::before {
  content: '✔';
  color: var(--page-fishing-games-glow);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-fishing-games__list--two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height on desktop */
  margin-bottom: 30px;
}

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

.page-fishing-games__main-title {
  font-size: clamp(36px, 5vw, 60px); /* Use clamp for H1 */
  font-weight: 800;
  color: var(--page-fishing-games-gold);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
  font-size: 20px;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  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;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--page-fishing-games-glow-rgb), 0.4);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  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);
  transform: translateY(-3px);
}

/* Features Section */
.page-fishing-games__features .page-fishing-games__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-fishing-games__feature-item {
  background-color: var(--page-fishing-games-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

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

.page-fishing-games__feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
}

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

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

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-fishing-games-text-main);
  background-color: var(--page-fishing-games-deep-green);
  border-bottom: 1px solid var(--page-fishing-games-divider);
  list-style: none;
}

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

.page-fishing-games__faq-question:hover {
  background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--page-fishing-games-glow);
  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;
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
  text-align: left;
}

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

/* Call to Action Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
  color: var(--page-fishing-games-gold);
}

.page-fishing-games__cta-section .page-fishing-games__description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
  }
  
  .page-fishing-games__hero-image {
    max-height: 350px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__main-title {
    font-size: clamp(30px, 8vw, 48px);
  }

  .page-fishing-games__description {
    font-size: 16px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-fishing-games__subtitle {
    font-size: clamp(20px, 5vw, 30px);
  }

  .page-fishing-games__text-block,
  .page-fishing-games__list li,
  .page-fishing-games__feature-description,
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    font-size: 16px;
  }

  .page-fishing-games__grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__list--two-columns {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__feature-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games img {
    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__feature-item,
  .page-fishing-games__faq-item,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }

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