.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF3E6); /* Default text color */
  background-color: var(--background-color, #0D0E12); /* Default body background */
}

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, not --header-offset */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit hero image height */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to place content below image but slightly overlap */
  background: linear-gradient(180deg, rgba(13, 14, 18, 0.8) 0%, rgba(13, 14, 18, 1) 100%);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__hero-description {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF3E6;
}

.page-cockfighting__dark-section {
  background-color: #0D0E12;
  color: #FFF3E6;
  padding: 60px 0;
}

.page-cockfighting__intro-section .page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__intro-section .page-cockfighting__text-block {
  flex: 1;
  text-align: justify;
}

.page-cockfighting__intro-section .page-cockfighting__text-block p {
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-cockfighting__intro-section .page-cockfighting__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-cockfighting__intro-section .page-cockfighting__benefits-list li {
  background: rgba(255, 139, 26, 0.1);
  border-left: 3px solid #FF8C1A;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #FFF3E6;
}

.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__image-center {
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__image-full-width {
  width: 100%;
  margin-top: 40px;
}

.page-cockfighting__image-left {
  flex-shrink: 0;
  margin-right: 40px;
}

.page-cockfighting__why-choose-section {
  padding: 60px 0;
  background-color: #17191F;
}

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

.page-cockfighting__feature-card {
  text-align: center;
}

.page-cockfighting__card {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
  color: #FFF3E6;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFB04D;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card p {
  color: #FFF3E6;
}

.page-cockfighting__game-types-section {
  padding: 60px 0;
}

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

.page-cockfighting__type-card {
  text-align: center;
}

.page-cockfighting__guide-section {
  padding: 60px 0;
  background-color: #17191F;
}

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

.page-cockfighting__step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FF8C1A;
  margin-bottom: 15px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border: 2px solid #FF8C1A;
  border-radius: 50%;
  background-color: rgba(255, 139, 26, 0.1);
}

.page-cockfighting__step-card .page-cockfighting__btn-small {
  margin-top: auto; /* Push button to bottom */
  width: auto;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-cockfighting__tips-section {
  padding: 60px 0;
}

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

.page-cockfighting__tip-card {
  text-align: left;
}

.page-cockfighting__promotions-section {
  padding: 60px 0;
  background-color: #17191F;
}

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

.page-cockfighting__promo-card {
  text-align: center;
}

.page-cockfighting__responsible-gaming-section {
  padding: 60px 0;
}

.page-cockfighting__rg-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__rg-content .page-cockfighting__text-block {
  flex: 1;
  text-align: justify;
}

.page-cockfighting__rg-content .page-cockfighting__text-block p {
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #17191F;
}

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

.page-cockfighting__faq-item {
  background-color: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #FFB04D;
  font-size: 1.1em;
  list-style: none;
}

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

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

.page-cockfighting__faq-answer {
  padding: 0 25px 18px;
  color: #FFF3E6;
  font-size: 0.95em;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
}

.page-cockfighting__cta-final-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small,
.page-cockfighting a[class*="button"],
.page-cockfighting a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: #17191F;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

.page-cockfighting__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting__btn-small {
  background: #A84F0C;
  color: #FFF3E6;
  border: 1px solid #A84F0C;
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-cockfighting__btn-small:hover {
  background: #D96800;
  transform: translateY(-1px);
}

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

/* Button containers responsiveness */
.page-cockfighting__hero-cta-buttons,
.page-cockfighting__cta-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__container {
    padding: 15px;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-image {
    max-height: 300px;
  }

  .page-cockfighting__hero-content {
    padding: 20px 15px;
    margin-top: -50px; /* Smaller overlap for mobile */
  }

  .page-cockfighting__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

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

  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small,
  .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__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-cockfighting__dark-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__responsible-gaming-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 40px 0;
  }

  .page-cockfighting__intro-section .page-cockfighting__content-wrapper,
  .page-cockfighting__rg-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-cockfighting__image-left {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }

  .page-cockfighting__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__tips-grid,
  .page-cockfighting__promos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__step-number {
    font-size: 2em;
    width: 50px;
    height: 50px;
    line-height: 50px;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
}