.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background: var(--background);
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-main);
  padding: 60px 20px;
  padding-top: 10px; /* body đã xử lý padding-top */
  overflow: hidden;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Giảm độ sáng để chữ dễ đọc hơn */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(8, 22, 15, 0.7); /* Nền tối nhẹ để tăng độ tương phản */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-main);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-cockfighting__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-width: 180px;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-secondary {
  background: var(--card-bg);
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--deep-green);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
  min-width: unset;
}

.page-cockfighting__introduction-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__video-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__features-section,
.page-cockfighting__promotions-section,
.page-cockfighting__dark-section {
  background: var(--deep-green);
  color: var(--text-main);
  padding: 80px 0;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-main);
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-secondary);
}

.page-cockfighting__highlight {
  color: var(--glow);
  font-weight: bold;
}

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

.page-cockfighting__feature-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.page-cockfighting__feature-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-cockfighting__step-item {
  background: var(--card-bg);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  border-left: 5px solid var(--glow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-top: 0;
  margin-bottom: 5px;
}

.page-cockfighting__step-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  width: 100%; /* Desktop width */
}

.page-cockfighting__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.page-cockfighting__video-caption {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 15px;
}

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

.page-cockfighting__promotion-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  border-bottom: 3px solid var(--gold);
  transition: transform 0.3s ease;
}

.page-cockfighting__promotion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.page-cockfighting__promotion-title {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-cockfighting__promotion-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

.page-cockfighting__faq-item {
  background: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--divider);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  transition: background 0.3s ease;
}

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

.page-cockfighting__faq-question:hover {
  background: rgba(17, 168, 78, 0.1);
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--glow);
  margin-left: 15px;
  pointer-events: none; /* Prevent click on toggle icon itself */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-cockfighting__description {
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body đã xử lý padding-top */
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-cockfighting__description {
    font-size: 0.95rem;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !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__introduction-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__video-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__features-section,
  .page-cockfighting__promotions-section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__promotion-list {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__promotion-item {
    padding: 20px;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__promotion-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__step-item {
    padding: 20px;
  }
  .page-cockfighting__step-title {
    font-size: 1.2rem;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  /* Mobile video responsiveness */
  .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-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
}

/* Custom Colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-cockfighting {
  color: var(--text-main);
  background: var(--background);
}

.page-cockfighting__dark-section {
  background: var(--deep-green);
  color: var(--text-main);
}

.page-cockfighting__card,
.page-cockfighting__feature-card,
.page-cockfighting__step-item,
.page-cockfighting__promotion-item,
.page-cockfighting__faq-item {
  background: var(--card-bg);
  color: var(--text-main);
}

.page-cockfighting__text-block,
.page-cockfighting__description,
.page-cockfighting__feature-description,
.page-cockfighting__step-item p,
.page-cockfighting__promotion-item p,
.page-cockfighting__faq-answer {
  color: var(--text-secondary);
}

.page-cockfighting__main-title,
.page-cockfighting__section-title,
.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__promotion-title,
.page-cockfighting__faq-question {
  color: var(--text-main);
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
}

.page-cockfighting__btn-secondary {
  background: var(--card-bg);
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-cockfighting__faq-toggle {
  color: var(--glow);
}

.page-cockfighting__feature-title {
  color: var(--gold);
}

.page-cockfighting__step-item {
  border-left-color: var(--glow);
}

.page-cockfighting__promotion-item {
  border-bottom-color: var(--gold);
}

.page-cockfighting__faq-item {
  border-color: var(--divider);
}