/* style/fishing-games.css */

/* 🚨 Cần thiết để đảm bảo nội dung không bị che bởi fixed header */
.page-fishing-games {
  padding-top: 0; /* HERO section handles its own spacing */
  background-color: #0a0a0a; /* Thống nhất với body background */
  color: #ffffff; /* Văn bản sáng trên nền tối */
}

/* 🚨 Desktop Hero Section Styles (Strictly enforced) */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0; /* Đảm bảo không có margin-top thừa */
}

.page-fishing-games__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin: 0;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* 🚨 Mobile Responsive Hero Section Styles (Strictly enforced) */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
  }
}

/* General Section Styling */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-fishing-games__title {
  font-size: 3.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fishing-games__subtitle {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.page-fishing-games__description {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-fishing-games__description strong {
  color: #FFD700;
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fishing-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #0a0a0a;
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
  background-color: #e6c200;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #0a0a0a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 215, 0, 0.05); /* Light gold background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 215, 0, 0.1);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000080;
  border-radius: 50%;
  border: 2px solid #FFD700;
  overflow: hidden;
}

.page-fishing-games__feature-icon img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__feature-description {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

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

.page-fishing-games__game-card {
  background-color: rgba(0, 0, 128, 0.3); /* Navy blue transparent */
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-fishing-games__game-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 15px 10px 15px;
  font-weight: 700;
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 20px 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
  background-color: #FFD700;
  color: #0a0a0a;
  border: 2px solid #FFD700;
}

.page-fishing-games__btn-small:hover {
  background-color: #e6c200;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 215, 0, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-item:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 215, 0, 0.1);
}

.page-fishing-games__step-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000080;
  border-radius: 50%;
  border: 3px solid #FFD700;
  overflow: hidden;
}

.page-fishing-games__step-icon img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.page-fishing-games__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__step-description {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promo Section */
.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 {
  background-color: rgba(0, 0, 128, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.page-fishing-games__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-fishing-games__promo-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 15px 10px 15px;
  font-weight: 700;
}

.page-fishing-games__promo-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 20px 15px;
  line-height: 1.6;
  flex-grow: 1;
}

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

.page-fishing-games__tip-card {
  background-color: rgba(255, 215, 0, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__tip-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 215, 0, 0.1);
}

.page-fishing-games__tip-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid #FFD700;
}

.page-fishing-games__tip-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__tip-description {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

/* App Section */
.page-fishing-games__app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-fishing-games__app-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-fishing-games__app-text .page-fishing-games__subtitle {
  text-align: left;
}

.page-fishing-games__app-text .page-fishing-games__description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-fishing-games__app-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__app-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__support-item {
  background-color: rgba(0, 0, 128, 0.3);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__support-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFD700;
  border-radius: 50%;
  overflow: hidden;
}

.page-fishing-games__support-icon img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.page-fishing-games__support-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 215, 0, 0.08);
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #000080; /* Navy blue background for questions */
  border: 1px solid #FFD700;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: #0000a0;
  border-color: #e6c200;
}

.page-fishing-games__faq-question:active {
  background: #000060;
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  padding-bottom: 80px;
}

/* 🚨 Mobile Responsive Styles (Strictly enforced) */
@media (max-width: 1024px) {
  .page-fishing-games__title {
    font-size: 2.8em;
  }
  .page-fishing-games__subtitle {
    font-size: 2em;
  }
  .page-fishing-games__app-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-fishing-games__app-text, .page-fishing-games__app-image {
    text-align: center;
  }
  .page-fishing-games__app-text .page-fishing-games__subtitle,
  .page-fishing-games__app-text .page-fishing-games__description {
    text-align: center;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 30px 15px;
  }
  .page-fishing-games__title {
    font-size: 2.2em;
    margin-bottom: 20px;
  }
  .page-fishing-games__subtitle {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-fishing-games__description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promo-grid,
  .page-fishing-games__tips-grid,
  .page-fishing-games__support-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__tip-card,
  .page-fishing-games__support-item {
    padding: 25px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__tip-title,
  .page-fishing-games__support-title {
    font-size: 1.2em;
  }
  .page-fishing-games__feature-icon,
  .page-fishing-games__step-icon,
  .page-fishing-games__support-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-fishing-games__game-card img,
  .page-fishing-games__promo-card img {
    height: 180px;
  }
  .page-fishing-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 1.05em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 15px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }
  /* 🚨 Mobile image responsive adaptation (Strictly enforced) */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__intro-section,
  .page-fishing-games__why-us-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promo-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__app-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}