.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
  line-height: 1.6;
}

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

.page-fishing-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
  font-weight: bold;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Đăng ký, Đăng nhập */
  color: #FFFF00; /* Đăng ký và Đăng nhập font */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #FFFFFF;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 600px;
  gap: 40px;
}

.page-fishing-games__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-fishing-games__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

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

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  max-width: 800px;
  text-align: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
}

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

.page-fishing-games__grid-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #FFFFFF;
}

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

.page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-fishing-games__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Games Showcase */
.page-fishing-games__games-showcase {
  padding: 80px 0;
}

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

.page-fishing-games__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

.page-fishing-games__game-card .page-fishing-games__card-title {
  color: #017439;
  font-size: 1.6em;
  margin-top: 0;
  padding: 0 15px;
}

.page-fishing-games__game-card .page-fishing-games__card-text {
  color: #555555;
  padding: 0 15px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  margin-top: 20px;
  align-self: center;
  width: calc(100% - 30px);
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
}

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

.page-fishing-games__guide-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-fishing-games__guide-image, .page-fishing-games__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 80px 0;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-fishing-games__strategy-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-item-title {
  font-size: 1.3em;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  background-color: #000;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.page-fishing-games__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    pointer-events: none; /* Allow clicks to pass through by default */
}

.page-fishing-games__video-wrapper:hover .page-fishing-games__video-overlay {
    opacity: 1;
    pointer-events: auto; /* Enable clicks on overlay when hovered */
}

.page-fishing-games__video-cta {
    z-index: 10;
    pointer-events: auto; /* Ensure button is clickable */
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

.page-fishing-games__promotions-section .page-fishing-games__card {
  background-color: #f9f9f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-fishing-games__promotions-section .page-fishing-games__card-title {
  color: #017439;
}

.page-fishing-games__promotions-section .page-fishing-games__card-text {
  color: #555555;
}

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

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
}

.page-fishing-games__security-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-fishing-games__security-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__security-image {
  max-width: 100%;
}

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

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.7;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__cta-content {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
  }

  .page-fishing-games__hero-content {
    max-width: 100%;
    text-align: center;
  }

  .page-fishing-games__main-title {
    font-size: 2.8em;
  }

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

  .page-fishing-games__cta-buttons {
    justify-content: center;
  }

  .page-fishing-games__hero-image-wrapper {
    margin-top: 40px;
    max-width: 100%;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  
  .page-fishing-games__main-title {
    font-size: 2.2em;
  }

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

  .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;
    gap: 15px;
    overflow: hidden !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 img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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__about-section,
  .page-fishing-games__features-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__card-title {
    font-size: 1.3em;
  }

  .page-fishing-games__text-block, .page-fishing-games__card-text {
    font-size: 0.95em;
  }

  .page-fishing-games__guide-item,
  .page-fishing-games__strategy-list li,
  .page-fishing-games__security-list li {
    padding: 20px;
  }

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

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

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

  .page-fishing-games__video-wrapper {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding-bottom: 56.25%;
  }

  .page-fishing-games__video {
    width: 100%;
    height: 100%;
  }
}