/* style/fishing-games.css */

/* Body background color is handled by shared.css var(--background-color) */
/* Default text color for light backgrounds, overridden for dark sections */
.page-fishing-games {
  color: #333333; /* Default text for light backgrounds */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-fishing-games__dark-bg {
  background: #26A9E0; /* Primary color as dark background */
  color: #ffffff; /* White text for dark background */
}

.page-fishing-games__light-bg {
  background: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem); /* H1 font-size with clamp */
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background: #e0e0e0;
  color: #1a88bb;
  border-color: #1a88bb;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__introduction-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 60px 0;
}

.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__support-section,
.page-fishing-games__conclusion-section {
  padding: 60px 0;
}

.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure image responsiveness */
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: inherit;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

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

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

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  max-width: 100%; /* Ensure image responsiveness */
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  padding: 20px 20px 0;
  text-align: left;
  color: #26A9E0;
}

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

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-fishing-games__guide-item {
  counter-increment: step-counter;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px 30px 25px 80px;
  margin-bottom: 20px;
  position: relative;
  color: #ffffff;
}

.page-fishing-games__guide-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 25px;
  background: #EA7C07;
  color: #ffffff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.page-fishing-games__list-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  max-width: 100%; /* Ensure image responsiveness */
}

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

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

.page-fishing-games__faq-item {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  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: #ffffff;
  color: #26A9E0;
  border-bottom: 1px solid #e0e0e0;
}

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

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

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

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #f0f0f0;
}

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

.page-fishing-games__conclusion-section {
  text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__text-block {
  max-width: 900px;
  margin: 0 auto 30px;
  color: #ffffff;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    padding: 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  .page-fishing-games__hero-description {
    font-size: 1.1rem;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-fishing-games__hero-content {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .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 15px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 1rem;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card {
    padding: 20px;
  }
  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__feature-card .page-fishing-games__feature-image {
    height: 150px;
  }
  .page-fishing-games__game-card .page-fishing-games__game-image {
    height: 200px;
  }
  .page-fishing-games__guide-item {
    padding: 20px 20px 20px 60px;
  }
  .page-fishing-games__guide-item::before {
    left: 15px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .page-fishing-games__list-title {
    font-size: 1.2rem;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-list {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    padding: 10px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-fishing-games__hero-description {
    font-size: 0.95rem;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 10px 15px;
    font-size: 0.95rem;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }
  .page-fishing-games__guide-item {
    padding: 15px 15px 15px 50px;
  }
  .page-fishing-games__guide-item::before {
    left: 10px;
    top: 15px;
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
  }
  .page-fishing-games__list-title {
    font-size: 1.1rem;
  }
}