:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --card-bg: #2A1212;
  --page-bg: #140C0C;
  --text-main: #FFF1E8; /* Light text for dark background */
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red: #7E0D0D;

  /* Default text color based on page-bg being dark */
  --default-text-color: var(--text-main);
  --default-heading-color: var(--gold-color);
}

.page-cockfighting {
  background-color: var(--page-bg);
  color: var(--default-text-color); /* Apply light text color for the entire page */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting__section {
  padding: 60px 0;
  position: relative;
}

.page-cockfighting__dark-bg {
  background-color: var(--card-bg); /* Use card-bg for dark sections for slight variation */
}

.page-cockfighting__light-bg {
  background-color: #333333; /* Slightly lighter dark background for contrast */
  color: var(--text-main);
}

.page-cockfighting__main-title {
  font-size: clamp(28px, 4vw, 42px); /* Use clamp for H1, other titles can be fixed or relative */
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small padding top, body handles header offset */
  background-color: var(--page-bg); /* Ensure background is dark */
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width for max-width to work */
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__hero-content h1 {
  font-size: clamp(32px, 5vw, 56px); /* Larger H1 for hero */
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(243, 197, 77, 0.5);
}

.page-cockfighting__hero-content p {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--text-main);
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-button--secondary {
  background: var(--card-bg);
  border: 2px solid var(--gold-color);
  color: var(--gold-color);
}

.page-cockfighting__cta-button--secondary:hover {
  background: var(--deep-red);
  color: #ffffff;
  border-color: var(--deep-red);
}

/* General Image Styling */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__image-content {
  margin: 40px auto;
  max-width: 900px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

.page-cockfighting__feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__feature-card p {
  font-size: 16px;
  color: var(--text-main);
}

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

.page-cockfighting__type-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__type-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-cockfighting__type-card .page-cockfighting__card-title {
  padding: 20px 20px 10px;
  margin-bottom: 0;
  text-align: left;
}

.page-cockfighting__type-card p {
  padding: 0 20px 20px;
  font-size: 16px;
  text-align: left;
  color: var(--text-main);
}

.page-cockfighting__cta-buttons--center {
  justify-content: center;
  margin-top: 40px;
}

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

.page-cockfighting__step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__step-card p {
  font-size: 16px;
  color: var(--text-main);
}

/* Tips Section */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-cockfighting__tips-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.page-cockfighting__tips-list li:hover {
  transform: translateX(5px);
}

.page-cockfighting__tips-list li strong {
  color: var(--gold-color);
}

/* Promotions Section */
.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);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__promo-card p {
  font-size: 16px;
  color: var(--text-main);
}

/* Support Section */
.page-cockfighting__support-info {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 40px;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-cockfighting__support-info p {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: left;
}

.page-cockfighting__support-info ul {
  list-style: none;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting__support-info ul li {
  font-size: 17px;
  margin-bottom: 8px;
  position: relative;
}

.page-cockfighting__support-info ul li::before {
  content: '▶';
  color: var(--gold-color);
  position: absolute;
  left: -20px;
  top: 0;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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;
}

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: var(--deep-red);
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  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: var(--card-bg);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 16px;
  text-align: left;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
  background-color: var(--card-bg);
}

.page-cockfighting__conclusion-section .page-cockfighting__main-title {
  color: var(--gold-color);
}

.page-cockfighting__conclusion-section .page-cockfighting__description {
  color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content h1 {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-cockfighting__hero-content p {
    font-size: 18px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(24px, 3.5vw, 36px);
  }
  .page-cockfighting__description {
    font-size: 17px;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small padding top for mobile */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__hero-image img {
    border-radius: 4px;
  }

  .page-cockfighting__hero-content h1 {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-cockfighting__hero-content p {
    font-size: 16px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__cta-button {
    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__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(22px, 5.5vw, 30px);
    margin-bottom: 30px;
  }
  .page-cockfighting__description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card,
  .page-cockfighting__promo-card {
    padding: 25px;
  }
  .page-cockfighting__card-title {
    font-size: 20px;
  }
  .page-cockfighting__type-card img {
    height: 200px;
  }
  .page-cockfighting__tips-list li {
    padding: 15px;
    font-size: 15px;
  }
  .page-cockfighting__support-info {
    padding: 30px 20px;
  }
  .page-cockfighting__support-info p,
  .page-cockfighting__support-info ul li {
    font-size: 16px;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 15px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 15px 15px;
  }
  .page-cockfighting__faq-answer p {
    font-size: 15px;
  }

  /* Image responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__hero-container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
  }
}