.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
  padding-bottom: 40px;
}

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

.page-cockfighting__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFB04D; /* Glow */
  line-height: 1.2;
}

.page-cockfighting__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #FFF3E6;
}

.page-cockfighting__hero-section {
  position: relative;
  padding-top: 10px; /* Rely on body padding-top for header offset, this is just a small additional space */
  margin-bottom: 60px;
  overflow: hidden;
}

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

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  margin: -200px auto 0; /* Pull content up over image, but not *on* it */
  background: rgba(13, 14, 18, 0.7); /* Background with transparency */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-cockfighting__hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-description {
  font-size: 20px;
  color: #FFF3E6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s 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: none;
  box-shadow: 0 4px 15px rgba(255, 132, 0, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E87A00 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 132, 0, 0.6);
}

.page-cockfighting__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A;
  border: 2px solid #FFA53A;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background: #2a2d36;
  color: #FFB04D;
  border-color: #FFB04D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.4);
}

.page-cockfighting__introduction-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__benefits-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
  padding: 60px 0;
}

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

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

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

.page-cockfighting__text-block p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-cockfighting__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  display: block;
}

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

.page-cockfighting__bet-card {
  background: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  text-align: center;
  border: 1px solid #A84F0C; /* Border */
}

.page-cockfighting__bet-card .page-cockfighting__card-title {
  font-size: 24px;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-cockfighting__bet-card p {
  font-size: 16px;
  color: #FFF3E6;
}

.page-cockfighting__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: start;
}

.page-cockfighting__benefit-card {
  background: #0D0E12; /* Background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  border: 1px solid #A84F0C; /* Border */
  height: 100%;
}

.page-cockfighting__benefit-card .page-cockfighting__card-title {
  font-size: 22px;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-cockfighting__benefit-card p {
  font-size: 16px;
  color: #FFF3E6;
}

.page-cockfighting__benefits-image {
    grid-column: span 2;
    margin-top: 30px;
}

.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-cockfighting__step-card {
  background: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  text-align: center;
  border: 1px solid #A84F0C; /* Border */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-cockfighting__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(255, 132, 0, 0.5);
}

.page-cockfighting__step-card .page-cockfighting__card-title {
  font-size: 22px;
  color: #FFB04D; /* Glow */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__step-card p {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: #FFA53A;
  color: #17191F;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
  background: #FFB04D;
}

.page-cockfighting__registration-image {
    grid-column: span 2;
    margin-top: 30px;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__tips-list li {
  background: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  color: #FFF3E6;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-cockfighting__tips-list li::before {
  content: '✓';
  color: #FFA53A;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

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

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: #FFB04D; /* Glow */
}

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: rgba(255, 165, 58, 0.1);
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  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: #0D0E12; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
  font-size: 16px;
}

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

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

.page-cockfighting__cta-section {
  text-align: center;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  padding: 80px 0;
  margin-top: 60px;
  box-shadow: inset 0 5px 20px rgba(0,0,0,0.5);
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-cockfighting__cta-section .page-cockfighting__section-description {
  color: #FFF3E6;
  margin-bottom: 40px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 42px;
  }
  .page-cockfighting__hero-description {
    font-size: 18px;
  }
  .page-cockfighting__hero-content {
    margin-top: -150px;
    padding: 40px 20px;
  }
  .page-cockfighting__section-title {
    font-size: 32px;
  }
  .page-cockfighting__section-description {
    font-size: 16px;
  }
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__image-block {
    order: -1; /* Image above text on smaller screens */
  }
  .page-cockfighting__bet-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-cockfighting__benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-cockfighting__benefits-image {
    grid-column: span 2;
  }
  .page-cockfighting__guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-cockfighting__registration-image {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding, relies on body for header offset */
  }
  .page-cockfighting__hero-image-wrapper {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile hero */
  }
  .page-cockfighting__hero-content {
    margin-top: -100px; /* Adjust pull up */
    padding: 30px 15px;
  }
  .page-cockfighting__hero-title {
    font-size: 32px;
    max-width: 100%;
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
    max-width: 100%;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-cockfighting__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }
  .page-cockfighting__content-grid {
    gap: 30px;
  }
  .page-cockfighting__text-block p {
    font-size: 15px;
  }
  .page-cockfighting__image-responsive {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__bet-types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .page-cockfighting__bet-card {
    padding: 25px;
  }
  .page-cockfighting__bet-card .page-cockfighting__card-title {
    font-size: 20px;
  }
  .page-cockfighting__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__benefit-card {
    padding: 25px;
  }
  .page-cockfighting__benefit-card .page-cockfighting__card-title {
    font-size: 20px;
  }
  .page-cockfighting__benefits-image {
    grid-column: span 1;
    margin-top: 20px;
  }
  .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .page-cockfighting__step-card {
    padding: 25px;
  }
  .page-cockfighting__step-card .page-cockfighting__card-title {
    font-size: 20px;
  }
  .page-cockfighting__btn-small {
    padding: 8px 15px;
    font-size: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__registration-image {
    grid-column: span 1;
    margin-top: 20px;
  }
  .page-cockfighting__tips-list li {
    font-size: 15px;
    padding: 15px 20px;
  }
  .page-cockfighting__tips-list li::before {
    font-size: 18px;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 16px; }
  .page-cockfighting__faq-toggle { font-size: 20px; width: 24px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; font-size: 15px; }

  .page-cockfighting__cta-section {
    padding: 50px 0;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
}

.page-cockfighting__section,
.page-cockfighting__card,
.page-cockfighting__container,
.page-cockfighting__text-block,
.page-cockfighting__image-block {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__text-block,
  .page-cockfighting__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__text-block, .page-cockfighting__image-block {
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__hero-section .page-cockfighting__hero-cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__cta-section .page-cockfighting__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }
}