/* style/fishing-games.css */

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

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

.page-fishing-games a {
  color: var(--page-fishing-games-gold-color);
  text-decoration: none;
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--page-fishing-games-bg-color);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of hero image */
  overflow: hidden;
  margin-bottom: 40px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
  font-size: 1.1rem;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-decoration: none;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: var(--page-fishing-games-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

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

/* Section Titles */
.page-fishing-games__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-fishing-games-gold-color);
}

/* General Content Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-light-bg, #ffffff);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__dark-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  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);
}

/* Features Grid */
.page-fishing-games__features-grid,
.page-fishing-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size */
  min-height: 200px;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-fishing-games__card-text {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  flex-grow: 1;
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: 20px;
}

/* How to Play Section */
.page-fishing-games__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-fishing-games__text-column,
.page-fishing-games__image-column {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__numbered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__numbered-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-fishing-games__numbered-list li strong {
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__guide-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum size */
  min-height: 200px;
}

/* Promotions List */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-fishing-games__promo-list li {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-divider-color);
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--page-fishing-games-text-main);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promo-list li::before {
  content: '★';
  color: var(--page-fishing-games-gold-color);
  font-size: 1.5rem;
  margin-right: 15px;
  line-height: 1;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-divider-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: var(--page-fishing-games-deep-green-color);
  border-bottom: 1px solid var(--page-fishing-games-divider-color);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-fishing-games-glow-color);
}

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
  background-color: var(--page-fishing-games-card-bg);
}

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

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

.page-fishing-games__faq-item summary {
  list-style: none;
}

/* Call to Action Section */
.page-fishing-games__call-to-action {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-fishing-games-deep-green-color);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
  color: var(--page-fishing-games-gold-color);
}

.page-fishing-games__call-to-action .page-fishing-games__description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__text-link-highlight {
  color: var(--page-fishing-games-glow-color);
  font-weight: bold;
}

.page-fishing-games__text-link-highlight:hover {
  text-decoration: underline;
}

/* Color Contrast Fixes (as per instructions) */
.page-fishing-games__dark-bg {
  background-color: var(--page-fishing-games-bg-color);
  color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__text-contrast-fix {
  color: var(--page-fishing-games-gold-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

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

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

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

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-fishing-games__description {
    font-size: 1rem;
  }

  .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: 1rem;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__dark-section,
  .page-fishing-games__call-to-action {
    padding: 60px 0;
  }

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

  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card-image {
    height: auto; /* Allow image to scale */
  }

  .page-fishing-games__text-column,
  .page-fishing-games__image-column {
    min-width: unset;
    width: 100%;
  }

  .page-fishing-games__guide-image {
    width: 100%;
    height: auto;
  }

  .page-fishing-games__promo-list li {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-fishing-games__promo-list li::before {
    font-size: 1.2rem;
    margin-right: 10px;
  }

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

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

  /* Mobile image responsiveness */
  .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__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__safety-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__call-to-action,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-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; /* Ensure no overflow */
  }

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

  /* If multiple buttons horizontally arranged, allow wrapping */
  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}