/* style/cockfighting-live.css */
.page-cockfighting-live {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background from shared.css */
}

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

.page-cockfighting-live__section-title {
  font-size: clamp(1.8em, 2.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #26A9E0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting-live__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-live__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-cockfighting-live__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting-live__text-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-cockfighting-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 10px 0 60px 0; /* body handles padding-top, 10px for decorative top space */
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting-live__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-cockfighting-live__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.page-cockfighting-live__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-cockfighting-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-cockfighting-live__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-cockfighting-live__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

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

.page-cockfighting-live__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-cockfighting-live__btn-promo {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-cockfighting-live__btn-promo:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

/* General Section Styling */
.page-cockfighting-live__introduction-section,
.page-cockfighting-live__how-to-play-section,
.page-cockfighting-live__betting-types-section,
.page-cockfighting-live__tips-section,
.page-cockfighting-live__promotions-section,
.page-cockfighting-live__platform-safety-section,
.page-cockfighting-live__faq-section,
.page-cockfighting-live__cta-bottom-section {
  padding: 80px 0;
}

.page-cockfighting-live__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting-live__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

/* Grid and Feature Styling */
.page-cockfighting-live__content-grid,
.page-cockfighting-live__card-grid,
.page-cockfighting-live__promo-grid,
.page-cockfighting-live__safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting-live__grid-item,
.page-cockfighting-live__card,
.page-cockfighting-live__promo-card,
.page-cockfighting-live__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%; /* Ensure cards have equal height */
  box-sizing: border-box;
}

.page-cockfighting-live__grid-item:hover,
.page-cockfighting-live__card:hover,
.page-cockfighting-live__promo-card:hover,
.page-cockfighting-live__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-live__feature-image,
.page-cockfighting-live__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting-live__feature-title,
.page-cockfighting-live__card-title,
.page-cockfighting-live__promo-title,
.page-cockfighting-live__feature-heading,
.page-cockfighting-live__tip-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting-live__feature-description,
.page-cockfighting-live__card-description,
.page-cockfighting-live__promo-description,
.page-cockfighting-live__feature-text,
.page-cockfighting-live__tip-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1; /* Allow description to take available space */
}

/* How-To Play Section */
.page-cockfighting-live__step-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-cockfighting-live__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px;
  box-sizing: border-box;
}

.page-cockfighting-live__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #0a0a0a;
}

.page-cockfighting-live__step-title {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting-live__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-cockfighting-live__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Tips Section */
.page-cockfighting-live__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-cockfighting-live__tip-icon {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  display: block;
}

/* Platform Safety Section */
.page-cockfighting-live__feature-icon {
  font-size: 3em;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-cockfighting-live__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-cockfighting-live__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-cockfighting-live__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting-live__faq-answer {
  padding: 0 20px;
  color: #f0f0f0;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting-live__faq-answer p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
}

.page-cockfighting-live__faq-item.active .page-cockfighting-live__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
}

/* Details/Summary specific styles for native FAQ */
.page-cockfighting-live__faq-item[open] .page-cockfighting-live__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting-live__faq-item[open] .page-cockfighting-live__faq-answer {
  max-height: none; /* Let content define height */
  padding-bottom: 20px;
}

.page-cockfighting-live__faq-item summary {
  list-style: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-live__hero-section {
    min-height: 400px;
  }
  .page-cockfighting-live__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-cockfighting-live__section-title {
    font-size: clamp(1.6em, 2.8vw, 2.2em);
  }
}

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

  .page-cockfighting-live__hero-section {
    padding: 10px 0 40px 0; /* body handles padding-top, 10px for decorative top space */
  }

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

  .page-cockfighting-live__hero-image,
  .page-cockfighting-live__feature-image,
  .page-cockfighting-live__promo-image,
  .page-cockfighting-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-live__introduction-section,
  .page-cockfighting-live__how-to-play-section,
  .page-cockfighting-live__betting-types-section,
  .page-cockfighting-live__tips-section,
  .page-cockfighting-live__promotions-section,
  .page-cockfighting-live__platform-safety-section,
  .page-cockfighting-live__faq-section,
  .page-cockfighting-live__cta-bottom-section,
  .page-cockfighting-live__container,
  .page-cockfighting-live__grid-item,
  .page-cockfighting-live__card,
  .page-cockfighting-live__promo-card,
  .page-cockfighting-live__feature-item,
  .page-cockfighting-live__cta-buttons,
  .page-cockfighting-live__button-group,
  .page-cockfighting-live__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-cockfighting-live__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .page-cockfighting-live__btn-primary,
  .page-cockfighting-live__btn-secondary,
  .page-cockfighting-live__btn-promo,
  .page-cockfighting-live a[class*="button"],
  .page-cockfighting-live 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-live__content-grid,
  .page-cockfighting-live__card-grid,
  .page-cockfighting-live__promo-grid,
  .page-cockfighting-live__safety-features,
  .page-cockfighting-live__step-list {
    grid-template-columns: 1fr;
  }

  .page-cockfighting-live__introduction-section,
  .page-cockfighting-live__how-to-play-section,
  .page-cockfighting-live__betting-types-section,
  .page-cockfighting-live__tips-section,
  .page-cockfighting-live__promotions-section,
  .page-cockfighting-live__platform-safety-section,
  .page-cockfighting-live__faq-section,
  .page-cockfighting-live__cta-bottom-section {
    padding: 40px 0;
  }

  .page-cockfighting-live__section-title {
    margin-bottom: 25px;
  }

  .page-cockfighting-live__text-block {
    margin-bottom: 30px;
  }

  .page-cockfighting-live__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-cockfighting-live__faq-answer p {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-live__main-title {
    font-size: 2.2em;
  }
  .page-cockfighting-live__hero-description {
    font-size: 1em;
  }
  .page-cockfighting-live__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting-live__btn-primary,
  .page-cockfighting-live__btn-secondary,
  .page-cockfighting-live__btn-promo {
    font-size: 1em;
    padding: 12px 20px;
  }
}