/* style/cockfighting.css */
/* body đã có padding-top: var(--header-offset); trang này không được thêm padding-top tương tự vào các phần tử chính */

.page-cockfighting {
  color: #ffffff; /* Màu chữ mặc định cho nền tối */
  background-color: #0a0a0a; /* Nền tối từ body */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Chỉ một khoảng cách nhỏ từ đầu trang */
  background: linear-gradient(135deg, #26A9E0, #1a7eb3);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  max-width: 100%;
}

.page-cockfighting__lead-text {
  font-size: 1.15em;
  line-height: 1.6;
  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,
.page-cockfighting__btn-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

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

.page-cockfighting__btn-link {
  background-color: #EA7C07; /* Màu login */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-link:hover {
  background-color: #c96706;
  border-color: #c96706;
}

.page-cockfighting__video-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__video-container {
  width: 100%; /* Desktop width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 12px;
  transform: translateZ(0);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__mobile-app-section,
.page-cockfighting__support-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 20px;
  background-color: #0a0a0a; /* Nền tối */
  color: #ffffff;
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.page-cockfighting__feature-grid,
.page-cockfighting__step-grid,
.page-cockfighting__promo-grid,
.page-cockfighting__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card,
.page-cockfighting__step-card,
.page-cockfighting__promo-card,
.page-cockfighting__strategy-card,
.page-cockfighting__betting-item,
.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Nền sáng nhẹ trên nền tối */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__feature-icon,
.page-cockfighting__promo-image,
.page-cockfighting__app-image,
.page-cockfighting__support-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__promo-title,
.page-cockfighting__strategy-title,
.page-cockfighting__betting-item-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting__feature-text,
.page-cockfighting__step-text,
.page-cockfighting__promo-text,
.page-cockfighting__strategy-text,
.page-cockfighting__betting-item-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-cockfighting__betting-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__mobile-app-section .page-cockfighting__app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__app-image {
  flex-shrink: 0;
  max-width: 400px;
  width: 100%;
  height: auto;
}

.page-cockfighting__app-text {
  flex-grow: 1;
}

.page-cockfighting__app-subtitle {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-cockfighting__app-benefits {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-cockfighting__app-benefits li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-cockfighting__app-benefits li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-cockfighting__support-image {
  max-width: 600px;
  margin: 30px auto;
  display: block;
}

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

.page-cockfighting__faq-item {
  text-align: left;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #26A9E0;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 30px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* ========================================================================= */
/* Responsive Design */
/* ========================================================================= */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }

  .page-cockfighting__mobile-app-section .page-cockfighting__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__app-image {
    max-width: 80%;
  }

  .page-cockfighting__app-text {
    margin-top: 30px;
  }

  .page-cockfighting__app-benefits li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__main-title {
    font-size: 2.2em;
    line-height: 1.3;
  }

  .page-cockfighting__lead-text {
    font-size: 1em;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting__section-description {
    font-size: 0.95em;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-text,
  .page-cockfighting__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__hero-section,
  .page-cockfighting__video-section,
  .page-cockfighting__features-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__mobile-app-section,
  .page-cockfighting__support-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 15px;
  }

  .page-cockfighting__content-area {
    padding: 0 15px;
  }

  /* Responsive images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Responsive image containers */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__strategy-card,
  .page-cockfighting__betting-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  /* Responsive videos */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Responsive video containers */
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important;
    height: 0 !important;
  }

  .page-cockfighting__app-content {
    gap: 30px;
  }

  .page-cockfighting__app-image {
    max-width: 90%;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__step-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__betting-list {
    grid-template-columns: 1fr;
  }
}