.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #F5F7FA;
  line-height: 1.6;
}

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

.page-cockfighting__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  margin-bottom: 20px;
}

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

.page-cockfighting__hero-content {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  max-width: 800px;
  margin: -80px auto 0; /* Overlap slightly with image for visual effect */
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-cockfighting__main-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
  border: none;
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.6);
  transform: translateY(-2px);
}

.page-cockfighting__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-cockfighting__text-block {
  font-size: 16px;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__introduction-section,
.page-cockfighting__download-guide-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__responsible-gaming-section,
.page-cockfighting__faq-section {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 40px;
  padding: 40px 30px;
}

.page-cockfighting__advantages-section {
  background-color: #E53935;
  color: #ffffff;
  padding: 60px 30px;
  margin-bottom: 40px;
  border-radius: 8px;
}

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

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

.page-cockfighting__advantage-card {
  background: #ffffff;
  color: #333333;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.page-cockfighting__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-cockfighting__card-title {
  font-size: 20px;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-card p {
  font-size: 15px;
  line-height: 1.5;
}

.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-cockfighting__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  background-color: #F5F7FA;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.03);
}

.page-cockfighting__step-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter) ":";
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin-right: 15px;
  flex-shrink: 0;
  min-width: 100px;
  text-align: right;
}

.page-cockfighting__step-title {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  margin-top: 0;
  margin-bottom: 5px;
}

.page-cockfighting__step-item p {
  font-size: 15px;
  color: #555555;
  margin-top: 0;
}

.page-cockfighting__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 30px;
}

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

.page-cockfighting__bet-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.page-cockfighting__bet-card:hover {
  transform: translateY(-3px);
}

.page-cockfighting__bet-card .page-cockfighting__card-title {
  color: #E53935;
  margin-bottom: 10px;
}

.page-cockfighting__bet-card p {
  font-size: 15px;
  color: #555555;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-cockfighting__tips-section {
  background-color: #E53935;
  color: #ffffff;
  padding: 60px 30px;
  margin-bottom: 40px;
  border-radius: 8px;
}

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

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 5px solid #FF5A4F;
}

.page-cockfighting__tip-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 8px;
}

.page-cockfighting__tip-item p {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 0;
}

.page-cockfighting__responsible-gaming-section p {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-cockfighting__cta-final-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-align: center;
  padding: 60px 30px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-cockfighting__cta-final-section .page-cockfighting__text-block {
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-cockfighting__copyright-section {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: #666666;
  border-top: 1px solid #E0E0E0;
  margin-top: 40px;
}

/* General image and button responsive styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-buttons,
.page-cockfighting__button-group,
.page-cockfighting__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }

  .page-cockfighting__section-title {
    font-size: 28px;
  }

  .page-cockfighting__advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-cockfighting__bet-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-cockfighting__step-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-cockfighting__step-item::before {
    text-align: left;
    min-width: unset;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 15px;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px; /* Still small top padding */
    margin-bottom: 30px;
  }

  .page-cockfighting__hero-image-wrapper {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for smaller screens */
  }

  .page-cockfighting__hero-content {
    margin-top: -40px;
    padding: 15px;
  }

  .page-cockfighting__main-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .page-cockfighting__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-cockfighting__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-cockfighting__text-block {
    font-size: 15px;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__download-guide-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__responsible-gaming-section,
  .page-cockfighting__faq-section {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .page-cockfighting__advantages-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__cta-final-section {
    padding: 40px 20px;
    margin-bottom: 30px;
  }

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

  .page-cockfighting__advantage-icon {
    width: 80px;
    height: 80px;
  }

  .page-cockfighting__card-title {
    font-size: 18px;
  }

  .page-cockfighting__step-item {
    padding: 15px;
    margin-bottom: 20px;
  }

  .page-cockfighting__step-item::before {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .page-cockfighting__step-title {
    font-size: 16px;
  }

  .page-cockfighting__bet-types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__bet-card,
  .page-cockfighting__tip-item {
    padding: 20px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 15px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

  /* Mobile image adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !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;
  }

  /* Mobile button adaptation */
  .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;
  }

  .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__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}