.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #FFF3E6; /* Text Main */
    background: #0D0E12; /* Background */
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    max-height: 700px; /* Limit height for desktop hero image */
    overflow: hidden;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
    object-position: center;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: 30px; /* Space below image */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Clamp for responsive H1 */
    font-weight: 700;
    color: #FFB04D; /* Glow */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-cockfighting__description {
    font-size: 1.15rem;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 600px; /* Limit width of button group */
    margin: 0 auto;
    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: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #ffffff;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #FFB04D 0%, #E07800 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: #FF8C1A; /* Main color */
    border: 2px solid #A84F0C; /* Border color */
}

.page-cockfighting__btn-secondary:hover {
    background: rgba(255, 140, 26, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-cockfighting__intro-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__advantages-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-bottom-section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem); /* Clamp for section titles */
    font-weight: 700;
    color: #FFB04D; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFA53A 0%, #D96800 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-cockfighting__article-body {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #FFF3E6; /* Text Main */
}

.page-cockfighting__article-body p {
    margin-bottom: 20px;
}

.page-cockfighting__article-body h3 {
    font-size: 1.6rem;
    color: #FFA53A; /* Auxiliary color */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cockfighting__article-body a {
    color: #FFB04D; /* Glow */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-cockfighting__article-body a:hover {
    color: #FFF3E6; /* Text Main */
}

.page-cockfighting__article-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-cockfighting__ordered-list li,
.page-cockfighting__unordered-list li {
    margin-bottom: 10px;
    color: #FFF3E6; /* Text Main */
}

.page-cockfighting__ordered-list li strong,
.page-cockfighting__unordered-list li strong {
    color: #FFB04D; /* Glow */
}

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

.page-cockfighting__feature-card {
    background: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF3E6; /* Text Main */
}

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

.page-cockfighting__card-image {
    width: 100%;
    max-width: 250px; /* Max width for card images */
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-cockfighting__card-title {
    font-size: 1.4rem;
    color: #FFB04D; /* Glow */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__card-description {
    font-size: 1rem;
    color: #FFF3E6; /* Text Main */
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}
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: #FFB04D; /* 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: rgba(255, 140, 26, 0.1); /* Lighter hover for dark background */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D; /* Glow */
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  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: rgba(23, 25, 31, 0.8); /* Slightly lighter Card BG for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6; /* Text Main */
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

/* CTA Bottom Section */
.page-cockfighting__cta-bottom-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(90deg, #0D0E12 0%, #17191F 50%, #0D0E12 100%); /* Subtle gradient background */
}


/* --- Mobile Responsiveness (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 15px;
        line-height: 1.5;
    }

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

    /* HERO Section Mobile */
    .page-cockfighting__hero-section {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .page-cockfighting__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        height: auto !important;
        max-height: 300px;
    }

    .page-cockfighting__hero-content {
        margin-top: 20px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-cockfighting__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px;
    }

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

    /* General Section Styles Mobile */
    .page-cockfighting__intro-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-bottom-section {
        padding: 40px 0;
        margin-bottom: 10px;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-cockfighting__article-body {
        font-size: 0.95rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-cockfighting__article-body h3 {
        font-size: 1.4rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-cockfighting__article-image {
        margin: 20px 0;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__ordered-list,
    .page-cockfighting__unordered-list {
        padding-left: 10px;
    }

    /* Features Grid Mobile (Advantages Section) */
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 0 15px;
    }

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

    .page-cockfighting__card-image {
        max-width: 200px;
        min-width: 150px;
        min-height: 150px;
    }

    .page-cockfighting__card-title {
        font-size: 1.2rem;
    }

    /* FAQ Section Mobile */
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 1rem;
    }
    .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;
    }

    /* CTA Bottom Section Mobile */
    .page-cockfighting__cta-bottom-section {
        padding: 50px 0;
    }
}