/* style/g.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-cockfighting__section-title:hover {
  color: #FFFFFF;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: #000000; /* Ensure hero section background is dark */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit height to prevent excessive stretching */
  object-fit: cover;
  margin-bottom: 30px;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-cockfighting__btn-primary:hover {
  background-color: #1a7eb3;
  transform: translateY(-3px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-3px);
}

.page-cockfighting__btn-center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

/* Section Styling */
.page-cockfighting__intro-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__expert-tips-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
}

.page-cockfighting__registration-guide-section,
.page-cockfighting__why-choose-us-section,
.page-cockfighting__promotions-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  color: #ffffff; /* Light text for dark background */
}

.page-cockfighting__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-cockfighting__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__light-bg .page-cockfighting__text-block {
  color: #333333;
}

/* Feature List */
.page-cockfighting__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-heading {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

/* Betting Types Grid */
.page-cockfighting__betting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__betting-card {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__betting-card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__betting-card-description {
  font-size: 1em;
  color: #555555;
}

.page-cockfighting__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Steps List */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-cockfighting__step-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px 30px 25px 70px;
  margin-bottom: 20px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2em;
}

.page-cockfighting__step-heading {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

/* Tips List */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tip-item {
  background: #f8f8f8;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__tip-heading {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__tip-description {
  font-size: 1em;
  color: #555555;
}

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

.page-cockfighting__faq-item {
  background: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-cockfighting__faq-item summary:hover {
  background-color: #eef;
}

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

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

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #eee;
}

/* Dark background specific styles */
.page-cockfighting__dark-bg .page-cockfighting__feature-item,
.page-cockfighting__dark-bg .page-cockfighting__step-item {
  background: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__dark-bg .page-cockfighting__feature-description,
.page-cockfighting__dark-bg .page-cockfighting__step-description {
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image {
    max-height: 500px;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }

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

  .page-cockfighting__hero-description {
    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;
  }

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

  .page-cockfighting__intro-section,
  .page-cockfighting__why-choose-us-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__registration-guide-section,
  .page-cockfighting__expert-tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 60px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__feature-list,
  .page-cockfighting__betting-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__betting-card,
  .page-cockfighting__step-item,
  .page-cockfighting__tip-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }
  
  .page-cockfighting__step-item::before {
    left: 15px;
  }

  .page-cockfighting__step-item {
    padding-left: 60px;
  }

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

  .page-cockfighting__content-image {
    margin-left: 0;
    margin-right: 0;
  }

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

  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
  }
  
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}