:root {
  --page-cockfighting-primary-color: #FF8C1A;
  --page-cockfighting-secondary-color: #FFA53A;
  --page-cockfighting-card-bg: #17191F;
  --page-cockfighting-background: #0D0E12;
  --page-cockfighting-text-main: #FFF3E6;
  --page-cockfighting-border: #A84F0C;
  --page-cockfighting-glow: #FFB04D;
  --page-cockfighting-deep-orange: #D96800;
  --page-cockfighting-button-gradient: linear-gradient(180deg, var(--page-cockfighting-secondary-color) 0%, var(--page-cockfighting-deep-orange) 100%);
}

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

.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
  overflow: hidden; /* Ensure no overflow */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-main);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px; /* Space between image and content */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Minimum height for responsiveness */
  max-height: 675px; /* Max height for desktop, matches 16:9 of 1200 */
}

.page-cockfighting__hero-content {
  position: relative; /* Not absolute, to flow below image */
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  color: var(--page-cockfighting-primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--page-cockfighting-text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  margin-top: 30px;
}

.page-cockfighting__cta-buttons--centered {
  margin-top: 40px;
}

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

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: var(--page-cockfighting-text-main); /* White text for primary button */
  border: 2px solid var(--page-cockfighting-primary-color);
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-cockfighting__btn-primary--large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--page-cockfighting-primary-color);
  border: 2px solid var(--page-cockfighting-primary-color);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-main);
  transform: translateY(-3px);
}

/* Section Titles */
.page-cockfighting__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem); /* Responsive H2 font size */
  color: var(--page-cockfighting-primary-color);
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem); /* Responsive H3 font size */
  color: var(--page-cockfighting-secondary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Text Blocks */
.page-cockfighting__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--page-cockfighting-text-main);
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__highlight {
  color: var(--page-cockfighting-primary-color);
  font-weight: 600;
}

/* Image Content */
.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px; /* Minimum size for content images */
}

/* Grid Layout */
.page-cockfighting__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.page-cockfighting__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Card Styling */
.page-cockfighting__card,
.page-cockfighting__feature-card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-cockfighting-text-main); /* Ensure text is readable on card background */
}

.page-cockfighting__card:hover,
.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 170, 58, 0.3);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__card-title,
.page-cockfighting__feature-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--page-cockfighting-secondary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-cockfighting__card-text,
.page-cockfighting__feature-text {
  font-size: 1rem;
  color: var(--page-cockfighting-text-main);
}

/* Lists */
.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
  text-align: left;
  max-width: 900px;
  margin: 20px auto 30px auto;
  padding-left: 25px;
  color: var(--page-cockfighting-text-main);
  font-size: 1.05rem;
}

.page-cockfighting__ordered-list li,
.page-cockfighting__unordered-list li {
  margin-bottom: 10px;
}

.page-cockfighting__ordered-list li strong {
  color: var(--page-cockfighting-primary-color);
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-cockfighting-primary-color);
  cursor: pointer;
  background-color: rgba(255, 140, 26, 0.1); /* Slightly lighter background for question */
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: rgba(255, 140, 26, 0.2);
  border-bottom-color: var(--page-cockfighting-border);
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-cockfighting-secondary-color);
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

/* Hide default details marker */
.page-cockfighting__faq-item summary {
  list-style: none;
}
.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: var(--page-cockfighting-text-main);
  line-height: 1.7;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  background-color: var(--page-cockfighting-deep-orange);
  padding: 80px 20px;
}

.page-cockfighting__cta-final-content .page-cockfighting__section-title {
  color: var(--page-cockfighting-text-main);
  margin-bottom: 30px;
}

.page-cockfighting__cta-final-content .page-cockfighting__text-block {
  color: var(--page-cockfighting-text-main);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Floating Buttons */
.page-cockfighting__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.page-cockfighting__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  background: var(--page-cockfighting-button-gradient);
  color: var(--page-cockfighting-text-main);
  text-decoration: none;
  font-weight: 700;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1rem;
}

.page-cockfighting__floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 170, 58, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 15px;
  }

  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important; /* Ensure full width on mobile */
    box-sizing: border-box !important;
  }
}