/* style/fishing-games.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */

/* Base styles for the page content, assuming a dark body background */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color, #F2FFF6); /* Main text color for dark background */
  background-color: var(--page-bg-color, #08160F); /* Page background color */
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom for aesthetics */
}

/* Variables for colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --page-bg-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-main-color);
  text-align: center;
  padding-bottom: 40px; /* Space between image and content */
  background-color: var(--page-bg-color); /* Ensure background for hero */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of the hero image */
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  padding: 20px;
  position: relative; /* Ensure content is above any potential background issues */
  z-index: 2; /* Ensure text is above any background image if it were to overlap */
}

.page-fishing-games__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold-color); /* Use gold for main title */
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Subtle glow */
}

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

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--page-bg-color); /* Dark text on glow color */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.page-fishing-games__cta-buttons--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
}

.page-fishing-games__cta-buttons--center {
  justify-content: center;
}

/* General Section Styles */
.page-fishing-games__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__section:last-of-type {
  border-bottom: none;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--glow-color);
  border-radius: 2px;
}

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

.page-fishing-games__highlight {
  color: var(--gold-color);
  font-weight: 600;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

/* Feature List */
.page-fishing-games__feature-list,
.page-fishing-games__strategy-list,
.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__feature-item,
.page-fishing-games__strategy-item,
.page-fishing-games__guide-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-fishing-games__feature-item:last-child,
.page-fishing-games__strategy-item:last-child,
.page-fishing-games__guide-item:last-child {
  margin-bottom: 0;
}

.page-fishing-games__feature-heading,
.page-fishing-games__strategy-heading,
.page-fishing-games__guide-heading {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-item p,
.page-fishing-games__strategy-item p,
.page-fishing-games__guide-item p {
  color: var(--text-secondary-color);
  font-size: 1.05rem;
}

/* Card Layouts */
.page-fishing-games__feature-cards,
.page-fishing-games__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

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

.page-fishing-games__card p {
  color: var(--text-secondary-color);
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow paragraph to take available space */
}

.page-fishing-games__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
  border: 1px solid var(--divider-color);
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main-color);
  background-color: var(--deep-green-color); /* Slightly darker for question header */
  border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(var(--deep-green-color), 0.8);
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  color: var(--text-secondary-color);
  background-color: var(--card-bg-color);
}

/* Details tag specific styles */
.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    padding: 20px;
  }

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

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

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }

  .page-fishing-games__feature-heading,
  .page-fishing-games__strategy-heading,
  .page-fishing-games__guide-heading,
  .page-fishing-games__card-title {
    font-size: 1.4rem;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1rem;
  }
}

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

  .page-fishing-games__hero-section {
    padding-bottom: 20px;
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 10px;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .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__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__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;
  }

  .page-fishing-games__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

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

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

  .page-fishing-games__text-block {
    font-size: 1rem;
  }

  .page-fishing-games__feature-cards,
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

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

  /* Image responsiveness for mobile */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* .page-fishing-games__video-section is not present, but keeping the rule if it were */
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body đã có padding-top, chỉ thêm khoảng cách nhỏ nếu có video */
  }

  /* Video responsiveness for mobile */
  .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-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure content area images are not too small */
.page-fishing-games__image-content {
  min-width: 200px;
  min-height: 200px;
}