/* style/fishing-games.css */

:root {
  --ke9-primary-color: #26A9E0;
  --ke9-secondary-color: #FFFFFF;
  --ke9-dark-bg: #121212;
  --ke9-text-light: #ffffff;
  --ke9-text-dark: #333333;
  --ke9-accent-color-login: #EA7C07;
}

/* Base styles for the page content, ensuring text visibility on dark body background */
.page-fishing-games {
  color: var(--ke9-text-light); /* Default text color for the page */
  background-color: var(--ke9-dark-bg); /* Ensure main content background is consistent with body */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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: var(--ke9-secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: var(--ke9-text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  background-color: var(--ke9-dark-bg);
  color: var(--ke9-text-light);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ke9-primary-color);
  margin-bottom: 20px;
  /* No fixed font-size, rely on clamp or responsive scaling */
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--ke9-text-light);
}

.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,
.page-fishing-games__btn-outline {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

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

.page-fishing-games__btn-outline {
  background-color: transparent;
  color: var(--ke9-primary-color);
  border: 1px solid var(--ke9-primary-color);
  padding: 10px 20px;
  font-size: 0.9em;
}

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

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--ke9-dark-bg);
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: var(--ke9-primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__feature-text {
  color: var(--ke9-text-light);
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
  padding: 80px 0;
  background-color: var(--ke9-dark-bg);
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--ke9-text-light);
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  color: var(--ke9-primary-color);
  margin: 20px 15px 10px;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

.page-fishing-games__how-to-play {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.page-fishing-games__how-to-play-title {
  font-size: 1.6em;
  color: var(--ke9-primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__how-to-play-text {
  color: var(--ke9-text-light);
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  background-color: var(--ke9-dark-bg);
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--ke9-text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-number {
  font-size: 2.5em;
  color: var(--ke9-primary-color);
  font-weight: bold;
  margin-bottom: 15px;
  background-color: rgba(38, 169, 224, 0.2);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__step-title {
  font-size: 1.5em;
  color: var(--ke9-primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-text {
  margin-bottom: 20px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.03);
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--ke9-text-light);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-10px);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  color: var(--ke9-primary-color);
  margin: 20px 15px 10px;
}

.page-fishing-games__promo-text {
  font-size: 0.95em;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
  background-color: var(--ke9-dark-bg);
}

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

.page-fishing-games__tip-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--ke9-text-light);
}

.page-fishing-games__tip-title {
  font-size: 1.5em;
  color: var(--ke9-primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__tip-text {
  color: var(--ke9-text-light);
}

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
  background-color: var(--ke9-primary-color);
  color: var(--ke9-text-light);
}

.page-fishing-games__security-section .page-fishing-games__section-title,
.page-fishing-games__security-section .page-fishing-games__section-description {
  color: var(--ke9-secondary-color);
}

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

.page-fishing-games__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__security-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
}

.page-fishing-games__security-title {
  font-size: 1.5em;
  color: var(--ke9-secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__security-text {
  color: var(--ke9-text-light);
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--ke9-dark-bg);
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--ke9-text-light);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--ke9-primary-color);
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.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: 15px 20px;
  font-size: 1em;
  color: var(--ke9-text-light);
}

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

/* Details element specific styling */
.page-fishing-games__faq-item summary {
  list-style: none;
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  background-color: var(--ke9-primary-color);
  text-align: center;
  color: var(--ke9-text-light);
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title,
.page-fishing-games__conclusion-section .page-fishing-games__section-description {
  color: var(--ke9-secondary-color);
}

.page-fishing-games__conclusion-section .page-fishing-games__btn-primary {
  background-color: var(--ke9-secondary-color);
  color: var(--ke9-primary-color);
  border-color: var(--ke9-secondary-color);
  margin-top: 30px;
}

.page-fishing-games__conclusion-section .page-fishing-games__btn-primary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2.2em, 5vw, 3em);
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

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

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

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

  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }

  .page-fishing-games__hero-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

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

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-outline {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  /* Image responsiveness for content areas */
  .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__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-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__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Ensure no horizontal overflow */
  .page-fishing-games {
    overflow-x: hidden;
  }

  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-fishing-games__faq-question {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 250px;
  }
}

/* Ensure all content area images are at least 200px display size */
.page-fishing-games__game-image,
.page-fishing-games__promo-image,
.page-fishing-games__security-icon {
  min-width: 200px;
  min-height: 200px;
}