/* style/fishing-games.css */

:root {
  --page-fishing-games-primary-color: #11A84E;
  --page-fishing-games-secondary-color: #22C768;
  --page-fishing-games-background-color: #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-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: #0A4B2C;
}

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

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

.page-fishing-games__hero-section {
  position: relative;
  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;
  color: var(--page-fishing-games-text-main);
}

.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;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
  border-radius: 15px;
  margin-top: -80px; /* Overlap with image slightly for visual effect */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--page-fishing-games-gold-color);
  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;
}

.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,
.page-fishing-games__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

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

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

.page-fishing-games__btn-tertiary {
  background: var(--page-fishing-games-deep-green);
  color: var(--page-fishing-games-text-main);
  border: 1px solid var(--page-fishing-games-border-color);
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-fishing-games__btn-tertiary:hover {
  background: var(--page-fishing-games-primary-color);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--page-fishing-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: 700;
}

.page-fishing-games__text-block {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__highlight {
  color: var(--page-fishing-games-primary-color);
  font-weight: 700;
}

.page-fishing-games__introduction-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__app-download-section,
.page-fishing-games__faq-section,
.page-fishing-games__final-cta-section {
  padding: 60px 0;
  background-color: var(--page-fishing-games-background-color);
}

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

.page-fishing-games__feature-item,
.page-fishing-games__step-item,
.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: var(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-fishing-games-border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__feature-icon,
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-title,
.page-fishing-games__step-title,
.page-fishing-games__game-title,
.page-fishing-games__promo-title {
  font-size: 1.4rem;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-fishing-games__video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-fishing-games__video-overlay-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
  white-space: nowrap;
}

.page-fishing-games__video-overlay-button:hover {
  filter: brightness(1.1);
  transform: translate(-50%, -50%) translateY(-2px);
}

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

.page-fishing-games__app-text {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__app-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__app-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-fishing-games__list-icon {
  color: var(--page-fishing-games-primary-color);
  font-size: 1.2rem;
  margin-right: 10px;
  font-weight: bold;
}

.page-fishing-games__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-fishing-games-border-color);
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__btn-download {
  margin-top: 20px;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--page-fishing-games-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95rem;
  color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__final-cta-section .page-fishing-games__cta-buttons {
  margin-top: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 30px;
  }
}

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

  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 20px;
    border-radius: 10px;
  }

  .page-fishing-games__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary,
  .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-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__app-download-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    padding: 20px;
    border-radius: 10px;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    margin-bottom: 15px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__step-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .page-fishing-games__video-container {
    padding-bottom: 56.25%; /* Maintain aspect ratio */
    margin-bottom: 30px;
  }

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

  .page-fishing-games__app-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__app-image-wrapper {
    order: -1; /* Image first on mobile */
  }

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

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

  /* Mobile image response */
  .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__how-to-play-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__app-download-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section,
  .page-fishing-games__hero-image-wrapper,
  .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__hero-section {
    padding-top: 10px !important;
  }

  /* Mobile video response */
  .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 {
    padding-top: 10px !important; /* body handles --header-offset */
  }
}