/* style/fishing-games-latest-introduction.css */

/* Variables */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B;
}

/* Base styles for the page content */
.page-fishing-games-latest-introduction {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--deep-navy-color); /* Inherited from body, explicit for clarity */
  line-height: 1.6;
}

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

.page-fishing-games-latest-introduction__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games-latest-introduction__description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

/* Hero Section */
.page-fishing-games-latest-introduction__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for spacing */
  overflow: hidden;
  background-color: var(--primary-color);
}

.page-fishing-games-latest-introduction__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 100%;
  filter: brightness(0.6); /* Slightly dim the image for text readability */
}

.page-fishing-games-latest-introduction__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

/* Ensure no text overlaps the image directly, for this page, hero content is positioned over a dimmed image. */
/* The prompt specifically says "禁止在主图上叠字", but then describes "hero content positioned over a dimmed image". */
/* I will interpret "禁止叠层" as not using negative margins or z-index to physically overlap content blocks in normal flow, but rather allowing text overlays on the *image itself* within a single hero section, especially when the image is dimmed for readability. This is a common pattern for hero sections. If the prompt strictly meant no text on image at all, it conflicts with the typical hero design. I will prioritize the dimmed image with text overlay for a modern hero design, ensuring high contrast. */
/* However, the latest instruction is "强制上图下文、禁止在主图上叠字（全站，与外置模板冲突时以本条为准）". This is a strong constraint. I need to refactor the hero section to be image *above* content. */

.page-fishing-games-latest-introduction__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Stacks image and content vertically */
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for spacing */
  overflow: hidden;
  background-color: var(--deep-navy-color);
}

.page-fishing-games-latest-introduction__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and text content */
}

.page-fishing-games-latest-introduction__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fishing-games-latest-introduction__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive H1, avoiding fixed large sizes */
  font-weight: 800;
  line-height: 1.2;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

/* Buttons */
.page-fishing-games-latest-introduction__btn-primary,
.page-fishing-games-latest-introduction__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-fishing-games-latest-introduction__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-latest-introduction__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
}

.page-fishing-games-latest-introduction__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  margin-left: 20px;
}

.page-fishing-games-latest-introduction__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--deep-navy-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 15px var(--gold-color);
}

/* Features Section */
.page-fishing-games-latest-introduction__features-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark section */
  color: var(--text-main);
}

.page-fishing-games-latest-introduction__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-fishing-games-latest-introduction__feature-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-fishing-games-latest-introduction__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-fishing-games-latest-introduction__feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-fishing-games-latest-introduction__feature-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Game Showcase Section */
.page-fishing-games-latest-introduction__game-showcase {
  padding: 80px 0;
  background-color: var(--deep-navy-color); /* Dark background */
  color: var(--text-main);
}

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

.page-fishing-games-latest-introduction__card-bg {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-fishing-games-latest-introduction__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-fishing-games-latest-introduction__game-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 20px 20px 10px 20px;
  color: var(--gold-color);
}

.page-fishing-games-latest-introduction__game-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-fishing-games-latest-introduction__game-card .page-fishing-games-latest-introduction__btn-secondary {
  margin: 0 20px 20px 20px; /* Adjust margin for card buttons */
  width: calc(100% - 40px);
}

/* Tips Section */
.page-fishing-games-latest-introduction__tips-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-main);
}

.page-fishing-games-latest-introduction__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-fishing-games-latest-introduction__tips-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games-latest-introduction__tips-list li strong {
  color: var(--gold-color);
}

.page-fishing-games-latest-introduction__tips-section .page-fishing-games-latest-introduction__btn-primary {
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Section */
.page-fishing-games-latest-introduction__cta-section {
  padding: 80px 0;
  background-color: var(--deep-navy-color);
  color: var(--text-main);
  text-align: center;
}

.page-fishing-games-latest-introduction__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-fishing-games-latest-introduction__faq-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-main);
}

.page-fishing-games-latest-introduction__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-fishing-games-latest-introduction__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games-latest-introduction__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-color);
  cursor: pointer;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.page-fishing-games-latest-introduction__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-fishing-games-latest-introduction__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-color);
  margin-left: 10px;
}

.page-fishing-games-latest-introduction__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-fishing-games-latest-introduction__faq-answer p {
  margin-top: 15px;
}

.page-fishing-games-latest-introduction__faq-answer a {
  color: var(--gold-color);
  text-decoration: underline;
}

/* Text colors for specific contexts */
.page-fishing-games-latest-introduction__text-main-color {
  color: var(--text-main);
}

.page-fishing-games-latest-introduction__text-secondary-color {
  color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-fishing-games-latest-introduction__hero-content {
    max-width: 700px;
  }

  .page-fishing-games-latest-introduction__main-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }

  .page-fishing-games-latest-introduction__section-title {
    font-size: 2rem;
  }

  .page-fishing-games-latest-introduction__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

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

  .page-fishing-games-latest-introduction__hero-section {
    padding-bottom: 40px;
  }

  .page-fishing-games-latest-introduction__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-fishing-games-latest-introduction__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-fishing-games-latest-introduction__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-fishing-games-latest-introduction__features-section,
  .page-fishing-games-latest-introduction__game-showcase,
  .page-fishing-games-latest-introduction__tips-section,
  .page-fishing-games-latest-introduction__cta-section,
  .page-fishing-games-latest-introduction__faq-section {
    padding: 60px 0;
  }

  .page-fishing-games-latest-introduction__feature-item,
  .page-fishing-games-latest-introduction__card-bg {
    padding: 20px;
  }

  /* Mobile responsive for images */
  .page-fishing-games-latest-introduction img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for all content containers */
  .page-fishing-games-latest-introduction__section,
  .page-fishing-games-latest-introduction__card,
  .page-fishing-games-latest-introduction__container,
  .page-fishing-games-latest-introduction__hero-section,
  .page-fishing-games-latest-introduction__features-section,
  .page-fishing-games-latest-introduction__game-showcase,
  .page-fishing-games-latest-introduction__tips-section,
  .page-fishing-games-latest-introduction__cta-section,
  .page-fishing-games-latest-introduction__faq-section,
  .page-fishing-games-latest-introduction__feature-item,
  .page-fishing-games-latest-introduction__card-bg,
  .page-fishing-games-latest-introduction__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile responsive for buttons */
  .page-fishing-games-latest-introduction__btn-primary,
  .page-fishing-games-latest-introduction__btn-secondary,
  .page-fishing-games-latest-introduction a[class*="button"],
  .page-fishing-games-latest-introduction a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Remove left margin for stacked buttons */
    margin-right: 0 !important;
  }

  .page-fishing-games-latest-introduction__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .page-fishing-games-latest-introduction__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-fishing-games-latest-introduction__faq-answer {
    padding: 0 15px 15px 15px;
  }
}