/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #FFFFFF;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  background-color: transparent;
  color: #2F6BFF;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #2F6BFF; /* Main Color */
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  font-size: 1.1em;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #2F6BFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top spacing, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  background-color: #FFFFFF; /* Card BG */
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.page-fishing-games__main-title {
  font-weight: 800;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  font-size: clamp(2.2em, 4vw, 3.2em);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #1F2D3D;
  margin-bottom: 30px;
  line-height: 1.7;
}

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

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

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

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
}

.page-fishing-games__feature-text {
  font-size: 1em;
  color: #1F2D3D;
  line-height: 1.6;
}

/* Games Section */
.page-fishing-games__games-section {
  padding: 80px 0;
  background-color: #2F6BFF; /* Main Color */
  color: #FFFFFF;
}

.page-fishing-games__games-section .page-fishing-games__section-title,
.page-fishing-games__games-section .page-fishing-games__section-description {
  color: #FFFFFF;
}

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

.page-fishing-games__game-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}

.page-fishing-games__game-card h3,
.page-fishing-games__game-card p {
  padding: 0 25px;
}

.page-fishing-games__game-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-fishing-games__game-text {
  font-size: 0.95em;
  color: #1F2D3D;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-fishing-games__btn-container {
  text-align: center;
  margin-top: 40px;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D;
}

.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  counter-reset: guide-step;
}

.page-fishing-games__guide-item {
  position: relative;
  padding-left: 60px;
  text-align: left;
}

.page-fishing-games__guide-item::before {
  counter-increment: guide-step;
  content: "0" counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2.5em;
  font-weight: bold;
  color: #6FA3FF; /* Auxiliary Color */
  opacity: 0.7;
  line-height: 1;
}

.page-fishing-games__guide-step-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 10px;
}

.page-fishing-games__guide-text {
  font-size: 1em;
  color: #1F2D3D;
  line-height: 1.6;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 80px 0;
  background-color: #2F6BFF; /* Main Color */
  color: #FFFFFF;
}

.page-fishing-games__strategy-section .page-fishing-games__section-title,
.page-fishing-games__strategy-section .page-fishing-games__section-description {
  color: #FFFFFF;
}

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

.page-fishing-games__strategy-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__strategy-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}

.page-fishing-games__strategy-card h3,
.page-fishing-games__strategy-card p {
  padding: 0 25px;
}

.page-fishing-games__strategy-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-fishing-games__strategy-text {
  font-size: 0.95em;
  color: #1F2D3D;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D;
}

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

.page-fishing-games__promo-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}

.page-fishing-games__promo-card h3,
.page-fishing-games__promo-card p {
  padding: 0 25px;
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-fishing-games__promo-text {
  font-size: 0.95em;
  color: #1F2D3D;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
  background-color: #2F6BFF; /* Main Color */
  color: #FFFFFF;
}

.page-fishing-games__security-section .page-fishing-games__section-title,
.page-fishing-games__security-section .page-fishing-games__section-description {
  color: #FFFFFF;
}

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

.page-fishing-games__security-item {
  text-align: center;
}

.page-fishing-games__security-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1);
}

.page-fishing-games__security-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-fishing-games__security-text {
  font-size: 1em;
  color: #FFFFFF;
  line-height: 1.6;
}

/* Responsible Gambling Section */
.page-fishing-games__responsible-gambling-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D;
}

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

.page-fishing-games__tip-item {
  text-align: center;
}

.page-fishing-games__tip-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 10px;
}

.page-fishing-games__tip-text {
  font-size: 1em;
  color: #1F2D3D;
  line-height: 1.6;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #2F6BFF; /* Main Color */
  color: #FFFFFF;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: #FFFFFF;
}

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

.page-fishing-games__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #D6E2FF; /* Border */
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: #F4F7FB;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #2F6BFF;
  margin-left: 15px;
}

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

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
}

.page-fishing-games__faq-answer a {
  color: #2F6BFF;
  text-decoration: underline;
}

/* General image styling */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 30px 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__btn-container {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .page-fishing-games__feature-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promo-grid,
  .page-fishing-games__security-features,
  .page-fishing-games__responsible-tips {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__strategy-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-item,
  .page-fishing-games__tip-item {
    padding: 20px;
  }
  .page-fishing-games__game-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games__promo-image {
    height: 180px;
  }
  .page-fishing-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px 15px;
  }
  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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__hero-section {
    padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: -30px;
    padding: 25px 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em) !important;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__strategy-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__security-item,
  .page-fishing-games__tip-item {
    padding: 15px;
  }
  .page-fishing-games__game-image,
  .page-fishing-games__strategy-image,
  .page-fishing-games__promo-image {
    height: 150px;
  }
}