/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại tại đây */

:root {
  --page-fishing-games-primary-color: #113B7A;
  --page-fishing-games-secondary-color: #1D5FD1;
  --page-fishing-games-text-main: #F3F8FF;
  --page-fishing-games-text-secondary: #AFC4E8;
  --page-fishing-games-card-bg: #10233F;
  --page-fishing-games-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --page-fishing-games-border-color: #244D84;
  --page-fishing-games-glow-color: #4FA8FF;
  --page-fishing-games-gold-color: #F2C14E;
  --page-fishing-games-divider-color: #1B3357;
  --page-fishing-games-deep-navy: #08162B;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-fishing-games-text-main); /* Default text color for the page */
  background-color: var(--page-fishing-games-deep-navy); /* Match body background */
}

.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(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--page-fishing-games-text-main);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-fishing-games__description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body đã xử lý padding-top, đây chỉ là padding nội dung */
  background-color: var(--page-fishing-games-deep-navy);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Adjust as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  z-index: 2;
  max-width: 900px;
  margin-top: -100px; /* Kéo nội dung lên trên ảnh một chút để tạo sự liền mạch */
  background: rgba(16, 35, 63, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-fishing-games__hero-content .page-fishing-games__description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: #ffffff; /* Use white for light-bg section */
  color: #333333; /* Dark text for light background */
}

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__intro-section .page-fishing-games__description {
  color: #333333;
}

.page-fishing-games__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
  text-align: left;
}

.page-fishing-games__text-block strong {
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__intro-section a {
  color: var(--page-fishing-games-secondary-color);
  text-decoration: underline;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-deep-navy);
}

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

.page-fishing-games__feature-card {
  background-color: var(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--page-fishing-games-border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__feature-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 15px;
}

.page-fishing-games__feature-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
}

/* Games List Section */
.page-fishing-games__games-list-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background */
  color: #333333;
}

.page-fishing-games__games-list-section .page-fishing-games__section-title,
.page-fishing-games__games-list-section .page-fishing-games__description {
  color: #333333;
}

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__game-info {
  padding: 25px;
  text-align: left;
}

.page-fishing-games__game-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__game-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--page-fishing-games-primary-color);
  border: 2px solid var(--page-fishing-games-primary-color);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(17, 59, 122, 0.3);
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-deep-navy);
}

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

.page-fishing-games__step-item {
  background-color: var(--page-fishing-games-card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--page-fishing-games-border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--page-fishing-games-secondary-color);
  color: #ffffff;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(29, 95, 209, 0.4);
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__step-text a {
  color: var(--page-fishing-games-gold-color);
  text-decoration: underline;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 50px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--page-fishing-games-border-color);
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__description {
  color: #333333;
}

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

.page-fishing-games__promotion-card {
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promotion-info {
  padding: 25px;
  text-align: left;
}

.page-fishing-games__promotion-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__promotion-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-deep-navy);
}

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

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-fishing-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-fishing-games-text-main);
  background-color: var(--page-fishing-games-card-bg);
  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(17, 59, 122, 0.8);
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--page-fishing-games-gold-color);
  line-height: 1;
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--page-fishing-games-text-secondary);
  border-top: 1px solid var(--page-fishing-games-divider-color);
}

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

.page-fishing-games__faq-answer a {
  color: var(--page-fishing-games-gold-color);
  text-decoration: underline;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
  padding: 60px 0;
  background-color: var(--page-fishing-games-primary-color);
  text-align: center;
  background: linear-gradient(90deg, #113B7A 0%, #1D5FD1 100%);
  box-shadow: inset 0 5px 20px rgba(0,0,0,0.3);
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__description {
  color: #f0f8ff;
  margin-bottom: 30px;
}

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

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

  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-fishing-games__hero-content {
    margin-top: -30px;
    padding: 25px 15px;
    border-radius: 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-content .page-fishing-games__description {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .page-fishing-games__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-fishing-games__section-title {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 25px;
  }

  .page-fishing-games__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__games-list-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 50px 0;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__promotion-card {
    padding: 25px;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promotion-image {
    height: 180px;
  }

  .page-fishing-games__video-wrapper {
    padding-bottom: 75%; /* Adjust aspect ratio for mobile if needed, or keep 56.25% */
    margin-bottom: 30px;
  }
  
  /* Mobile responsive for images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for video */
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video containers mobile adaptation */
  .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;
  }
  
  /* Video section top padding for mobile, small amount */
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
  
  /* Button responsive for mobile */
  .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;
  }
  
  /* Button container mobile adaptation */
  .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;
  }
  
  /* If buttons use flex, ensure vertical stacking on mobile */
  .page-fishing-games__cta-buttons {
    display: flex;
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-fishing-games__hero-content .page-fishing-games__description {
    font-size: 16px;
  }

  .page-fishing-games__btn-primary {
    padding: 10px 20px;
    font-size: 15px;
  }

  .page-fishing-games__section-title {
    font-size: clamp(22px, 6vw, 32px);
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promotion-title {
    font-size: 20px;
  }

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

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