/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

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

/* Section styles */
.page-fishing-games__hero-section,
.page-fishing-games__intro-section,
.page-fishing-games__game-types,
.page-fishing-games__guide-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Color Contrast */
.page-fishing-games__dark-bg {
  background-color: #000000; /* Assuming body is dark, this section is also dark */
  color: #ffffff;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  min-height: 70vh;
  position: relative;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 675px; /* Limit height to maintain aspect ratio */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  order: 1; /* Image first */
}

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

.page-fishing-games__hero-content {
  order: 2; /* Content after image */
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure text is not absolutely positioned over image */
  z-index: 2;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to mobile */
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-fishing-games__btn-center {
  margin: 30px auto 0 auto;
  display: table;
}

/* General Content */
.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

.page-fishing-games__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__sub-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-fishing-games__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 12px;
  object-fit: cover;
}

.page-fishing-games__list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05rem;
}

.page-fishing-games__list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-fishing-games__game-card,
.page-fishing-games__promo-card,
.page-fishing-games__strategy-card {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background for dark section */
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

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

.page-fishing-games__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-fishing-games__step-card {
  background-color: #f0f0f0;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-fishing-games__step-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  color: #ffffff;
}

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

.page-fishing-games__feature-description {
  font-size: 1rem;
  line-height: 1.6;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #e8e8e8;
  border-bottom: 1px solid #dcdcdc;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #e0e0e0;
  border-bottom: 1px solid #ccc;
}

/* Final CTA */
.page-fishing-games__cta-final {
  padding: 80px 0;
  background-color: #26A9E0;
}

.page-fishing-games__cta-content .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__cta-content .page-fishing-games__text-block {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-fishing-games__image-content-row {
    flex-direction: row;
    text-align: left;
  }

  .page-fishing-games__image-content-row .page-fishing-games__text-block {
    text-align: left;
    margin: 0;
  }

  .page-fishing-games__image-content-row:nth-child(even) {
    flex-direction: row-reverse;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 20px;
    padding-top: 10px !important;
  }

  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }

  .page-fishing-games__description {
    font-size: 1rem;
  }

  .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;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__step-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-image,
  .page-fishing-games__content-image,
  .page-fishing-games__card-image {
    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__section-title {
    font-size: 1.8rem;
  }

  .page-fishing-games__sub-title {
    font-size: 1.2rem;
  }

  .page-fishing-games__text-block {
    font-size: 1rem;
  }

  .page-fishing-games__list li {
    font-size: 0.95rem;
  }

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

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