.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background: var(--page-bg, #F4F7FB); /* Default to background color if --page-bg not set */
  line-height: 1.6;
}

.page-cockfighting__section-spacing {
  padding: 60px 0;
}

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

.page-cockfighting__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-cockfighting__section-intro-text {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-cockfighting__section-intro-text--light {
  color: #f0f0f0;
}

/* --- Hero Section --- */
.page-cockfighting__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
}

.page-cockfighting__hero-image-wrap {
  width: 100%;
  max-height: 600px; /* Control image height */
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover to fill space */
  object-position: center;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image */
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 4vw, 56px); /* Responsive font size */
  font-weight: 800;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-cockfighting__hero-description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Buttons --- */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Important for responsiveness */
  box-sizing: border-box; /* Important for responsiveness */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-cockfighting__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-cockfighting__btn-secondary:hover {
  background: #f0f0f0;
  color: #2F6BFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

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

/* --- Why Choose Section --- */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__feature-item {
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-cockfighting__feature-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.page-cockfighting__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
}

/* --- Game Types Section --- */
.page-cockfighting__dark-section {
  background: #2F6BFF; /* Main Color */
  color: #ffffff;
}

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

.page-cockfighting__type-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on blue */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.page-cockfighting__type-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-cockfighting__type-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  padding: 20px 20px 10px;
}

.page-cockfighting__type-description {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 20px 20px;
}

/* --- Strategy Section --- */
.page-cockfighting__content-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-cockfighting__text-block {
  flex: 2;
}

.page-cockfighting__image-aside {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.page-cockfighting__sub-title {
  font-size: 26px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__sub-title:first-of-type {
  margin-top: 0;
}

.page-cockfighting__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-cockfighting__list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-cockfighting__list li strong {
  color: #000000;
}

/* --- Promotions Section --- */
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__promo-card {
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  padding: 20px 20px 10px;
}

.page-cockfighting__promo-description {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  padding: 0 20px 20px;
}

/* --- How To Join Section --- */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-cockfighting__step-item {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on blue */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-cockfighting__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.page-cockfighting__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* --- FAQ Section (using <details>) --- */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color */
  overflow: hidden;
  background: #ffffff; /* Card BG */
}
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;
  color: #000000; /* Custom Color_1776249996415 */
  font-weight: 600;
}
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: #F4F7FB; /* Background color for hover */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  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: #F4F7FB; /* Background color */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
  font-size: 16px;
}

/* --- Conclusion Section --- */
.page-cockfighting__conclusion-section {
  background: #F4F7FB; /* Background color */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 32px;
  }
}