/* style/fishing-games.css */

:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --btn-gradient-start: #2AD16F;
  --btn-gradient-end: #13994A;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-fishing-games {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  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__section-title {
  font-size: 2.8rem;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

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

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: var(--gold-color);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  color: var(--text-main-color);
  margin-bottom: 40px;
}

.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: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
  color: var(--text-main-color);
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--btn-gradient-start);
  border: 2px solid var(--btn-gradient-start);
  box-shadow: none;
}

.page-fishing-games__btn-secondary:hover {
  background: var(--btn-gradient-start);
  color: var(--page-bg-color);
  transform: translateY(-2px);
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: var(--card-bg-color);
}

.page-fishing-games__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__text-block p {
  margin-bottom: 20px;
  color: var(--text-main-color);
  font-size: 1.05rem;
}

.page-fishing-games__image-block {
  text-align: center;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

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

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

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-color);
}

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

.page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 80px 0;
  background-color: var(--card-bg-color);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-color);
}

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

.page-fishing-games__game-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-fishing-games__game-description {
  color: var(--text-secondary-color);
  font-size: 0.95rem;
  padding: 0 20px 20px 20px;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

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

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

.page-fishing-games__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__step-title {
  font-size: 1.3rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__step-item p {
  color: var(--text-secondary-color);
  font-size: 0.95rem;
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
  background-color: var(--card-bg-color);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
}

.page-fishing-games__tips-list li {
  background-color: var(--deep-green-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-main-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tips-list li strong {
  color: var(--gold-color);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

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

.page-fishing-games__promo-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary-color);
  margin-top: 20px;
}

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

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

.page-fishing-games__faq-item {
  background-color: var(--deep-green-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--gold-color);
  cursor: pointer;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

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

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

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

/* Final CTA Section */
.page-fishing-games__final-cta-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
  text-align: center;
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-fishing-games__grid-2-cols {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__hero-image-container {
    max-height: 450px;
  }

  .page-fishing-games__section-title {
    font-size: 2.2rem;
  }
}

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

  .page-fishing-games__hero-image-container {
    max-height: 300px;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin: 0 auto;
  }

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

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

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

  .page-fishing-games__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__about-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section {
    padding: 60px 0;
  }

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

  .page-fishing-games__card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__faq-item {
    padding: 20px;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title {
    font-size: 1.3rem;
  }

  .page-fishing-games__card p,
  .page-fishing-games__game-description,
  .page-fishing-games__step-item p,
  .page-fishing-games__promo-note,
  .page-fishing-games__tips-list li {
    font-size: 0.9rem;
  }

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

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

  /* Mobile image and video responsive adaptation */
  .page-fishing-games img,
  .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-container,
  .page-fishing-games__about-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__final-cta-section,
  .page-fishing-games__games-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__features-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-image-container {
    max-height: 200px;
  }
  .page-fishing-games__section-title {
    font-size: 1.5rem;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
}