/* style/cockfighting.css */

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

/* Section styling */
.page-cockfighting__hero-section,
.page-cockfighting__about-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__types-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

/* Dark background sections */
.page-cockfighting__dark-section {
  background-color: #0D0E12;
  color: #FFF3E6;
}

/* Light background sections */
.page-cockfighting__light-bg {
  background-color: #17191F;
  color: #FFF3E6;
}

/* Titles */
.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
  color: #FF8C1A; /* Primary color for titles */
  text-shadow: 0 0 5px rgba(255, 140, 26, 0.5);
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FF8C1A;
  text-shadow: 0 0 10px rgba(255, 165, 58, 0.7);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-description,
.page-cockfighting__text-main {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 8px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.4);
  transform: translateY(-2px);
}

/* Image styling */
.page-cockfighting__hero-image-wrapper {
  margin-bottom: 40px;
}

.page-cockfighting__hero-image,
.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  border: 1px solid #A84F0C;
}

/* Card styling */
.page-cockfighting__card {
  background-color: #17191F; /* Card B G */
  color: #FFF3E6; /* Text Main */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #A84F0C;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.5;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #A84F0C;
}

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

/* How-to-play steps */
.page-cockfighting__step-item {
  background-color: #17191F;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #A84F0C;
  text-align: left;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: #FF8C1A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__step-text {
  font-size: 1em;
  margin-bottom: 20px;
}

/* Tips list */
.page-cockfighting__tip-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-cockfighting__list-item {
  background-color: #17191F;
  border-left: 5px solid #FF8C1A;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-size: 1.1em;
}

.page-cockfighting__list-item strong {
  color: #FFA53A;
}

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

.page-cockfighting__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFA53A;
  cursor: pointer;
  list-style: none;
  outline: none;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
  background-color: rgba(255, 165, 58, 0.1);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FF8C1A;
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF3E6;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  max-height: 1000px; /* Arbitrary large value */
  padding: 0 25px 20px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
}

.page-cockfighting__faq-answer a {
  color: #FF8C1A;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 3em);
  }
  .page-cockfighting__hero-section,
  .page-cockfighting__about-section,
  .page-cockfighting__features-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__types-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em);
  }
  .page-cockfighting__hero-description,
  .page-cockfighting__text-main {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-cockfighting__feature-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__type-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__step-title {
    font-size: 1.3em;
  }
  .page-cockfighting__list-item {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-cockfighting__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__container,
  .page-cockfighting__feature-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__type-grid,
  .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__hero-section,
  .page-cockfighting__about-section,
  .page-cockfighting__features-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__types-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
}