/* style/cockfighting.css */

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

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
  background: rgba(255, 140, 26, 0.1);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color);
}

/* 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 top padding, body handles header offset */
  background-color: var(--page-bg-color);
}

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

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

.page-cockfighting__main-title {
  color: var(--text-main-color);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
  background-color: var(--card-bg-color);
}

.page-cockfighting__image-content {
  margin-top: 40px;
  text-align: center;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

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

.page-cockfighting__feature-item {
  text-align: center;
  padding: 25px;
}

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

.page-cockfighting__feature-description {
  font-size: 1em;
  color: var(--text-main-color);
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 0;
  background-color: var(--card-bg-color);
}

.page-cockfighting__type-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-cockfighting__list-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
  color: var(--secondary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-cockfighting__list-description {
  color: var(--text-main-color);
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
  margin-top: 40px;
}

.page-cockfighting__guide-list .page-cockfighting__list-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
  background: none;
  border: none;
  box-shadow: none;
}

.page-cockfighting__guide-list .page-cockfighting__list-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--button-gradient);
  color: var(--text-main-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(255, 140, 26, 0.5);
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  padding: 80px 0;
  background-color: var(--card-bg-color);
}

.page-cockfighting__strategy-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 40px;
}

.page-cockfighting__strategy-list .page-cockfighting__list-item {
  background: none;
  border: none;
  box-shadow: none;
  margin-bottom: 20px;
  padding: 0;
}

.page-cockfighting__strategy-list .page-cockfighting__list-title {
  color: var(--primary-color);
}

/* Security Section */
.page-cockfighting__security-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

.page-cockfighting__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__security-list .page-cockfighting__list-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__security-list .page-cockfighting__list-title {
  color: var(--primary-color);
}

.page-cockfighting__security-list a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-cockfighting__security-list a:hover {
  color: var(--glow-color);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 80px 0;
  background-color: var(--card-bg-color);
}

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

.page-cockfighting__promo-card {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: none;
}

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  background-color: rgba(23, 25, 31, 0.7); /* Slightly lighter than card-bg */
  color: var(--text-main-color);
  font-size: 1em;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .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: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__intro-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__security-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 50px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__feature-grid,
  .page-cockfighting__type-list,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__list-item {
    padding: 20px;
  }
  .page-cockfighting__guide-list .page-cockfighting__list-item {
    padding-left: 50px;
  }
  .page-cockfighting__guide-list .page-cockfighting__list-item::before {
    width: 35px;
    height: 35px;
    font-size: 1em;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 10px 20px;
  }
}