/* style/cockfighting.css */

/* Base styles for the page content */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #333333); /* Default text color, assumes light body bg */
  background-color: var(--bg-color, #F5F7FA); /* Background from shared, fallback to custom */
}

/* Custom properties for colors (from custom-colors section) */
:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --card-bg-color: #FFFFFF;
  --page-bg-color: #F5F7FA;
  --text-main-color: #333333;
  --border-color: #E0E0E0;
}

/* Ensure contrast for specific elements */
.page-cockfighting__dark-bg {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  width: 100%; /* Ensure width for content block */
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: var(--text-main-color);
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main-color);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-cockfighting__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #555555;
}

/* --- Buttons --- */
.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- General Content Sections --- */
.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main-color);
}

.page-cockfighting__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-cockfighting__introduction-section p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-cockfighting__image-text-block img {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__text-content {
  flex: 1 1 400px;
  text-align: left;
}

/* --- Features Section Specifics --- */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 250px;
  box-sizing: border-box;
}

.page-cockfighting__feature-card img {
  
  height: auto;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
}

.page-cockfighting__feature-card .page-cockfighting__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-cockfighting__feature-card p {
  font-size: 1rem;
  color: #f0f0f0;
}

/* --- How To Play Section Specifics --- */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.page-cockfighting__step-number {
  background-color: var(--primary-color);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-card .page-cockfighting__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-cockfighting__step-card p {
  font-size: 1rem;
  color: #555555;
}

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* --- Bet Types Section Specifics --- */
.page-cockfighting__bet-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-cockfighting__bet-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px;
  box-sizing: border-box;
}

.page-cockfighting__bet-item .page-cockfighting__list-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-cockfighting__bet-item p {
  font-size: 1rem;
  color: #f0f0f0;
}

/* --- FAQ Section Specifics --- */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid var(--border-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid var(--border-color);
  background-color: #f0f0f0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #555555;
}

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

/* --- Final CTA Section --- */
.page-cockfighting__cta-inner {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-cockfighting__cta-inner p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #ffffff;
}

/* --- Responsive Adjustments (Mobile First) --- */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

  .page-cockfighting__description {
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .page-cockfighting__image-text-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__image-text-block img {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__text-content {
    width: 100%;
  }

  .page-cockfighting__feature-card {
    padding: 25px;
  }

  .page-cockfighting__feature-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    object-fit: contain !important;
  }

  .page-cockfighting__step-card {
    padding: 25px;
  }

  .page-cockfighting__bet-item {
    padding: 20px;
  }

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

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

  /* General image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-text-block,
  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__bet-list,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  /* Video specific styles (if any, not present on this page) */
  .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-section {
    padding-top: 10px !important;
  }
}