/* style/fishing-games.css */

/* Base Styles & Typography */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background-color: #f5f5f5; /* Inherited from shared, explicitly set for consistency */
}

.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: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__paragraph--centered {
  text-align: center;
}

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

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__card-title {
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

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

.page-fishing-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-fishing-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* 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: 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 for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games__btn-primary--small {
  padding: 10px 20px;
  font-size: 1em;
}

/* Introduction Section */
.page-fishing-games__introduction-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategies-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 60px 0;
}

/* Game Types 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: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

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

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

.page-fishing-games__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.5;
}

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background-color: #f8f8f8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  object-fit: contain;
}

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

.page-fishing-games__feature-description {
  font-size: 0.95em;
  color: #555555;
}

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

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

.page-fishing-games__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #EA7C07;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

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

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

/* Strategies Section */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__strategy-list li {
  background-color: #f8f8f8;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333333;
}

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

.page-fishing-games__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #e0f2f7;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
  font-size: 1em;
  text-align: justify;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }

  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    padding: 60px 15px;
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

  .page-fishing-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__paragraph {
    font-size: 0.95em;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card-image,
  .page-fishing-games__feature-icon,
  .page-fishing-games__strategy-image,
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__game-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__promotion-card,
  .page-fishing-games__faq-item,
  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-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__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

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

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8em;
  }

  .page-fishing-games__hero-description {
    font-size: 0.9em;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}