/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */

:root {
  --d368-primary-color: #11A84E;
  --d368-secondary-color: #22C768;
  --d368-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --d368-card-bg: #11271B;
  --d368-background: #08160F;
  --d368-text-main: #F2FFF6;
  --d368-text-secondary: #A7D9B8;
  --d368-border: #2E7A4E;
  --d368-glow: #57E38D;
  --d368-gold: #F2C14E;
  --d368-divider: #1E3A2A;
  --d368-deep-green: #0A4B2C;
}

.page-fishing-games {
  background-color: var(--d368-background);
  color: var(--d368-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body đã xử lý padding-top, đây là khoảng cách trang trí */
  background-color: var(--d368-deep-green);
  overflow: hidden;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Làm mờ ảnh nền để text nổi bật */
}

.page-fishing-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fishing-games__hero-title {
  color: var(--d368-gold);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__hero-description {
  color: var(--d368-text-main);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--d368-button-gradient);
  color: var(--d368-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

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

.page-fishing-games__section-title {
  color: var(--d368-gold);
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__text-block {
  color: var(--d368-text-secondary);
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__about-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__games-showcase-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--d368-background);
}

.page-fishing-games__why-choose-section {
  background-color: var(--d368-card-bg);
}

.page-fishing-games__features-grid,
.page-fishing-games__steps-grid,
.page-fishing-games__game-cards-grid,
.page-fishing-games__promo-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 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,
.page-fishing-games__step-title,
.page-fishing-games__game-name,
.page-fishing-games__promo-title {
  color: var(--d368-text-main);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__feature-description,
.page-fishing-games__step-description,
.page-fishing-games__game-description,
.page-fishing-games__promo-description {
  color: var(--d368-text-secondary);
  font-size: 1rem;
}

.page-fishing-games__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  text-align: left;
}

.page-fishing-games__step-card {
  text-align: left;
}

.page-fishing-games__step-card a {
  color: var(--d368-primary-color);
  text-decoration: underline;
}

.page-fishing-games__game-cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-fishing-games__game-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-fishing-games__game-name {
  flex-grow: 1;
  margin-top: 0;
}

.page-fishing-games__cta-buttons--centered {
  margin-top: 50px;
}

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

.page-fishing-games__btn-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--d368-gold);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--d368-gold);
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-fishing-games__btn-link:hover {
  color: var(--d368-glow);
  border-color: var(--d368-glow);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: var(--d368-card-bg);
  border: 1px solid var(--d368-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--d368-text-main);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  transition: background-color 0.3s ease;
  list-style: none;
  color: var(--d368-text-main);
}

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

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: var(--d368-deep-green);
}

.page-fishing-games__faq-question:hover {
  background-color: var(--d368-deep-green);
}

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--d368-primary-color);
}

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

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

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

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

.page-fishing-games__cta-banner {
  background: var(--d368-deep-green);
  padding: 80px 20px;
  text-align: center;
  color: var(--d368-text-main);
}

.page-fishing-games__cta-title {
  color: var(--d368-gold);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__cta-description {
  color: var(--d368-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-fishing-games__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }

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

  .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-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__about-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-banner {
    padding: 60px 0;
  }

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

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

  /* Mobile image responsiveness */
  .page-fishing-games img {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile video responsiveness (if any) */
  .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;
  }

  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}