/* style/fishing-games.css */

/* Custom Colors */
:root {
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-background: #08160F;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content */
.page-fishing-games {
  color: var(--page-fishing-games-text-main); /* Default text color for dark background */
  background-color: var(--page-fishing-games-background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--page-fishing-games-text-main);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-fishing-games-text-main);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px auto; /* Centered, with space below */
}

.page-fishing-games__description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__text-block {
  font-size: 1em;
  margin-bottom: 15px;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__text-center {
  text-align: center;
}

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

.page-fishing-games__text-link {
  color: var(--page-fishing-games-glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
  color: var(--page-fishing-games-gold);
  text-decoration: underline;
}

/* Section backgrounds based on brightness */
.page-fishing-games__dark-bg {
  background-color: var(--page-fishing-games-background);
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__light-bg {
  background-color: #f2fff6; /* A very light green, close to white */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__main-title {
  color: #0A4B2C; /* Deep green for titles on light background */
}

.page-fishing-games__light-bg .page-fishing-games__description,
.page-fishing-games__light-bg .page-fishing-games__text-block {
  color: #333333;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: #ffffff;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--page-fishing-games-glow);
  color: var(--page-fishing-games-background);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-fishing-games__btn-center {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 250px;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small decorative top padding */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

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

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

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

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__image-content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__content-image {
  width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__image-content-block .page-fishing-games__text-block {
  width: 50%;
}

/* Games List Section */
.page-fishing-games__games-list-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--page-fishing-games-divider);
}

.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 {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-fishing-games-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.3);
}

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

.page-fishing-games__card-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-glow);
  margin-bottom: 10px;
}

.page-fishing-games__card-text {
  color: var(--page-fishing-games-text-secondary);
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  width: 100%;
  margin-top: auto;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

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

.page-fishing-games__guide-step-title {
  font-size: 1.5em;
  color: var(--page-fishing-games-glow);
  margin-bottom: 15px;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--page-fishing-games-divider);
}

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

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

.page-fishing-games__tip-card .page-fishing-games__card-title {
  color: var(--page-fishing-games-glow);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-fishing-games__tip-card .page-fishing-games__card-text {
  color: var(--page-fishing-games-text-secondary);
  font-size: 0.95em;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--page-fishing-games-divider);
}

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

.page-fishing-games__promotion-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 10px;
  padding: 25px;
  border: 1px solid var(--page-fishing-games-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promotion-title {
  font-size: 1.4em;
  color: var(--page-fishing-games-glow);
  margin-bottom: 10px;
}

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--page-fishing-games-divider);
}

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

.page-fishing-games__feature-item {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid var(--page-fishing-games-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  min-width: 60px;
  min-height: 60px;
}

.page-fishing-games__feature-title {
  font-size: 1.3em;
  color: var(--page-fishing-games-glow);
  margin-bottom: 10px;
}

/* Mobile Section */
.page-fishing-games__mobile-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--page-fishing-games-divider);
}

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

.page-fishing-games__mobile-image {
  width: 45%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__mobile-text {
  width: 55%;
}

.page-fishing-games__mobile-subtitle {
  font-size: 1.8em;
  color: #0A4B2C; /* Deep green for titles on light background */
  margin-bottom: 15px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

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

.page-fishing-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-fishing-games-glow);
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 80px 0;
}

/* General card styling for consistency */
.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  color: var(--page-fishing-games-text-main);
  border-radius: 10px;
  border: 1px solid var(--page-fishing-games-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Adjusted H1 for better responsiveness */
  }
  .page-fishing-games__description {
    font-size: 1em;
  }
  .page-fishing-games__image-content-block,
  .page-fishing-games__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__content-image,
  .page-fishing-games__image-content-block .page-fishing-games__text-block,
  .page-fishing-games__mobile-image,
  .page-fishing-games__mobile-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container {
    padding: 0 15px; /* Add padding to container on mobile */
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em); /* Further adjust H1 for mobile */
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__about-section,
  .page-fishing-games__games-list-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__mobile-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 40px 0; /* Adjust section padding */
  }

  /* Images responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Videos responsive */
  .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,
  .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__video-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

  /* Buttons responsive */
  .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: 15px; /* Space between stacked buttons */
  }

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__game-card .page-fishing-games__btn-primary {
    width: auto; /* Let content define width, max-width 100% handles overflow */
    max-width: 100% !important;
  }

  .page-fishing-games__security-features,
  .page-fishing-games__tips-grid,
  .page-fishing-games__promotions-list {
    grid-template-columns: 1fr;
  }
}