.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background: #B71C1C; /* Background */
}

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

.page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding, assuming body padding-top from shared.css */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #7A0E0E; /* Deep Red */
    padding-bottom: 40px;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: 20px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100%; /* Ensure image fits container */
}

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

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    color: #FFCC66; /* Glow */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: #FFF5E1; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom color */
    color: #7A0E0E; /* Deep Red for contrast */
    border: 2px solid #F4D34D; /* Gold */
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 216, 106, 0.4);
}

.page-cockfighting__btn-secondary {
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border */
}

.page-cockfighting__btn-secondary:hover {
    background: #B71C1C; /* Background */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.page-cockfighting__introduction-section,
.page-cockfighting__download-guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
    background: #B71C1C; /* Background */
    padding: 60px 0;
}

.page-cockfighting__dark-bg {
    background: #7A0E0E; /* Deep Red */
    color: #FFF5E1; /* Text Main */
}

.page-cockfighting__features-section,
.page-cockfighting__betting-guide-section,
.page-cockfighting__safety-section,
.page-cockfighting__cta-final-section {
    background: #C91F17; /* Primary color */
    padding: 60px 0;
    color: #FFF5E1; /* Text Main */
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #FFCC66; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__features-grid,
.page-cockfighting__guide-steps,
.page-cockfighting__safety-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card {
    background: #D32F2F; /* Card BG */
    border: 1px solid #F2B544; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF5E1; /* Text Main */
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
    border-radius: 5px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__card-title,
.page-cockfighting__step-title,
.page-cockfighting__promotion-title {
    font-size: 1.5em;
    color: #FFCC66; /* Glow */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__card-description {
    font-size: 1em;
    line-height: 1.7;
}

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

.page-cockfighting__promotion-item {
    background: #D32F2F; /* Card BG */
    border: 1px solid #F2B544; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #FFF5E1; /* Text Main */
}

.page-cockfighting__final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFCC66; /* Glow */
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #B71C1C; /* Background */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF5E1; /* Text Main */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1; /* Text Main */
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__hero-section {
        padding-bottom: 20px;
    }

    .page-cockfighting__hero-image-wrapper {
        padding: 0 15px;
    }

    .page-cockfighting__hero-image {
        object-fit: contain !important; /* HERO main image mobile contain */
        aspect-ratio: unset !important; /* Reset aspect ratio for contain */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2em, 8vw, 2.5em); /* Adjust H1 size for mobile */
        margin-bottom: 10px;
    }

    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-cockfighting__hero-cta-buttons,
    .page-cockfighting__final-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to button group */
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__features-section,
    .page-cockfighting__download-guide-section,
    .page-cockfighting__betting-guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__safety-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding: 40px 0;
    }

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

    .page-cockfighting__text-block {
        font-size: 1em;
        text-align: left;
    }

    .page-cockfighting__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
        padding: 0 15px; /* Ensure image container has padding */
        box-sizing: border-box;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__guide-steps,
    .page-cockfighting__safety-points,
    .page-cockfighting__promotion-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-cockfighting__card,
    .page-cockfighting__promotion-item {
        padding: 20px;
    }

    .page-cockfighting__card-icon {
        max-width: 100px;
        margin-bottom: 15px;
        min-width: unset;
        min-height: unset;
    }

    .page-cockfighting__card-title,
    .page-cockfighting__step-title,
    .page-cockfighting__promotion-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    /* FAQ Mobile Specifics */
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 1em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }

    /* General image and container responsive styles for content area */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    /* Button specific responsive styles */
    .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;
    }
    
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
      flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }
}