/* style/cockfighting-betting-guide.css */

/* 🚨 Cần điều chỉnh padding-top cho main để tránh bị header cố định che khuất */
.page-cockfighting-betting-guide {
  padding-top: 120px; /* Khoảng cách cho header cố định trên desktop */
  color: #ffffff; /* Mặc định chữ trắng trên nền đen của body */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-cockfighting-betting-guide {
    padding-top: 100px; /* Khoảng cách cho header cố định trên mobile */
  }
}

.page-cockfighting-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting-betting-guide__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Vàng kim */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-betting-guide__section-title--dark {
  color: #DC143C; /* Đỏ đậm */
}

.page-cockfighting-betting-guide__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-cockfighting-betting-guide__section-description .page-cockfighting-betting-guide__highlight-dark {
  color: #DC143C; /* Đỏ đậm trên nền sáng */
  font-weight: bold;
}

.page-cockfighting-betting-guide__highlight {
  color: #FFD700; /* Vàng kim */
  font-weight: bold;
}

.page-cockfighting-betting-guide__highlight-dark {
  color: #DC143C; /* Đỏ đậm */
  font-weight: bold;
}

.page-cockfighting-betting-guide__btn-primary,
.page-cockfighting-betting-guide__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-cockfighting-betting-guide__btn-primary {
  background: #FFD700; /* Vàng kim */
  color: #000000; /* Chữ đen trên nền vàng để đảm bảo tương phản WCAG AA */
  border-color: #FFD700;
}

.page-cockfighting-betting-guide__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-cockfighting-betting-guide__btn-secondary {
  background: #DC143C; /* Đỏ đậm */
  color: #ffffff; /* Chữ trắng */
  border-color: #DC143C;
}

.page-cockfighting-betting-guide__btn-secondary:hover {
  background: #c01234;
  border-color: #c01234;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(220, 20, 60, 0.4);
}

.page-cockfighting-betting-guide__btn-small {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #FFD700;
  color: #000000; /* Chữ đen */
  border: none;
}

.page-cockfighting-betting-guide__btn-small:hover {
  background: #e6c200;
  transform: translateY(-1px);
}

.page-cockfighting-betting-guide__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Các phần chung */
.page-cockfighting-betting-guide__dark-bg {
  background-color: #0d0d0d; /* Nền tối */
  color: #ffffff;
}

.page-cockfighting-betting-guide__light-bg {
  background-color: #1a1a1a; /* Nền sáng hơn một chút để tạo sự phân biệt */
  color: #f0f0f0;
}

.page-cockfighting-betting-guide__dark-bg-card {
  background: rgba(255, 255, 255, 0.08); /* Nền thẻ hơi trong suốt */
  color: #ffffff;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting-betting-guide__dark-bg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* HERO Section */
.page-cockfighting-betting-guide__hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  text-align: center;
}

