.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color, #08160F);
}

.page-cockfighting__dark-bg {
  background-color: var(--background-color, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__light-bg {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary, #A7D9B8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
}

.page-cockfighting__description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
  max-width: 1000px;
  text-align: center;
  z-index: 1;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  font-size: 1.1em;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #FFFFFF;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--border-color, #2E7A4E);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-cockfighting__btn-link {
  background: transparent;
  color: var(--glow, #57E38D);
  border: none;
  padding: 8px 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-cockfighting__btn-link:hover {
  color: var(--text-main, #F2FFF6);
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  cursor: pointer; /* Indicates clickability */
}

.page-cockfighting__video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-cockfighting__video-cta {
  margin-top: 20px;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 80px 20px;
}

.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__tip-item,
.page-cockfighting__promo-card,
.page-cockfighting__faq-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--divider, #1E3A2A);
}

.page-cockfighting__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 8px;
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-text {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 20px;
}

.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__step-card {
  position: relative;
  padding-top: 60px;
}

.page-cockfighting__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep-green, #0A4B2C);
  color: var(--glow, #57E38D);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid var(--glow, #57E38D);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 20px;
}

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

.page-cockfighting__type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 20px;
}

.page-cockfighting__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 80px 20px;
}

.page-cockfighting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Security Section */
.page-cockfighting__security-section {
  padding: 80px 20px;
}

.page-cockfighting__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__security-text {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__security-text p {
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-cockfighting__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 20px;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-cockfighting__faq-item {
  text-align: left;
  padding: 0;
  background-color: var(--card-bg, #11271B);
}

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  font-size: 1.1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow, #57E38D);
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

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

.page-cockfighting__faq-answer a {
  margin-top: 10px;
}

/* Call to Action Section */
.page-cockfighting__call-to-action {
  padding: 80px 20px;
  text-align: center;
}

/* General Content Area */
.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-cockfighting p {
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 20px;
  }
  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__section-subtitle {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__types-grid,
  .page-cockfighting__tips-list,
  .page-cockfighting__promotions-grid {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__main-title {
    font-size: 2.2em;
  }
  .page-cockfighting__description {
    font-size: 1em;
  }
  .page-cockfighting__hero-section {
    padding: 30px 15px;
  }
  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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;
  }

  /* Buttons container mobile adaptation */
  .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__video-section,
  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__types-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__call-to-action {
    padding: 40px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-subtitle {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__tip-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__faq-item {
    padding: 25px;
  }
  .page-cockfighting__card-title {
    font-size: 1.2em;
  }
  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 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,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__security-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Mobile video adaptation */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-cockfighting__security-content {
    flex-direction: column;
  }
  .page-cockfighting__security-text,
  .page-cockfighting__security-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}