/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset)；trang này không được thêm lại biến này */

:root {
  --keovip-primary: #26A9E0;
  --keovip-secondary: #FFFFFF;
  --keovip-text-dark: #333333;
  --keovip-text-light: #ffffff;
  --keovip-bg-dark: #0a0a0a; /* body background */
  --keovip-login-btn: #EA7C07;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--keovip-text-light); /* Màu chữ sáng do nền body tối */
  background-color: var(--keovip-bg-dark);
}

.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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Nhỏ thôi, body đã có padding-top */
  padding-bottom: 60px;
}

.page-fishing-games__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 400px; /* Đảm bảo kích thước tối thiểu */
}

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

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--keovip-text-light);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Sử dụng clamp cho font-size */
}

.page-fishing-games__description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background-color: var(--keovip-primary);
  color: var(--keovip-text-light);
  border: 2px solid var(--keovip-primary);
}

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--keovip-primary), 10%);
  border-color: darken(var(--keovip-primary), 10%);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--keovip-primary);
  border: 2px solid var(--keovip-primary);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--keovip-primary);
  color: var(--keovip-text-light);
}

/* Sections */
.page-fishing-games__introduction,
.page-fishing-games__how-to-play,
.page-fishing-games__promotions,
.page-fishing-games__faq-section {
  padding: 80px 0;
  color: var(--keovip-text-dark);
}

.page-fishing-games__features,
.page-fishing-games__tips-strategy,
.page-fishing-games__why-choose,
.page-fishing-games__cta-final {
  padding: 80px 0;
  color: var(--keovip-text-light);
}

.page-fishing-games__dark-section {
  background-color: var(--keovip-bg-dark);
}

.page-fishing-games__light-bg {
  background-color: var(--keovip-secondary);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--keovip-primary);
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--keovip-text-light);
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
  color: var(--keovip-text-dark);
}

.page-fishing-games__content-image {
  display: block;
  margin: 40px auto;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
}

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

.page-fishing-games__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--keovip-text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-fishing-games__light-bg .page-fishing-games__card {
  background: var(--keovip-secondary);
  color: var(--keovip-text-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

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

.page-fishing-games__light-bg .page-fishing-games__card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Kích thước cố định cho hình ảnh trong card */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--keovip-primary);
}

.page-fishing-games__light-bg .page-fishing-games__card-title {
  color: var(--keovip-text-dark);
}

.page-fishing-games__card-text {
  font-size: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

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

/* Tips & Strategy */
.page-fishing-games__grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-fishing-games__grid-2-col .page-fishing-games__text-block {
  text-align: left;
}

.page-fishing-games__grid-2-col .page-fishing-games__content-image {
  margin: 0;
}

/* Why Choose Section */
.page-fishing-games__list-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__list-features li {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-fishing-games__list-features li::before {
  content: '✓';
  color: var(--keovip-primary);
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 5px;
  line-height: 1;
}

.page-fishing-games__list-title {
  color: var(--keovip-primary);
}

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

.page-fishing-games__faq-item {
  background: var(--keovip-secondary);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--keovip-text-dark);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #f0f0f0;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #f0f0f0;
  border-bottom: 1px solid #d0d0d0;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--keovip-primary);
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--keovip-text-dark);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

/* Keywords */
.page-fishing-games__keyword {
  color: var(--keovip-primary);
  font-weight: bold;
}

.page-fishing-games__dark-section .page-fishing-games__keyword {
  color: var(--keovip-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    max-height: 60vh;
  }
}

@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-image-wrapper {
    max-height: 50vh;
    margin-bottom: 30px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-fishing-games__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__introduction,
  .page-fishing-games__how-to-play,
  .page-fishing-games__promotions,
  .page-fishing-games__faq-section,
  .page-fishing-games__features,
  .page-fishing-games__tips-strategy,
  .page-fishing-games__why-choose,
  .page-fishing-games__cta-final {
    padding: 50px 0;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 1rem;
  }

  .page-fishing-games__content-image {
    margin: 30px auto;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card {
    padding: 25px;
  }

  .page-fishing-games__card-image {
    height: 180px;
  }

  .page-fishing-games__card-title {
    font-size: 1.2rem;
  }

  .page-fishing-games__grid-2-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-fishing-games__list-features li {
    font-size: 1rem;
    padding: 12px 18px;
  }

  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  /* Responsive images/videos (Mandatory) */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container,
  .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;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__hero-section,
  .page-fishing-games__video-section {
    padding-left: 0 !important; 
    padding-right: 0 !important; 
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }

  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (min-width: 769px) {
  .page-fishing-games__video-container {
    width: 100%; /* Desktop: ensure width is 100% before max-width */
  }
}