/* style/cockfighting.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Mặc định chữ trắng trên nền body tối */
  background-color: transparent; /* Nền chính sẽ do body và shared.css quản lý */
}

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

.page-cockfighting__dark-bg {
  background-color: #0d0d0d; /* Nền tối hơn cho các phần cụ thể */
  color: #ffffff;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một khoảng nhỏ, body đã có padding-top */
  background-color: #0a0a0a; /* Đảm bảo nền tối cho hero */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Làm mờ ảnh để chữ nổi bật */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  color: #ffffff;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #26A9E0; /* Màu thương hiệu cho tiêu đề chính */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-text {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal; /* Cho phép chữ xuống dòng */
  word-wrap: break-word; /* Ngắt từ */
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1a8ecf;
  border-color: #1a8ecf;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__btn-text {
  background-color: transparent;
  color: #26A9E0;
  border: none;
  padding: 5px 0;
  text-decoration: underline;
}

.page-cockfighting__btn-text:hover {
  color: #1a8ecf;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__security-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Nền tối nhẹ cho các phần nội dung */
  color: #f0f0f0;
}

.page-cockfighting__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-cockfighting__types-section,
.page-cockfighting__strategies-section,
.page-cockfighting__promotions-section,
.page-cockfighting__cta-bottom-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Nền tối đậm */
  color: #ffffff;
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.08); /* Nền card trong suốt nhẹ */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
}

.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #f0f0f0;
}

.page-cockfighting__list-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__list-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__sub-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 40px auto 0;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #26A9E0;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: #f0f0f0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

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

.page-cockfighting__faq-answer .page-cockfighting__btn-text {
  margin-top: 10px;
}

.page-cockfighting__cta-bottom-section {
  text-align: center;
  padding: 60px 20px;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__text-block {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-cockfighting__floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #EA7C07; /* Màu login */
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.page-cockfighting__floating-button:hover {
  background-color: #d16e06;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 0 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-cockfighting__description {
    font-size: 1rem;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  }

  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__security-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-cockfighting__description {
    font-size: 0.95rem;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-text {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__grid-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card-image {
    height: 180px;
  }

  .page-cockfighting__list-item {
    padding: 20px 25px;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  .page-cockfighting__floating-button {
    bottom: 15px;
    right: 15px;
    padding: 12px 20px;
    font-size: 0.9rem;
    white-space: normal;
    text-align: center;
    width: auto;
    max-width: calc(100% - 30px);
  }

  /* Force responsive images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__security-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by .page-cockfighting__container */
    /* padding-right: 15px; */ /* Handled by .page-cockfighting__container */
    overflow: hidden !important;
  }
}