/* style/fishing-games.css */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color */
  background-color: #0A0A0A; /* Page background */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: #0A0A0A;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  max-width: 1920px;
  display: block;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-fishing-games__hero-content {
  max-width: 900px;
  z-index: 1;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-fishing-games__btn-secondary {
  background: #111111;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  transform: translateY(-3px);
  background: #F2C14E;
  color: #111111;
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #F2C14E, transparent);
  border-radius: 2px;
}

/* Text Blocks */
.page-fishing-games__text-block {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__text-center {
  text-align: center;
}

/* Card Styles */
.page-fishing-games__card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__card-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #FFF6D6;
  text-align: center;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: #111111;
}

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

.page-fishing-games__feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #3A2A12;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-fishing-games__how-to-play-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-fishing-games__steps-list {
  flex: 1;
}

.page-fishing-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-fishing-games__step-number {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
  margin-right: 20px;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__step-title {
  font-size: 1.3em;
  color: #F2C14E;
  margin-top: 0;
  margin-bottom: 5px;
}

.page-fishing-games__step-description {
  font-size: 1em;
  color: #FFF6D6;
  line-height: 1.5;
}

.page-fishing-games__how-to-play-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__how-to-play-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid #3A2A12;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
  background-color: #111111;
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #3A2A12;
}

.page-fishing-games__game-card .page-fishing-games__btn-secondary {
  margin-top: 15px;
}

/* Benefits Section */
.page-fishing-games__benefits-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-fishing-games__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-fishing-games__benefits-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  font-size: 1.1em;
  line-height: 1.5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-fishing-games__benefits-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__benefits-item strong {
  color: #F2C14E;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #111111;
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.2em;
  color: #F2C14E;
  cursor: pointer;
  background-color: #111111;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #FFF6D6;
  background-color: #111111;
}

/* CTA Banner Section */
.page-fishing-games__cta-banner-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A0A0A;
}

.page-fishing-games__cta-banner-content {
  background: rgba(242, 193, 78, 0.1);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
  border: 2px solid #3A2A12;
}

.page-fishing-games__cta-banner-content .page-fishing-games__section-title {
  margin-top: 0;
  margin-bottom: 20px;
}

.page-fishing-games__cta-banner-content .page-fishing-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.page-fishing-games__cta-button {
  margin-top: 20px;
}

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

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

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

  .page-fishing-games__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-fishing-games__how-to-play-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__how-to-play-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }

  .page-fishing-games__benefits-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

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

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

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* 产品展示图区域 & 通用图片与容器 */
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__container,
  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__benefits-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-banner-section,
  .page-fishing-games__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__how-to-play-image {
    height: auto; /* Allow height to adjust proportionally */
    min-height: 200px; /* Ensure minimum size */
  }

  /* 按钮与按钮容器 */
  .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: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-fishing-games__hero-cta-buttons,
  .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 !important;
    padding-right: 15px !important;
    flex-direction: column !important; /* Force vertical stacking for multiple buttons */
    gap: 10px !important;
  }

  /* 其他内容模块 */
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-fishing-games__text-block {
    font-size: 1em;
    text-align: left;
  }

  .page-fishing-games__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-fishing-games__step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .page-fishing-games__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-fishing-games__cta-banner-content {
    padding: 30px 20px;
  }

  .page-fishing-games__cta-banner-content .page-fishing-games__section-title {
    font-size: 1.5em;
  }
}