/* style/fishing-games.css */
/* body đã có padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
.page-fishing-games {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: var(--background-color, #FFFFFF);
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border-color: #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background-color: #1e87c2;
  border-color: #1e87c2;
}

.page-fishing-games__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87c2;
  border-color: #1e87c2;
}

.page-fishing-games__btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body đã có padding-top, đây là phần đệm trang trí */
  background-color: #f0f8ff;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 15px;
}

.page-fishing-games__main-title {
  font-weight: 800;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.2;
  font-size: clamp(1.8em, 4vw, 3.2em); /* Clamp for responsive H1 */
}

.page-fishing-games__intro-text {
  font-size: 1.2em;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 30px;
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px; /* Adjust max-width as needed */
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.page-fishing-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  cursor: pointer;
}

/* About Section / Features Grid */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-fishing-games__feature-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

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

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

.page-fishing-games__step-item {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-fishing-games__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF; /* Dark background, so white text */
}

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

.page-fishing-games__promotions-section .page-fishing-games__section-description {
  color: #f0f0f0;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

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

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

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

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

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

.page-fishing-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__faq-question span:first-child {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

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

/* Contact CTA Section */
.page-fishing-games__contact-cta {
  padding: 80px 0;
  background-color: #f0f8ff;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__intro-text {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-fishing-games__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__hero-section,
  .page-fishing-games__video-section,
  .page-fishing-games__about-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__contact-cta {
    padding: 40px 0;
  }
  
  /* Mobile image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__feature-image,
  .page-fishing-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Mobile video responsiveness */
  .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-section {
    padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }

  /* Mobile button responsiveness */
  .page-fishing-games__cta-button,
  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }
  .page-fishing-games__cta-buttons a,
  .page-fishing-games__button-group a,
  .page-fishing-games__btn-container a {
    width: 100%; /* Ensure buttons take full width when stacked */
  }
  
  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px 20px;
  }
}