/* style/cockfighting.css */
/* body đã có padding-top: var(--header-offset) từ shared.css; trang này không cần thêm padding-top cho main hoặc section đầu tiên */

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background #0a0a0a (dark), so text must be light */
  background-color: transparent; /* Main content background is transparent to show body background */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  background-color: #0a0a0a; /* Ensure dark background for hero */
  color: #ffffff;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 15px;
  /* No fixed font-size, relying on weight, line-height for hierarchy */
}

.page-cockfighting__hero-description {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting__intro-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-cockfighting__why-choose-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__how-to-play-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-cockfighting__bet-types-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__tips-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-cockfighting__promotions-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__faq-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-cockfighting__cta-final-section {
  background-color: #26A9E0; /* Primary brand color for final CTA */
  color: #ffffff;
}

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

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

.page-cockfighting__section-title--light {
  color: #ffffff;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-cockfighting__text-block--light {
  color: #f0f0f0;
}

.page-cockfighting__highlight {
  color: #26A9E0; /* Highlight with primary color */
  font-weight: 700;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-tertiary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  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: #1e87c0;
  border-color: #1e87c0;
}

.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-tertiary {
  background-color: #EA7C07; /* Custom login color for specific buttons */
  color: #ffffff;
  border: 2px solid #EA7C07;
  margin-top: 15px;
}

.page-cockfighting__btn-tertiary:hover {
  background-color: #c96806;
  border-color: #c96806;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__tip-card {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__feature-image,
.page-cockfighting__tip-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency, object-fit will ensure aspect ratio */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__feature-title,
.page-cockfighting__tip-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-cockfighting__feature-description,
.page-cockfighting__tip-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-cockfighting__step-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-cockfighting__list-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-cockfighting__promotion-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__promotion-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

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

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-cockfighting__faq-item summary {
  list-style: none;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__tips-grid,
  .page-cockfighting__step-list,
  .page-cockfighting__promotion-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__main-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__text-block {
    font-size: 0.95em;
  }
  .page-cockfighting__feature-image,
  .page-cockfighting__tip-image {
    height: 180px;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__tip-card,
  .page-cockfighting__step-item,
  .page-cockfighting__promotion-item {
    padding: 20px;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 15px 15px 15px;
  }
  
  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__container,
  .page-cockfighting__features-grid,
  .page-cockfighting__tips-grid,
  .page-cockfighting__step-list,
  .page-cockfighting__promotion-list,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px !important; /* Resetting padding to let section padding control */
    padding-right: 0px !important; /* Resetting padding to let section padding control */
    overflow: hidden !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Buttons specific mobile rules */
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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;
  }
  
  /* Video specific mobile rules (if any, though none currently in HTML) */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }
}