/* style/fishing-games-high-score-guide.css */

/* Base styles for the page content */
.page-fishing-games-high-score-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for overall page due to dark body background */
  background-color: var(--background-color, #121212);
}

/* Common container for content */
.page-fishing-games-high-score-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Sections */
.page-fishing-games-high-score-guide__section {
  padding: 60px 0;
  text-align: center;
}

/* Hero Section */
.page-fishing-games-high-score-guide__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #017439; /* Brand green as hero background */
  color: #ffffff;
  overflow: hidden; /* To contain the image */
}

.page-fishing-games-high-score-guide__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.page-fishing-games-high-score-guide__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-fishing-games-high-score-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-fishing-games-high-score-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-fishing-games-high-score-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
}

/* Section titles */
.page-fishing-games-high-score-guide__section-title {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #ffffff; /* Default for dark sections */
}

.page-fishing-games-high-score-guide__light-bg .page-fishing-games-high-score-guide__section-title {
  color: #333333; /* Dark text for light sections */
}

/* Text blocks */
.page-fishing-games-high-score-guide__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0; /* Default light color */
}

.page-fishing-games-high-score-guide__light-bg .page-fishing-games-high-score-guide__text-block {
  color: #333333; /* Dark text for light sections */
}

.page-fishing-games-high-score-guide__dark-text-color {
  color: #ffffff; /* Explicitly white text for dark backgrounds */
}

/* Grids for cards */
.page-fishing-games-high-score-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Cards */
.page-fishing-games-high-score-guide__card {
  background-color: #ffffff; /* Default white background for cards */
  color: #333333; /* Dark text for white background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content within card */
}

.page-fishing-games-high-score-guide__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-fishing-games-high-score-guide__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439; /* Brand color for titles */
}

.page-fishing-games-high-score-guide__dark-bg .page-fishing-games-high-score-guide__card-title {
  color: #ffffff; /* White title on dark cards */
}

.page-fishing-games-high-score-guide__card-text {
  font-size: 1em;
  color: #555555;
}

.page-fishing-games-high-score-guide__dark-bg .page-fishing-games-high-score-guide__card-text {
  color: #f0f0f0;
}

/* Specific card styles for sections with dark background */
.page-fishing-games-high-score-guide__dark-bg .page-fishing-games-high-score-guide__card {
  background-color: #017439; /* Brand green for cards on dark background */
  color: #ffffff;
}

/* List styles */
.page-fishing-games-high-score-guide__list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-fishing-games-high-score-guide__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 1.1em;
  color: #333333;
}

.page-fishing-games-high-score-guide__list-item strong {
  color: #017439;
}

/* Benefits Grid */
.page-fishing-games-high-score-guide__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-fishing-games-high-score-guide__benefit-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
}

.page-fishing-games-high-score-guide__benefit-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #017439;
}

.page-fishing-games-high-score-guide__benefit-text {
  font-size: 1em;
  color: #555555;
}

/* Call to Action Section */
.page-fishing-games-high-score-guide__cta-section {
  background-color: #017439; /* Brand green */
  color: #ffffff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-fishing-games-high-score-guide__cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-fishing-games-high-score-guide__cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games-high-score-guide__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

/* Buttons */
.page-fishing-games-high-score-guide__btn-primary,
.page-fishing-games-high-score-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  text-align: center;
}

.page-fishing-games-high-score-guide__btn-primary {
  background-color: #C30808; /* Red for registration/login */
  color: #FFFF00; /* Yellow text for contrast */
  border: 2px solid #C30808;
}

.page-fishing-games-high-score-guide__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  color: #ffffff;
}

.page-fishing-games-high-score-guide__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-fishing-games-high-score-guide__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* FAQ Section */
.page-fishing-games-high-score-guide__faq-list {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-fishing-games-high-score-guide__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-fishing-games-high-score-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-fishing-games-high-score-guide__faq-question:hover {
  background-color: #e5e5e5;
}

.page-fishing-games-high-score-guide__faq-title {
  margin: 0;
  color: #017439;
}

.page-fishing-games-high-score-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-fishing-games-high-score-guide__faq-item.active .page-fishing-games-high-score-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games-high-score-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #ffffff;
}

.page-fishing-games-high-score-guide__faq-item.active .page-fishing-games-high-score-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-fishing-games-high-score-guide__faq-answer p {
  margin: 0;
  color: #333333;
}

/* Dark/Light background helpers for contrast */
.page-fishing-games-high-score-guide__dark-bg {
  background-color: var(--background-color, #121212);
  color: #f0f0f0;
}

.page-fishing-games-high-score-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games-high-score-guide__main-title {
    font-size: 2.2em;
  }
  .page-fishing-games-high-score-guide__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games-high-score-guide__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-high-score-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

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

  .page-fishing-games-high-score-guide__main-title {
    font-size: 1.8em;
  }

  .page-fishing-games-high-score-guide__hero-description {
    font-size: 1em;
  }

  .page-fishing-games-high-score-guide__section {
    padding: 40px 0;
  }

  .page-fishing-games-high-score-guide__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .page-fishing-games-high-score-guide__text-block,
  .page-fishing-games-high-score-guide__list-item,
  .page-fishing-games-high-score-guide__card-text,
  .page-fishing-games-high-score-guide__benefit-text,
  .page-fishing-games-high-score-guide__faq-answer p {
    font-size: 0.95em;
  }

  .page-fishing-games-high-score-guide__grid,
  .page-fishing-games-high-score-guide__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games-high-score-guide__card,
  .page-fishing-games-high-score-guide__benefit-card {
    padding: 20px;
  }

  .page-fishing-games-high-score-guide__card-image {
    height: 180px;
  }

  .page-fishing-games-high-score-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-fishing-games-high-score-guide__btn-primary,
  .page-fishing-games-high-score-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-fishing-games-high-score-guide img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all containers with images/content are responsive */
  .page-fishing-games-high-score-guide__section,
  .page-fishing-games-high-score-guide__card,
  .page-fishing-games-high-score-guide__container,
  .page-fishing-games-high-score-guide__hero-section,
  .page-fishing-games-high-score-guide__cta-section,
  .page-fishing-games-high-score-guide__faq-list,
  .page-fishing-games-high-score-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Add horizontal padding to prevent content from touching edges */
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Remove specific padding for sections that have container inside */
  .page-fishing-games-high-score-guide__section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games-high-score-guide__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games-high-score-guide__cta-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games-high-score-guide__list {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* No CSS filters for images */
.page-fishing-games-high-score-guide img {
  filter: none;
}