/* style/fishing-games.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --background-color-page: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-fishing-games {
  background-color: var(--background-color-page);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--deep-green-color);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__hero-title {
  color: var(--gold-color);
  font-size: clamp(2em, 4vw, 3.5em); /* Using clamp for responsive H1 */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary-color);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: 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: var(--button-gradient);
  color: var(--text-main-color);
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--background-color-page);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section {
  padding: 60px 0;
  background-color: var(--background-color-page);
}

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

.page-fishing-games__section-title {
  color: var(--gold-color);
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--glow-color);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-main-color);
  text-align: justify;
}

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

.page-fishing-games__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
}

.page-fishing-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

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

.page-fishing-games__card-title {
  color: var(--glow-color);
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-fishing-games__card-description {
  color: var(--text-secondary-color);
  font-size: 0.95em;
  line-height: 1.7;
}

.page-fishing-games__how-to-play-section {
  background-color: var(--deep-green-color);
}

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

.page-fishing-games__step-item {
  background-color: var(--card-bg-color);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

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

.page-fishing-games__step-title {
  color: var(--gold-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  color: var(--text-secondary-color);
  font-size: 0.9em;
}

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

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

.page-fishing-games__strategy-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  color: var(--text-main-color);
}

.page-fishing-games__strategy-card:hover {
  transform: translateY(-8px);
}

.page-fishing-games__strategy-title {
  color: var(--glow-color);
  font-size: 1.4em;
  margin-bottom: 15px;
  text-align: center;
}

.page-fishing-games__strategy-description {
  color: var(--text-secondary-color);
  font-size: 0.95em;
  line-height: 1.7;
  text-align: justify;
}

.page-fishing-games__promotions-section {
  background-color: var(--deep-green-color);
}

.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-fishing-games__promotion-item {
  background-color: var(--card-bg-color);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 1.1em;
  color: var(--text-main-color);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promotion-item::before {
  content: '★'; /* Decorative star */
  color: var(--gold-color);
  font-size: 1.5em;
  margin-right: 15px;
  line-height: 1;
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--glow-color);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-fishing-games__faq-question:hover {
  background-color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-secondary-color);
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
}

/* --- Responsive Styles --- */

/* All images responsive by default */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All image containers responsive by default */
.page-fishing-games__hero-image-wrapper,
.page-fishing-games__card,
.page-fishing-games__container,
.page-fishing-games__step-item,
.page-fishing-games__strategy-card,
.page-fishing-games__promotion-item,
.page-fishing-games__faq-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Ensure content doesn't overflow */
}

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

  .page-fishing-games__hero-section {
    padding: 10px 0 20px 0;
  }

  .page-fishing-games__hero-content {
    padding: 20px 15px;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-fishing-games__hero-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;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

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

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

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

  .page-fishing-games__grid-container,
  .page-fishing-games__step-by-step-guide,
  .page-fishing-games__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-card,
  .page-fishing-games__promotion-item,
  .page-fishing-games__faq-item {
    padding: 20px;
  }

  .page-fishing-games__card-image {
    height: 180px;
  }

  .page-fishing-games__card-title {
    font-size: 1.2em;
  }

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

  .page-fishing-games__faq-answer {
    padding: 15px 20px;
    font-size: 0.9em;
  }

  /* Ensure all images are responsive on mobile */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers are responsive on mobile */
  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__highlights-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  /* Special handling for elements with internal padding */
  .page-fishing-games__card,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-card,
  .page-fishing-games__promotion-item,
  .page-fishing-games__faq-item {
    padding-left: 15px;
    padding-right: 15px;
  }
}