/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  line-height: 1.6;
  background-color: transparent; /* body handles the main background */
}

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

/* Section titles */
.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

/* H1 title - not fixed font-size as per rule */
.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: center;
}

/* Text blocks */
.page-cockfighting__text-block {
  margin-bottom: 20px;
  text-align: justify;
}

/* Lists */
.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px; /* Indent for list markers */
}

.page-cockfighting__ordered-list li,
.page-cockfighting__unordered-list li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, rgba(38, 169, 224, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%); /* Subtle gradient background for contrast */
}

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

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1; /* Ensure content is above any background elements */
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1e87b5;
  border-color: #1e87b5;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-login:hover {
  background-color: #c46606;
  border-color: #c46606;
}

/* General image styling for content areas */
.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Dark section styling */
.page-cockfighting__dark-section {
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color for dark sections */
  padding: 60px 0;
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #ffffff; /* White title on dark section */
}

/* Promotion Cards */
.page-cockfighting__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent background for cards on dark page */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #ffffff; /* Light text for cards */
  height: 100%; /* Ensure cards have equal height */
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-cockfighting__card-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-cockfighting__card .page-cockfighting__btn-primary {
  margin-top: auto; /* Align button to bottom */
  width: 100%;
}

.page-cockfighting__view-all-promos {
  display: block;
  margin-top: 20px;
  text-align: center;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting__faq-item summary {
  list-style: none; /* Remove default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0; /* Brand color for toggle icon */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95rem;
  color: #f0f0f0; /* Slightly off-white for answer text */
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(90deg, rgba(38, 169, 224, 0.2) 0%, rgba(38, 169, 224, 0.4) 100%); /* Blue gradient background */
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__cta-final-section .page-cockfighting__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__main-title {
    font-size: 2.5rem;
  }
}

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

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

  .page-cockfighting__main-title {
    font-size: 2rem;
    padding: 0 15px;
  }
  
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }

  /* Images responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers containing images, videos, buttons */
  .page-cockfighting__container,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__promotion-cards,
  .page-cockfighting__faq-list,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__tips-strategies-section,
  .page-cockfighting__why-choose-kim99-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Button responsiveness */
  .page-cockfighting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
  
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-login {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-cockfighting__card-image {
    height: 180px; /* Adjust card image height for mobile */
  }

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

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

  .page-cockfighting__dark-section,
  .page-cockfighting__cta-final-section {
    padding: 40px 15px;
  }
}

/* Ensure no CSS filters are used for images */
.page-cockfighting img {
  filter: none; /* Explicitly ensure no filters */
}

/* Ensure no specific video styles are conflicting */
.page-cockfighting video {
  filter: none; /* Explicitly ensure no filters */
}

/* Content area image size limit */
.page-cockfighting__introduction-section img,
.page-cockfighting__tips-strategies-section img,
.page-cockfighting__promotion-cards .page-cockfighting__card-image {
  min-width: 200px;
  min-height: 200px;
}