:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --btn-primary-bg: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for the page */
  background-color: var(--background-color); /* Matches body background from shared.css */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  background-color: var(--background-color);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--gold-color);
  margin-bottom: 20px;
}

.page-cockfighting__lead-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__large-cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--btn-primary-bg);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-cockfighting__btn-secondary {
  background: var(--deep-green-color);
  color: var(--text-main-color);
  border: 2px solid var(--border-color);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-cockfighting__video-section {
  width: 100%;
  padding: 10px 20px 60px;
  background-color: var(--background-color);
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--gold-color);
  text-align: center;
}

.page-cockfighting__section-description,
.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--text-secondary-color);
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  width: 100%; /* Ensure desktop width is 100% within container */
}

.page-cockfighting__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.page-cockfighting__content-area {
  padding: 60px 0;
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-cockfighting__image-text-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__image-text-grid .page-cockfighting__image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
}

.page-cockfighting__image-text-grid .page-cockfighting__text-content {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
}

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

.page-cockfighting__sub-title {
  font-size: 1.8em;
  color: var(--gold-color);
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-cockfighting__paragraph {
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

.page-cockfighting__list {
  list-style-type: disc;
  margin-left: 25px;
  color: var(--text-secondary-color);
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
}

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

.page-cockfighting__card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-cockfighting__card-description {
  color: var(--text-secondary-color);
  flex-grow: 1;
}

.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: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

.page-cockfighting__step-title {
  font-size: 1.8em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-cockfighting__step-description {
  color: var(--text-secondary-color);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-cockfighting__step-button {
  margin-top: auto; /* Push button to bottom */
}

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

.page-cockfighting__promo-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

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

.page-cockfighting__promo-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-cockfighting__promo-description {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__center-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-cockfighting__feature-item,
.page-cockfighting__security-item {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

.page-cockfighting__feature-icon,
.page-cockfighting__security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title,
.page-cockfighting__security-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-cockfighting__feature-description,
.page-cockfighting__security-description {
  color: var(--text-secondary-color);
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main-color);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main-color);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  list-style: none; /* Remove default marker for details summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for details summary in Webkit */
}

.page-cockfighting__faq-question:hover {
  background-color: var(--primary-color);
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: var(--text-secondary-color);
  border-top: 1px solid var(--divider-color);
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
  color: var(--text-secondary-color);
}

.page-cockfighting__final-cta {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--deep-green-color);
}

.page-cockfighting__large-cta-button {
  font-size: 1.4em;
  padding: 18px 40px;
  margin-top: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

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

  .page-cockfighting__hero-section {
    padding: 10px 15px 40px;
  }

  .page-cockfighting__hero-content {
    padding: 20px 15px;
  }

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

  .page-cockfighting__lead-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .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;
  }
  
  .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 {
    padding: 10px 15px 40px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }

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

  .page-cockfighting__video-wrapper {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile or adjust as needed */
  }

  /* Responsive images */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-wrapper,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__image-text-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__image-text-grid .page-cockfighting__image-wrapper,
  .page-cockfighting__image-text-grid .page-cockfighting__text-content {
    max-width: 100%;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }

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

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

  .page-cockfighting__final-cta {
    padding: 60px 15px;
  }

  .page-cockfighting__large-cta-button {
    font-size: 1.2em;
    padding: 15px 30px;
  }

  .page-cockfighting__feature-icon,
  .page-cockfighting__security-icon {
    width: 80px;
    height: 80px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__security-title {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }

  .page-cockfighting__section-title {
    font-size: 1.5em;
  }

  .page-cockfighting__lead-text {
    font-size: 0.9em;
  }

  .page-cockfighting__card-title {
    font-size: 1.3em;
  }

  .page-cockfighting__step-title {
    font-size: 1.5em;
  }

  .page-cockfighting__promo-title {
    font-size: 1.3em;
  }

  .page-cockfighting__faq-question {
    font-size: 1em;
  }
}