/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #113B7A;
  --page-fishing-games-secondary-color: #1D5FD1;
  --page-fishing-games-text-main: #F3F8FF;
  --page-fishing-games-text-secondary: #AFC4E8;
  --page-fishing-games-card-bg: #10233F;
  --page-fishing-games-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --page-fishing-games-border-color: #244D84;
  --page-fishing-games-glow-color: #4FA8FF;
  --page-fishing-games-gold-color: #F2C14E;
  --page-fishing-games-divider-color: #1B3357;
  --page-fishing-games-deep-navy: #08162B;
}

.page-fishing-games {
  color: var(--page-fishing-games-text-main); /* Default text color for dark body background */
  background-color: var(--page-fishing-games-deep-navy); /* Ensure consistency with shared body background */
}

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

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

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

.page-fishing-games__light-bg {
  background-color: #ffffff; /* Explicit white background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content-area {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 40px; /* Space between image and text */
  padding: 0 20px;
}

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

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

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

.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--page-fishing-games-text-secondary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__about-section {
  background-color: var(--page-fishing-games-deep-navy);
}

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

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

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

.page-fishing-games__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__games-showcase-section {
  background-color: var(--page-fishing-games-deep-navy);
}

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

.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: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-fishing-games__game-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--page-fishing-games-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__guide-section {
  background-color: var(--page-fishing-games-deep-navy);
}

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

.page-fishing-games__guide-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__guide-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__promotions-section {
  background-color: var(--page-fishing-games-deep-navy);
}

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

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

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

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

.page-fishing-games__promo-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 20px;
}

.page-fishing-games__mobile-section {
  background-color: var(--page-fishing-games-deep-navy);
}

.page-fishing-games__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.page-fishing-games__mobile-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__mobile-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-fishing-games__mobile-subtitle {
  font-size: 2rem;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 20px;
}

.page-fishing-games__mobile-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 30px;
}

.page-fishing-games__app-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.page-fishing-games__faq-section {
  background-color: var(--page-fishing-games-deep-navy);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  display: grid;
  gap: 15px;
}

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

.page-fishing-games__faq-item[open] {
  background-color: var(--page-fishing-games-card-bg);
}

.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-card-bg);
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
}

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

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

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

.page-fishing-games__cta-final-section {
  background-color: var(--page-fishing-games-deep-navy);
  text-align: center;
}

.page-fishing-games__cta-final-section .page-fishing-games__container {
  padding: 50px 30px;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: #333333;
}

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
  color: #555555;
}

.page-fishing-games__cta-final-section .page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__cta-final-section .page-fishing-games__btn-secondary {
  background: #ffffff;
  color: var(--page-fishing-games-primary-color);
  border-color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__cta-final-section .page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-primary-color);
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content-area {
    margin-top: 20px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .page-fishing-games__mobile-content {
    flex-direction: column;
  }
  .page-fishing-games__mobile-text {
    text-align: center;
    max-width: 100%;
  }
  .page-fishing-games__app-download-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section-spacing {
    padding: 40px 0;
  }
  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .page-fishing-games__tagline {
    font-size: 1rem;
  }
  .page-fishing-games__text-block {
    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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__hero-image {
    max-height: 400px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__promo-card {
    padding: 20px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* 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__games-showcase-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__mobile-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-fishing-games__hero-section,
  .page-fishing-games__video-section { /* Also applies to video section if present */
    padding-top: 10px !important; /* body already has padding-top */
  }
  .page-fishing-games__app-download-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-fishing-games__app-download-buttons a {
    width: 100% !important;
  }
}