/* 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 {
  font-family: Arial, sans-serif;
  color: var(--page-fishing-games-text-main); /* Ensure text is visible on dark background */
  background-color: var(--page-fishing-games-bg);
  line-height: 1.6;
}

.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;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  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 minimum size */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* General Section Styling */
.page-fishing-games__section {
  padding: 60px 0;
  background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__section:nth-of-type(even) {
  background-color: var(--page-fishing-games-card-bg);
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--page-fishing-games-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-fishing-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-fishing-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

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

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

.page-fishing-games p {
  margin-bottom: 15px;
  color: var(--page-fishing-games-text-secondary);
}

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

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

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-fishing-games__feature-title {
  font-size: 1.5rem;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 10px;
}

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

/* Games Grid */
.page-fishing-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

/* Tips and Strategies */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-fishing-games__tips-list li {
  background-color: var(--page-fishing-games-card-bg);
  border-left: 4px solid var(--page-fishing-games-glow);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: var(--page-fishing-games-text-secondary);
}

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

/* Promotions Section */
.page-fishing-games__promotions .page-fishing-games__container {
  background-color: var(--page-fishing-games-deep-green);
  border-radius: 10px;
  padding: 50px;
}

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

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  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-border);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--page-fishing-games-border);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  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;
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  line-height: 1.6;
}

/* CTA Buttons */
.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__cta-button--primary {
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-fishing-games__cta-button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-fishing-games__cta-button--secondary:hover {
  background-color: var(--page-fishing-games-glow);
  color: var(--page-fishing-games-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__cta-button--small {
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 30px;
}

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

/* Dark Background Styling */
.page-fishing-games__dark-bg {
  background-color: var(--page-fishing-games-deep-green);
  color: var(--page-fishing-games-text-main);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }

  .page-fishing-games__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-fishing-games__hero-content {
    margin-top: 20px;
  }

  .page-fishing-games__hero-title {
    font-size: 2.8rem;
  }

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

  .page-fishing-games__section-title {
    font-size: 2.2rem;
  }
}

@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-bottom: 40px;
  }

  .page-fishing-games__hero-title {
    font-size: 2.5rem;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: 2rem;
  }

  .page-fishing-games__hero-image,
  .page-fishing-games__image,
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__content-wrapper,
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__game-card,
  .page-fishing-games__faq-item,
  .page-fishing-games__promotions .page-fishing-games__container,
  .page-fishing-games__final-cta .page-fishing-games__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__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: 10px !important;
  }

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

  .page-fishing-games__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 2rem;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
  }

  .page-fishing-games__hero-description {
    font-size: 0.95rem;
  }

  .page-fishing-games__cta-button {
    font-size: 1rem;
    padding: 12px 25px;
  }
}