.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF; /* Body background is var(--secondary-color) which is #FFFFFF, so text color is dark */
}

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

.page-fishing-games__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #017439;
  border-radius: 2px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background: linear-gradient(135deg, #017439, #005a2e); /* Brand color gradient */
  color: #ffffff;
  overflow: hidden;
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__hero-image img:hover {
  transform: scale(1.02);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__hero-content h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Special color for H1 as per instructions, ensuring contrast */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-content p {
  font-size: clamp(16px, 1.8vw, 20px);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Use specific color for 'Đăng Ký' CTA */
  color: #FFFF00; /* Specific font color for 'Đăng Ký' */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid #FFFF00;
}

.page-fishing-games__cta-button:hover {
  background: #a30606;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: #ffffff;
}

/* Introduction Section */
.page-fishing-games__intro-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
  color: #333333;
}

.page-fishing-games__intro-text {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Quick Access Section */
.page-fishing-games__quick-access-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #005a2e, #017439);
  color: #ffffff;
}

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

.page-fishing-games__access-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 25px 15px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__access-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__access-icon {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__access-text {
  line-height: 1.4;
}

/* Core Games Section */
.page-fishing-games__core-games-section {
  padding: 80px 20px;
  background-color: #ffffff;
  color: #333333;
}

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

.page-fishing-games__feature-item {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__feature-item h3 {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__feature-item p {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 20px;
  background: #017439;
  color: #ffffff;
}

.page-fishing-games__promo-intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #f0f0f0;
}

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

.page-fishing-games__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__promo-img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-fishing-games__promo-card h3 {
  font-size: 20px;
  color: #FFFF00;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__promo-card p {
  font-size: 15px;
  color: #e0e0e0;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: #ffffff;
  color: #017439;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 2px solid #ffffff;
}

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

.page-fishing-games__promo-outro {
  font-size: 16px;
  text-align: center;
  margin-top: 50px;
  color: #f0f0f0;
}

/* Security & Support Section */
.page-fishing-games__security-support-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-fishing-games__security-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__security-icon {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games__security-item h3 {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__security-item p {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
}

.page-fishing-games__security-outro {
  font-size: 17px;
  text-align: center;
  margin-top: 50px;
  color: #333333;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 20px;
  background: #017439;
  color: #ffffff;
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

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

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFFF00;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.7;
  border-radius: 0 0 10px 10px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 10px;
}

/* Blog Section */
.page-fishing-games__blog-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
  color: #333333;
}

.page-fishing-games__blog-intro {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #555555;
}

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

.page-fishing-games__blog-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-fishing-games__blog-card h3 {
  font-size: 20px;
  margin: 20px 20px 10px;
  line-height: 1.4;
  font-weight: 700;
}

.page-fishing-games__blog-card h3 a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__blog-card h3 a:hover {
  color: #005a2e;
}

.page-fishing-games__blog-date {
  font-size: 14px;
  color: #999999;
  margin: 0 20px 15px;
}

.page-fishing-games__blog-card p {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__read-more {
  display: inline-block;
  margin: 0 20px 20px;
  color: #017439;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-fishing-games__read-more:hover {
  color: #005a2e;
  text-decoration: underline;
}

.page-fishing-games__view-all-button {
  text-align: center;
  margin-top: 50px;
}

/* Common button styles for different sections */
.page-fishing-games__btn-primary {
  background: #C30808;
  color: #FFFF00;
  border: 2px solid #FFFF00;
  transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 28px;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(24px, 3.5vw, 40px);
  }
  .page-fishing-games__hero-content p {
    font-size: clamp(15px, 1.6vw, 18px);
  }
  .page-fishing-games__access-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .page-fishing-games__game-features, .page-fishing-games__promo-grid, .page-fishing-games__security-content, .page-fishing-games__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(22px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-content p {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 25px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-fishing-games__intro-section, .page-fishing-games__quick-access-section, .page-fishing-games__core-games-section, .page-fishing-games__promotions-section, .page-fishing-games__security-support-section, .page-fishing-games__faq-section, .page-fishing-games__blog-section {
    padding: 50px 15px;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__access-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-fishing-games__access-card {
    padding: 20px 10px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__feature-item, .page-fishing-games__promo-card, .page-fishing-games__security-item, .page-fishing-games__blog-card {
    padding: 20px;
  }
  .page-fishing-games__feature-img, .page-fishing-games__promo-img, .page-fishing-games__security-icon, .page-fishing-games__blog-img {
    
    margin-bottom: 15px;
  }
  .page-fishing-games__feature-item h3, .page-fishing-games__promo-card h3, .page-fishing-games__security-item h3, .page-fishing-games__blog-card h3 {
    font-size: 18px;
  }
  .page-fishing-games__feature-item p, .page-fishing-games__promo-card p, .page-fishing-games__security-item p, .page-fishing-games__blog-card p {
    font-size: 14px;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 15px;
  }
  .page-fishing-games__blog-card h3 {
    margin: 15px 15px 8px;
  }
  .page-fishing-games__blog-date, .page-fishing-games__blog-card p, .page-fishing-games__read-more {
    margin: 0 15px 15px;
  }
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  /* Image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
  }
  .page-fishing-games__hero-content h1 {
    font-size: clamp(20px, 8vw, 30px);
  }
  .page-fishing-games__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-fishing-games__section-title {
    font-size: 22px;
  }
  .page-fishing-games__intro-text {
    font-size: 15px;
  }
  .page-fishing-games__access-card {
    font-size: 14px;
  }
  .page-fishing-games__feature-item h3, .page-fishing-games__promo-card h3, .page-fishing-games__security-item h3, .page-fishing-games__blog-card h3 {
    font-size: 17px;
  }
  .page-fishing-games__feature-item p, .page-fishing-games__promo-card p, .page-fishing-games__security-item p, .page-fishing-games__blog-card p {
    font-size: 14px;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    font-size: 15px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 22px;
  }
  .page-fishing-games__faq-answer p {
    font-size: 14px;
  }
}