/* style/fishing-games.css */

/* Custom Colors */
:root {
  --page-fishing-games-bg-color: #08160F;
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-fishing-games-border-color: #2E7A4E;
  --page-fishing-games-glow-color: #57E38D;
  --page-fishing-games-gold-color: #F2C14E;
  --page-fishing-games-divider-color: #1E3A2A;
  --page-fishing-games-deep-green-color: #0A4B2C;
}

.page-fishing-games {
  background-color: var(--page-fishing-games-bg-color);
  color: var(--page-fishing-games-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.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(1.8rem, 2.5vw, 2.8rem);
  color: var(--page-fishing-games-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__description,
.page-fishing-games__text-block {
  font-size: 1.1rem;
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  margin-bottom: 20px;
}

.page-fishing-games__text-block {
  text-align: left;
  padding: 0 10px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom */
  background-color: var(--page-fishing-games-deep-green-color);
  position: relative;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  height: auto;
  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 20px;
  position: relative;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem); /* Use clamp for H1 */
  color: var(--page-fishing-games-gold-color);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__hero-content .page-fishing-games__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

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

.page-fishing-games__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: var(--page-fishing-games-text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--page-fishing-games-gold-color);
  border: 2px solid var(--page-fishing-games-gold-color);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 30px;
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 60px 0;
  background-color: var(--page-fishing-games-bg-color);
  border-bottom: 1px solid var(--page-fishing-games-divider-color);
}

/* Video Section */
.page-fishing-games__video-section {
  padding: 10px 0 60px 0; /* Small top padding */
  background-color: var(--page-fishing-games-deep-green-color);
  position: relative;
  text-align: center;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  margin: 0 auto 20px auto;
  box-sizing: border-box;
}

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

.page-fishing-games__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  background: transparent; /* No visible overlay */
}

.page-fishing-games__video-caption {
  font-style: italic;
  color: var(--page-fishing-games-text-secondary);
  margin-top: 10px;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 60px 0;
  background-color: var(--page-fishing-games-bg-color);
  border-bottom: 1px solid var(--page-fishing-games-divider-color);
}

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

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

.page-fishing-games__feature-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__feature-icon,
.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--page-fishing-games-border-color);
  display: block;
}

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

.page-fishing-games__card-text {
  font-size: 1rem;
  color: var(--page-fishing-games-text-secondary);
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 0;
  background-color: var(--page-fishing-games-bg-color);
  border-bottom: 1px solid var(--page-fishing-games-divider-color);
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: guide-counter;
}

.page-fishing-games__guide-list li {
  background-color: var(--page-fishing-games-card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--page-fishing-games-border-color);
  position: relative;
  padding-left: 60px;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__guide-list li::before {
  counter-increment: guide-counter;
  content: "Bước " counter(guide-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--page-fishing-games-deep-green-color);
  color: var(--page-fishing-games-gold-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--page-fishing-games-gold-color);
}

.page-fishing-games__guide-list strong {
  color: var(--page-fishing-games-gold-color);
  font-size: 1.1rem;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 60px 0;
  background-color: var(--page-fishing-games-bg-color);
  border-bottom: 1px solid var(--page-fishing-games-divider-color);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-fishing-games__tips-list li {
  background-color: var(--page-fishing-games-card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--page-fishing-games-border-color);
  color: var(--page-fishing-games-text-secondary);
  position: relative;
  padding-left: 40px;
}

.page-fishing-games__tips-list li::before {
  content: "•";
  color: var(--page-fishing-games-glow-color);
  font-size: 1.5rem;
  position: absolute;
  left: 15px;
  top: 15px;
  line-height: 1;
}

.page-fishing-games__tips-list strong {
  color: var(--page-fishing-games-text-main);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: var(--page-fishing-games-bg-color);
  border-bottom: 1px solid var(--page-fishing-games-divider-color);
}

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

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 1.3rem;
}

.page-fishing-games__promo-card .page-fishing-games__card-text {
  margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: var(--page-fishing-games-bg-color);
  border-bottom: 1px solid var(--page-fishing-games-divider-color);
}

.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;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--page-fishing-games-text-main);
  background-color: var(--page-fishing-games-deep-green-color);
  border-bottom: 1px solid var(--page-fishing-games-border-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--page-fishing-games-border-color);
}

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

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--page-fishing-games-text-secondary);
  font-size: 1rem;
}

.page-fishing-games__faq-answer p {
  margin-top: 15px;
  text-align: left;
}

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

.page-fishing-games__faq-item summary {
  list-style: none;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg-color);
  text-align: center;
}

.page-fishing-games__cta-bottom .page-fishing-games__container {
  background-color: var(--page-fishing-games-card-bg);
  padding: 50px 30px;
  border-radius: 20px;
  border: 2px solid var(--page-fishing-games-border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__cta-bottom .page-fishing-games__section-title {
  color: var(--page-fishing-games-gold-color);
  margin-bottom: 20px;
}

.page-fishing-games__cta-bottom .page-fishing-games__description {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 2.2vw, 2.5rem);
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

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

  .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__video-section,
  .page-fishing-games__features-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom {
    padding: 40px 0;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust for mobile */
  }

  .page-fishing-games__description,
  .page-fishing-games__text-block {
    font-size: 1rem;
    text-align: left;
  }

  .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: 15px 20px !important;
    font-size: 1.05rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

  /* Images responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__promo-image {
    height: 180px;
  }

  /* 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-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__guide-list li,
  .page-fishing-games__tips-list li {
    padding-left: 20px;
  }

  .page-fishing-games__guide-list li::before {
    left: 10px;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .page-fishing-games__tips-list li::before {
    left: 10px;
    top: 10px;
  }

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

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

  .page-fishing-games__cta-bottom .page-fishing-games__container {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

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

  .page-fishing-games__feature-icon,
  .page-fishing-games__promo-image {
    height: 150px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 1rem !important;
    padding: 12px 15px !important;
  }
}