/* style/fishing-games.css */

/* Base styles for the fishing-games page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color, #333333); /* Ensure good contrast with body background */
  background-color: var(--background-color, #ffffff); /* Inherit from shared.css */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px; /* Adjust padding for content */
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #26A9E0; /* Main brand color for hero background */
  color: #ffffff; /* White text on dark blue background */
  overflow: hidden; /* Prevent image overflow */
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay for text readability */
  display: block;
}

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

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-fishing-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styling */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Color Contrast Specifics */
.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #ffffff; /* Titles in dark sections should be white */
}

/* Buttons */
.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding/border in element's total width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

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

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

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

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

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333; /* Dark text on light card background */
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block; /* Ensure no extra space below image */
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__card-description {
  font-size: 1em;
  line-height: 1.5;
  flex-grow: 1; /* Allow description to take available space */
}

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

.page-fishing-games__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  color: #333333;
}

.page-fishing-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-fishing-games__feature-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

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

.page-fishing-games__guide-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__guide-step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__guide-step-description {
  font-size: 1em;
  line-height: 1.5;
}

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

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

.page-fishing-games__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

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

.page-fishing-games__promotion-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-fishing-games__promotion-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__promotion-description {
  font-size: 1em;
  line-height: 1.5;
}

/* Why Choose Section */
.page-fishing-games__why-choose-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-fishing-games__why-choose-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-fishing-games__why-choose-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__why-choose-description {
  font-size: 1em;
  line-height: 1.5;
}


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

.page-fishing-games__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #ffffff;
  color: #333333;
}