/* style/cockfighting.css */

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

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--page-cockfighting-text-main); /* Default text color on dark background */
  background-color: var(--page-cockfighting-background);
}

/* Typography */
.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 20px;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 30px;
  text-align: center;
}

.page-cockfighting__section-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--page-cockfighting-text-main);
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.page-cockfighting__intro-text,
.page-cockfighting__section-description,
.page-cockfighting__feature-text,
.page-cockfighting__step-text,
.page-cockfighting__type-text,
.page-cockfighting__strategy-text,
.page-cockfighting__promo-text,
.page-cockfighting__list-item,
.page-cockfighting__faq-answer p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 15px;
  text-align: center;
}

.page-cockfighting__intro-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__type-title,
.page-cockfighting__strategy-title,
.page-cockfighting__promo-title,
.page-cockfighting__faq-qtext {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 10px;
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-cockfighting-background);
  overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-cockfighting__about-section,
.page-cockfighting__guide-section,
.page-cockfighting__types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-deep-green);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__light-bg {
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-main);
}

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

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

.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover,
.page-cockfighting__promo-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__feature-icon,
.page-cockfighting__type-image,
.page-cockfighting__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Example max height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-cockfighting__step-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-main);
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px var(--page-cockfighting-glow);
}

.page-cockfighting__troubleshooting-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-cockfighting__list-item {
  background-color: var(--page-cockfighting-card-bg);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.page-cockfighting__list-item strong {
  color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__strategy-item {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-cockfighting-border);
  text-align: left;
}

.page-cockfighting__schedule-info {
  font-style: italic;
  margin-top: 40px;
  color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: var(--page-cockfighting-text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

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

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: var(--page-cockfighting-deep-green);
  color: var(--page-cockfighting-text-main);
  font-weight: 600;
  font-size: 1.15rem;
  border-bottom: 1px solid var(--page-cockfighting-divider);
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-answer {
  padding: 20px;
  background-color: var(--page-cockfighting-card-bg);
  color: var(--page-cockfighting-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Image & Video responsiveness */
.page-cockfighting img,
.page-cockfighting video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__hero-image-wrapper,
.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__promo-card,
.page-cockfighting__step-card,
.page-cockfighting__strategy-item,
.page-cockfighting__faq-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-cockfighting__section-subtitle {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-cockfighting__about-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__types-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 50px 0;
  }

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

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-cockfighting img,
  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__step-card,
  .page-cockfighting__strategy-item,
  .page-cockfighting__faq-item,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    display: block;
    margin-left: auto;
    margin-right: auto;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__steps-container,
  .page-cockfighting__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__troubleshooting-list,
  .page-cockfighting__faq-list {
    padding: 0;
  }

  .page-cockfighting__list-item,
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__faq-item {
    padding: 0;
  }
}