/* style/fishing-games-high-score-guide.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-bg-color: #1a1a2e; /* From body background in shared.css */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --button-login-color: #EA7C07;
}

.page-fishing-games-high-score-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Main text color for dark body background */
  background-color: var(--dark-bg-color);
}

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

/* Hero Section */
.page-fishing-games-high-score-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games-high-score-guide__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games-high-score-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games-high-score-guide__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for readability */
  border-radius: 8px;
  box-sizing: border-box;
}

.page-fishing-games-high-score-guide__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: var(--light-text-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-fishing-games-high-score-guide__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--secondary-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games-high-score-guide__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games-high-score-guide__btn-primary,
.page-fishing-games-high-score-guide__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
}

.page-fishing-games-high-score-guide__btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games-high-score-guide__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-fishing-games-high-score-guide__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games-high-score-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

/* General Section Styling */
.page-fishing-games-high-score-guide__intro-section,
.page-fishing-games-high-score-guide__optimization-section {
  background-color: var(--primary-color);
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games-high-score-guide__dark-bg {
  background-color: var(--dark-bg-color);
  color: var(--light-text-color);
}

.page-fishing-games-high-score-guide__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--light-text-color);
  margin-bottom: 30px;
  font-weight: bold;
}

.page-fishing-games-high-score-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Game Types Section */
.page-fishing-games-high-score-guide__game-types-section {
  padding: 60px 0;
  background-color: var(--dark-bg-color);
  text-align: center;
}

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

.page-fishing-games-high-score-guide__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--light-text-color);
}

.page-fishing-games-high-score-guide__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games-high-score-guide__game-card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin: 15px 15px 10px;
}

.page-fishing-games-high-score-guide__game-card-description {
  font-size: 1em;
  color: var(--secondary-color);
  padding: 0 15px 15px;
}

/* Basic & Advanced Techniques Sections */
.page-fishing-games-high-score-guide__basic-techniques-section,
.page-fishing-games-high-score-guide__advanced-strategies-section {
  padding: 60px 0;
  background-color: var(--dark-bg-color);
}

.page-fishing-games-high-score-guide__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-fishing-games-high-score-guide__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games-high-score-guide__text-content {
  flex: 1;
}

.page-fishing-games-high-score-guide__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games-high-score-guide__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-height: 200px; /* Ensure minimum size */
}

.page-fishing-games-high-score-guide__sub-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-fishing-games-high-score-guide__text-content p {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Optimization Section */
.page-fishing-games-high-score-guide__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-fishing-games-high-score-guide__feature-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--light-text-color);
}

.page-fishing-games-high-score-guide__feature-list li .page-fishing-games-high-score-guide__sub-title {
  color: var(--primary-color);
  margin-top: 0;
}

.page-fishing-games-high-score-guide__cta-section {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-fishing-games-high-score-guide__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-height: 200px; /* Ensure minimum size */
}

/* FAQ Section */
.page-fishing-games-high-score-guide__faq-section {
  padding: 60px 0;
  background-color: var(--dark-bg-color);
}

.page-fishing-games-high-score-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games-high-score-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--light-text-color);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-fishing-games-high-score-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-fishing-games-high-score-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games-high-score-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games-high-score-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  pointer-events: none; /* Prevent toggle from capturing click in details */
}

.page-fishing-games-high-score-guide__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games-high-score-guide__hero-section {
    padding-top: 10px;
  }
  .page-fishing-games-high-score-guide__hero-content {
    padding: 20px;
  }
  .page-fishing-games-high-score-guide__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-fishing-games-high-score-guide__hero-description {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }
  .page-fishing-games-high-score-guide__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }
  .page-fishing-games-high-score-guide__content-grid {
    flex-direction: column;
  }
  .page-fishing-games-high-score-guide__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-high-score-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games-high-score-guide__container {
    padding: 0 15px;
  }

  /* Images responsiveness */
  .page-fishing-games-high-score-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Ensure minimum size */
  }

  .page-fishing-games-high-score-guide__hero-image-wrapper,
  .page-fishing-games-high-score-guide__image-wrapper,
  .page-fishing-games-high-score-guide__game-card-image,
  .page-fishing-games-high-score-guide__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Buttons responsiveness */
  .page-fishing-games-high-score-guide__btn-primary,
  .page-fishing-games-high-score-guide__btn-secondary,
  .page-fishing-games-high-score-guide a[class*="button"],
  .page-fishing-games-high-score-guide 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;
    text-align: center;
  }

  .page-fishing-games-high-score-guide__cta-buttons,
  .page-fishing-games-high-score-guide__button-group,
  .page-fishing-games-high-score-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
  
  /* Sections padding */
  .page-fishing-games-high-score-guide__hero-section,
  .page-fishing-games-high-score-guide__intro-section,
  .page-fishing-games-high-score-guide__game-types-section,
  .page-fishing-games-high-score-guide__basic-techniques-section,
  .page-fishing-games-high-score-guide__advanced-strategies-section,
  .page-fishing-games-high-score-guide__optimization-section,
  .page-fishing-games-high-score-guide__faq-section {
    padding: 30px 0 !important;
  }

  .page-fishing-games-high-score-guide__hero-content {
    padding: 15px;
    margin-top: 10px;
  }

  .page-fishing-games-high-score-guide__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-fishing-games-high-score-guide__hero-description {
    font-size: clamp(0.9em, 2.5vw, 1em);
  }
  .page-fishing-games-high-score-guide__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }
  .page-fishing-games-high-score-guide__sub-title {
    font-size: 1.4em;
  }
  .page-fishing-games-high-score-guide__game-types-grid {
    grid-template-columns: 1fr;
  }
  .page-fishing-games-high-score-guide__game-card-image {
    height: 180px;
  }
  .page-fishing-games-high-score-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
}

/* Ensure images don't have filters */
.page-fishing-games-high-score-guide img {
  filter: none !important;
}

/* Ensure content area images meet min size requirements */
.page-fishing-games-high-score-guide__content-image,
.page-fishing-games-high-score-guide__game-card-image,
.page-fishing-games-high-score-guide__hero-image,
.page-fishing-games-high-score-guide__cta-image {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure desktop video container width */
.page-fishing-games-high-score-guide__video-container {
  width: 100%; /* Explicitly set for desktop as well */
}

/* Contrast Fixes if needed (apply only if contrast issues detected) */
/* .page-fishing-games-high-score-guide__contrast-fix { background: #ffffff !important; color: #333333 !important; border: 1px solid #e0e0e0 !important; } */
/* .page-fishing-games-high-score-guide__text-contrast-fix { color: #333333 !important; text-shadow: none !important; } */