.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

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

.page-cockfighting__dark-section {
  background-color: #17191F; /* Card BG */
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FF8C1A; /* Main Color */
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFA53A; /* Auxiliary Color */
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, rgba(255,165,58,0.1) 0%, rgba(13,14,18,0) 100%);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FF8C1A; /* Main Color */
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 140, 26, 0.6);
}

.page-cockfighting__subtitle {
  font-size: 1.2em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button Color */
  color: #FFF3E6; /* Text Main */
  border: none;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E67800 100%); /* Glow */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFA53A; /* Auxiliary Color */
  border: 2px solid #FFA53A;
  box-shadow: 0 0 10px rgba(255, 165, 58, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFA53A;
  color: #0D0E12; /* Background */
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 165, 58, 0.5);
}

.page-cockfighting__btn-tertiary {
  background-color: #17191F; /* Card BG */
  color: #FFA53A; /* Auxiliary Color */
  border: 1px solid #A84F0C; /* Border Color */
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-cockfighting__btn-tertiary:hover {
  background-color: #A84F0C; /* Border Color */
  color: #FFF3E6;
}

/* Image with content row */
.page-cockfighting__image-content-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__image-content-row:nth-child(even) {
  flex-direction: row-reverse;
}

.page-cockfighting__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-content-row .page-cockfighting__text-block {
  flex: 1;
  max-width: 50%;
  margin: 0;
  text-align: left;
}

/* Grid Layout for Bet Types */
.page-cockfighting__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border Color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6; /* Text Main */
}

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 15px;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* Steps Grid */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border Color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF3E6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-cockfighting__step-card .page-cockfighting__card-title {
  margin-top: 10px;
  margin-bottom: 15px;
}

.page-cockfighting__step-card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-cockfighting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__promotion-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border Color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 250px; /* Consistent height for promo images */
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-content .page-cockfighting__card-title {
  color: #FF8C1A;
  margin-bottom: 10px;
}

.page-cockfighting__promo-content p {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Section */
.page-cockfighting__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.page-cockfighting__feature-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border Color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF3E6;
}

.page-cockfighting__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 10px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border Color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #1D2027; /* Slightly darker for contrast */
  color: #FFF3E6;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
  background-color: #2a2e38;
}

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

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

/* Download App Section */
.page-cockfighting__download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__app-showcase-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 30px;
}

/* Contact Section */
.page-cockfighting__contact-methods {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* Global image reset for content area */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__image-content-row {
    flex-direction: column;
    gap: 20px;
  }
  .page-cockfighting__content-image,
  .page-cockfighting__image-content-row .page-cockfighting__text-block {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 15px;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-cockfighting__subtitle {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons,
  .page-cockfighting__download-buttons,
  .page-cockfighting__contact-methods {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__cta-buttons .page-cockfighting__btn-primary,
  .page-cockfighting__cta-buttons .page-cockfighting__btn-secondary {
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Button containers */
  .page-cockfighting__cta-buttons,
  .page-cockfighting__download-buttons,
  .page-cockfighting__contact-methods {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
  }
  .page-cockfighting__grid-layout,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-cockfighting__hero-image {
    object-fit: contain !important; /* Mobile hero image must contain */
    aspect-ratio: unset !important;
    max-height: none !important;
  }
  /* Generic images and containers */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-content-row .page-cockfighting__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: auto !important;
    max-height: 200px !important; /* Cap height for smaller screens */
    object-fit: cover !important;
  }
  .page-cockfighting__feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-cockfighting__step-icon {
    width: 80px;
    height: 80px;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__app-showcase-image {
    padding-left: 15px;
    padding-right: 15px;
  }
}