/* Base styles for the fishing-games page */
.page-fishing-games {
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #F2C14E; /* Main Color */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
  text-align: center;
  overflow: hidden;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover to fill space */
  max-height: 700px;
  aspect-ratio: 16/9;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #FFD36B; /* Auxiliary Color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-fishing-games__hero-description {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Color */
  color: #ffffff; /* White text for contrast */
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow Color */
  border: 2px solid #3A2A12; /* Border Color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: #1a1a1a;
  color: #F2C14E;
}

.page-fishing-games__btn-play, .page-fishing-games__btn-action {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

.page-fishing-games__btn-play:hover, .page-fishing-games__btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

/* Intro Section */
.page-fishing-games__intro-section .page-fishing-games__text-block {
  text-align: left;
}

/* Featured Games Section */
.page-fishing-games__featured-games-section {
  background: #111111; /* Card BG */
  padding: 80px 0;
}

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

.page-fishing-games__game-card {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__game-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary Color */
  margin-bottom: 15px;
}

.page-fishing-games__game-description {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Guide Section */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__guide-step {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__step-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  font-size: 16px;
  color: #FFF6D6;
}

/* Strategy Section */
.page-fishing-games__article-body {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-fishing-games__article-subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-fishing-games__article-body p {
  font-size: 17px;
  margin-bottom: 15px;
}

.page-fishing-games__article-figure {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background: #111111; /* Card BG */
}

/* Why Choose Section */
.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-card {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border Color */
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  font-size: 16px;
  color: #FFF6D6;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border Color */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-align: left;
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B; /* Auxiliary Color */
  font-weight: bold;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #1a1a1a;
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: 30px;
  }
  .page-fishing-games__game-card, .page-fishing-games__guide-step, .page-fishing-games__feature-card {
    padding: 20px;
  }
  .page-fishing-games__game-image, .page-fishing-games__step-icon, .page-fishing-games__feature-icon {
    height: 150px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    min-height: unset;
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-image {
    object-fit: contain !important; /* Mobile: contain to prevent cropping */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__hero-content {
    padding: 15px;
    margin-top: 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* General sections and containers */
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* CTA Buttons */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-play,
  .page-fishing-games__btn-action {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Sản phẩm/Games Grid */
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
    gap: 20px;
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-fishing-games__game-card {
    padding: 15px;
  }
  .page-fishing-games__game-image {
    height: 150px;
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    object-fit: cover;
  }
  .page-fishing-games__game-title {
    font-size: 20px;
  }
  .page-fishing-games__game-description {
    font-size: 14px;
  }

  /* Guide Steps */
  .page-fishing-games__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .page-fishing-games__guide-step {
    padding: 20px;
  }
  .page-fishing-games__step-icon {
    width: 120px;
    height: 80px;
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-fishing-games__step-title {
    font-size: 20px;
  }

  /* Article Body (Strategy Section) */
  .page-fishing-games__article-body {
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-fishing-games__article-subtitle {
    font-size: 20px;
    text-align: center;
  }
  .page-fishing-games__article-body p {
    font-size: 15px;
  }
  .page-fishing-games__article-figure {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Features Grid (Why Choose Section) */
  .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .page-fishing-games__feature-card {
    padding: 20px;
  }
  .page-fishing-games__feature-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .page-fishing-games__feature-title {
    font-size: 20px;
  }

  /* FAQ Section */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 15px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-fishing-games__faq-answer p {
    font-size: 14px;
  }

  /* Ensure all images are responsive and prevent overflow */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-step,
  .page-fishing-games__feature-card,
  .page-fishing-games__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px !important; */
    /* padding-right: 15px !important; */
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
}