.page-cockfighting-betting-guide__hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-cockfighting-betting-guide__hero-description {
  font-size: 22px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-cockfighting-betting-guide__hero-cta .page-cockfighting-betting-guide__btn-primary {
  margin-right: 20px;
}

/* Intro Section */
.page-cockfighting-betting-guide__intro-section {
  padding: 60px 0;
}

.page-cockfighting-betting-guide__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting-betting-guide__intro-text p {
  font-size: 17px;
  margin-bottom: 15px;
}

.page-cockfighting-betting-guide__intro-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Registration Section */
.page-cockfighting-betting-guide__registration-section {
  padding: 60px 0;
}

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

.page-cockfighting-betting-guide__step-card {
  padding: 30px;
  text-align: center;
}

.page-cockfighting-betting-guide__step-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-cockfighting-betting-guide__step-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting-betting-guide__step-card p {
  font-size: 16px;
  color: #e0e0e0;
}

/* Cockfighting Rules Section */
.page-cockfighting-betting-guide__cockfighting-rules {
  padding: 60px 0;
}

.page-cockfighting-betting-guide__rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.page-cockfighting-betting-guide__rule-card {
  padding: 30px;
}

.page-cockfighting-betting-guide__rule-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting-betting-guide__rule-title {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting-betting-guide__rule-card p,
.page-cockfighting-betting-guide__rule-card ul {
  font-size: 17px;
  color: #e0e0e0;
}

.page-cockfighting-betting-guide__rule-card ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.page-cockfighting-betting-guide__rule-card ul li {
  margin-bottom: 8px;
}

/* Tips Section */
.page-cockfighting-betting-guide__tips-section {
  padding: 60px 0;
}

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

.page-cockfighting-betting-guide__tip-card {
  padding: 30px;
  text-align: center;
}

.page-cockfighting-betting-guide__tip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting-betting-guide__tip-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting-betting-guide__tip-card p {
  font-size: 16px;
  color: #e0e0e0;
}

/* Promotions Section */
.page-cockfighting-betting-guide__promotions-section {
  padding: 60px 0;
}

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

.page-cockfighting-betting-guide__promo-card {
  padding: 25px;
  text-align: center;
}

.page-cockfighting-betting-guide__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting-betting-guide__promo-title {
  font-size: 26px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting-betting-guide__promo-card p {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* Support Section */
.page-cockfighting-betting-guide__support-section {
  padding: 60px 0;
}

.page-cockfighting-betting-guide__support-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting-betting-guide__support-content p {
  font-size: 17px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-cockfighting-betting-guide__contact-info {
  margin-top: 30px;
  padding: 20px;
  background: rgba(220, 20, 60, 0.1);
  border-left: 5px solid #DC143C;
  border-radius: 5px;
}

.page-cockfighting-betting-guide__contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-cockfighting-betting-guide__faq-section {
  padding: 60px 0;
}

.page-cockfighting-betting-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting-betting-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-cockfighting-betting-guide__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-cockfighting-betting-guide__faq-item.active .page-cockfighting-betting-guide__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng !important và giá trị đủ lớn */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Nền tối nhẹ */
  border-radius: 0 0 5px 5px;
  color: #e0e0e0;
}

.page-cockfighting-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting-betting-guide__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.page-cockfighting-betting-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-cockfighting-betting-guide__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-cockfighting-betting-guide__faq-item.active .page-cockfighting-betting-guide__faq-toggle {
  color: #DC143C;
  transform: rotate(45deg);
}

/* Blog Section */
.page-cockfighting-betting-guide__blog-section {
  padding: 60px 0;
}

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

.page-cockfighting-betting-guide__blog-card {
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.page-cockfighting-betting-guide__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
}

.page-cockfighting-betting-guide__blog-content {
  padding: 20px;
}

.page-cockfighting-betting-guide__blog-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.page-cockfighting-betting-guide__blog-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting-betting-guide__blog-title a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-cockfighting-betting-guide__blog-excerpt {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-cockfighting-betting-guide__read-more {
  display: inline-block;
  color: #DC143C;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.page-cockfighting-betting-guide__read-more:hover {
  color: #ff4d6e;
  text-decoration: underline;
}

/* 🚨 Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-betting-guide__hero-title {
    font-size: 40px;
  }
  .page-cockfighting-betting-guide__hero-description {
    font-size: 19px;
  }
  .page-cockfighting-betting-guide__section-title {
    font-size: 30px;
  }
  .page-cockfighting-betting-guide__section-description {
    font-size: 16px;
  }
  .page-cockfighting-betting-guide__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-betting-guide__rules-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-betting-guide__rule-image {
    height: 250px;
  }
  .page-cockfighting-betting-guide__promo-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-betting-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting-betting-guide__container {
    padding: 0 15px;
  }
  .page-cockfighting-betting-guide__hero-section {
    padding: 60px 0;
  }
  .page-cockfighting-betting-guide__hero-title {
    font-size: 32px;
  }
  .page-cockfighting-betting-guide__hero-description {
    font-size: 17px;
  }
  .page-cockfighting-betting-guide__hero-cta .page-cockfighting-betting-guide__btn-primary {
    margin-right: 10px;
    padding: 10px 20px;
    font-size: 16px;
  }
  .page-cockfighting-betting-guide__hero-cta .page-cockfighting-betting-guide__btn-secondary {
    padding: 10px 20px;
    font-size: 16px;
  }
  .page-cockfighting-betting-guide__section-title {
    font-size: 26px;
  }
  .page-cockfighting-betting-guide__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-cockfighting-betting-guide__intro-section,
  .page-cockfighting-betting-guide__registration-section,
  .page-cockfighting-betting-guide__cockfighting-rules,
  .page-cockfighting-betting-guide__tips-section,
  .page-cockfighting-betting-guide__promotions-section,
  .page-cockfighting-betting-guide__support-section,
  .page-cockfighting-betting-guide__faq-section,
  .page-cockfighting-betting-guide__blog-section {
    padding: 40px 0;
  }
  .page-cockfighting-betting-guide__intro-text p,
  .page-cockfighting-betting-guide__rule-card p,
  .page-cockfighting-betting-guide__rule-card ul,
  .page-cockfighting-betting-guide__tip-card p,
  .page-cockfighting-betting-guide__promo-card p,
  .page-cockfighting-betting-guide__support-content p,
  .page-cockfighting-betting-guide__contact-info p,
  .page-cockfighting-betting-guide__blog-excerpt {
    font-size: 15px;
  }
  .page-cockfighting-betting-guide__step-title,
  .page-cockfighting-betting-guide__tip-title,
  .page-cockfighting-betting-guide__promo-title {
    font-size: 20px;
  }
  .page-cockfighting-betting-guide__rule-title {
    font-size: 24px;
  }
  .page-cockfighting-betting-guide__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting-betting-guide__blog-title {
    font-size: 18px;
  }
  /* 🚨 Mobile image responsive styles */
  .page-cockfighting-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting-betting-guide__section,
  .page-cockfighting-betting-guide__card,
  .page-cockfighting-betting-guide__container,
  .page-cockfighting-betting-guide__grid-layout,
  .page-cockfighting-betting-guide__steps-grid,
  .page-cockfighting-betting-guide__rules-grid,
  .page-cockfighting-betting-guide__tips-grid,
  .page-cockfighting-betting-guide__promo-grid,
  .page-cockfighting-betting-guide__blog-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting-betting-guide__faq-item.active .page-cockfighting-betting-guide__faq-answer {
    padding: 15px !important;
  }
  .page-cockfighting-betting-guide__faq-question {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-betting-guide__hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting-betting-guide__hero-cta .page-cockfighting-betting-guide__btn-primary,
  .page-cockfighting-betting-guide__hero-cta .page-cockfighting-betting-guide__btn-secondary {
    margin-right: 0;
    width: 100%;
  }
  .page-cockfighting-betting-guide__steps-grid,
  .page-cockfighting-betting-guide__promo-grid,
  .page-cockfighting-betting-guide__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-betting-guide__rules-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-betting-guide__hero-title {
    font-size: 28px;
  }
  .page-cockfighting-betting-guide__section-title {
    font-size: 24px;
  }
  .page-cockfighting-betting-guide__faq-question h3 {
    font-size: 15px;
  }
  .page-cockfighting-betting-guide__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
}