/* style/fishing-games.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-button-color: #EA7C07;
  --background-white: #FFFFFF;
  --black: #000000;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default for light background */
  background-color: var(--background-white);
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  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 */
  background: linear-gradient(135deg, var(--primary-color), #1a7fb3);
  color: var(--text-light);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  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;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background-color: var(--login-button-color); /* Specific login color */
  color: var(--text-light);
  border: 2px solid var(--login-button-color);
}

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--login-button-color), 10%);
  border-color: darken(var(--login-button-color), 10%);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

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

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__intro-section,
.page-fishing-games__games-showcase,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--background-white);
  color: var(--text-dark);
}

.page-fishing-games__advantages-section,
.page-fishing-games__how-to-play,
.page-fishing-games__promotions-section,
.page-fishing-games__contact-cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-fishing-games__highlight {
  font-weight: 700;
  color: var(--login-button-color); /* Use a contrasting highlight color */
}

.page-fishing-games__dark-bg .page-fishing-games__highlight {
  color: var(--secondary-color);
}

.page-fishing-games__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-fishing-games__card,
.page-fishing-games__game-card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__card:hover,
.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__card-image,
.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__card-title,
.page-fishing-games__game-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__card-description,
.page-fishing-games__game-description {
  font-size: 1rem;
  color: var(--text-dark);
  text-align: justify;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--login-button-color);
  color: var(--text-light);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  margin-top: auto; /* Push to bottom of flex container */
}

.page-fishing-games__btn-small:hover {
  background-color: darken(var(--login-button-color), 10%);
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-fishing-games__steps-list,
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__step-item,
.page-fishing-games__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-fishing-games__step-title,
.page-fishing-games__tip-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-fishing-games__step-item p,
.page-fishing-games__tip-item p {
  font-size: 1rem;
  color: var(--text-light);
  text-align: justify;
}

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

.page-fishing-games__promotion-card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  overflow: hidden;
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__promotion-content {
  padding: 25px;
  text-align: left;
}

.page-fishing-games__promotion-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__promotion-description {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none; /* Prevent text selection on click */
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  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: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: justify;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-small,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__how-to-play,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__contact-cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__grid-3-col {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__card,
  .page-fishing-games__game-card {
    padding: 20px;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__game-title {
    font-size: 1.3rem;
  }

  /* Image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__promotion-card,
  .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__hero-image-wrapper {
    padding: 0;
  }

  /* Video responsiveness */
  .page-fishing-games video,
  .page-fishing-games__video {
    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__video-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__promotion-card {
    flex-direction: column;
  }

  .page-fishing-games__promotion-content {
    text-align: center;
  }

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

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