/* style/cockfighting.css */

/* Core Styles for .page-cockfighting */
.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
  font-size: 1rem;
}

/* Section Styling */
.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: #FFB04D; /* Glow - for titles */
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__text-block a {
  color: #FFA53A; /* Auxiliary color for links */
  text-decoration: none;
  border-bottom: 1px solid #FFA53A;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__text-block a:hover {
  color: #FFB04D;
  border-color: #FFB04D;
}

/* Card Styling */
.page-cockfighting__card {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #A84F0C; /* Border */
}

.page-cockfighting__card-title {
  color: #FFA53A; /* Auxiliary color for card titles */
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-cockfighting__list li:last-child {
  margin-bottom: 0;
}

.page-cockfighting__list li::before {
  content: '✓';
  color: #FFA53A;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 165, 58, 0.4);
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  box-shadow: none;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFA53A;
  color: #17191F; /* Card BG for text on hover */
  transform: translateY(-2px);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__cta-buttons--bottom {
  margin-top: 60px;
}

/* Why Cockfighting Section */
.page-cockfighting__why-cockfighting {
  background-color: #0D0E12; /* Background */
}

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

/* How to Play Section */
.page-cockfighting__how-to-play {
  background-color: #17191F; /* Card BG for this section */
}

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

.page-cockfighting__step-card .page-cockfighting__btn-primary,
.page-cockfighting__step-card .page-cockfighting__btn-secondary {
  margin-top: auto;
  align-self: flex-start;
}

/* Card Games Section */
.page-cockfighting__card-games {
  background-color: #0D0E12; /* Background */
}

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

/* Advantages Section */
.page-cockfighting__advantages {
  background-color: #17191F; /* Card BG for this section */
}

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

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

.page-cockfighting__advantage-item .page-cockfighting__icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__advantage-title {
  color: #FFA53A;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-cockfighting__faq {
  background-color: #0D0E12; /* Background */
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #FFF3E6; /* Text Main */
  background-color: #17191F; /* Card BG */
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #2a2c33; /* Slightly lighter for hover */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #2a2c33;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−'; /* Change to minus when open */
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF3E6; /* Text Main */
  line-height: 1.5;
}

.page-cockfighting__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Conclusion Section */
.page-cockfighting__conclusion {
  padding-bottom: 80px;
  background-color: #17191F; /* Card BG for this section */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
}

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

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

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

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    min-height: unset;
  }

  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness - no video element here, but keeping for completeness */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile container responsiveness */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__hero-content,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__feature-grid,
  .page-cockfighting__step-grid,
  .page-cockfighting__game-grid,
  .page-cockfighting__advantage-grid,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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 {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-cockfighting__advantage-item .page-cockfighting__icon {
    width: 200px !important;
    height: 200px !important;
  }
}