/* style/fishing-games.css */

/* Base styles for the fishing-games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--accent-color, #FFFFFF); /* Fallback to white if accent-color not defined */
}

/* Dark background sections for contrast */
.page-fishing-games__dark-bg {
  background-color: #26A9E0;
  color: #ffffff; /* White text on dark blue background */
}

.page-fishing-games__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 20px;
}

/* Light background sections */
.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 20px;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
  margin-bottom: 30px;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff; /* Ensure white text on dark hero background */
}

.page-fishing-games__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #ffffff; /* Ensure white text on dark hero background */
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

/* Text blocks */
.page-fishing-games__text-block {
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: justify;
}

/* Container for content */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  background-color: #c76a06;
}

.page-fishing-games__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

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

.page-fishing-games__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: inherit;
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: inherit;
}

/* Game List Section */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-fishing-games__game-trial-frame {
  width: 100%;
  height: 300px;
  border: none;
  background-color: #e0e0e0; /* Placeholder background */
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.3em;
  padding: 15px 20px 5px;
  text-align: left;
  color: #26A9E0;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  padding: 0 20px 20px;
  font-size: 0.9em;
  text-align: left;
}

/* Guide Section */
.page-fishing-games__guide-list {
  max-width: 900px;
  margin: 30px auto;
  list-style: decimal;
  padding-left: 40px;
  color: #ffffff;
}

.page-fishing-games__guide-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-fishing-games__guide-list li strong {
  color: #f9f9f9;
}

/* Promotions Section */
.page-fishing-games__promo-list {
  max-width: 900px;
  margin: 30px auto;
  list-style: disc;
  padding-left: 40px;
  color: #333333;
}

.page-fishing-games__promo-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-fishing-games__promo-list li strong {
  color: #26A9E0;
}

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

/* Final CTA Section */
.page-fishing-games__cta-container {
  padding: 40px 15px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }

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

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

  .page-fishing-games__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-fishing-games__hero-image {
    max-height: 400px;
    margin-bottom: 20px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em) !important; /* Responsive font size for H1 */
  }

  .page-fishing-games__intro-text {
    font-size: 1em;
  }

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

  .page-fishing-games__text-block {
    text-align: left;
  }

  .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: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card {
    padding: 20px;
  }

  .page-fishing-games__feature-image {
    max-height: 200px;
  }

  .page-fishing-games__guide-list,
  .page-fishing-games__promo-list {
    padding-left: 25px;
  }
  
  /* Image responsive adaptations */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure images take full width of container */
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsive adaptations */
  .page-fishing-games iframe {
    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__about-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__games-list-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__cta-section,
  .page-fishing-games__cta-container,
  .page-fishing-games__game-card,
  .page-fishing-games__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 9vw, 2.2em) !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
}