.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F3F8FF; /* Text Main for dark background */
    background-color: transparent; /* body handles actual background */
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    overflow: hidden;
    background-color: #08162B; /* Deep Navy, matching body background */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic reasons */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: #F2C14E; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-cockfighting__description {
    font-size: 1.1rem;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 30px;
}

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

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #1D5FD1; /* Accent color */
    border: 2px solid #1D5FD1;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #1D5FD1;
    color: #F3F8FF;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

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

.page-cockfighting__text-block {
    font-size: 1.05rem;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* Dark Section Styling */
.page-cockfighting__dark-section {
    background-color: #10233F; /* Card BG */
    padding: 60px 0;
}

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

.page-cockfighting__card {
    background-color: #08162B; /* Deep Navy for card background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #244D84; /* Border color */
    transition: transform 0.3s ease;
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__card-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-text {
    font-size: 1rem;
    color: #AFC4E8; /* Text Secondary */
}

/* How-To Play Section */
.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__list-item {
    background-color: #08162B; /* Deep Navy */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #244D84;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
    font-size: 1.6rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__list-description {
    font-size: 1.05rem;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-cockfighting__bullet-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-cockfighting__bullet-list .page-cockfighting__list-item {
    background-color: #08162B; /* Deep Navy */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #244D84;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__bullet-list .page-cockfighting__list-item:last-child {
    margin-bottom: 0;
}

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

.page-cockfighting__advantage-item {
    background-color: #08162B; /* Deep Navy */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid #244D84;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__advantage-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__advantage-title {
    font-size: 1.4rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__advantage-text {
    font-size: 0.95rem;
    color: #AFC4E8; /* Text Secondary */
}

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

.page-cockfighting__faq-item {
    background-color: #08162B; /* Deep Navy */
    border: 1px solid #244D84;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #F3F8FF; /* Text Main */
    cursor: pointer;
    list-style: none;
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: #F2C14E; /* Gold for question text */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: #4FA8FF; /* Glow color for toggle */
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: #AFC4E8; /* Text Secondary */
    line-height: 1.7;
}

.page-cockfighting__text-link {
    color: #1D5FD1; /* Accent color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
    color: #4FA8FF; /* Glow color on hover */
    text-decoration: underline;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    padding: 80px 0;
    text-align: center;
    background-color: #113B7A; /* Main brand color for strong CTA */
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: #F2C14E; /* Gold */
}

.page-cockfighting__cta-final-section .page-cockfighting__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #F3F8FF;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
    .page-cockfighting__card-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__advantage-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-content {
        padding: 20px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .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;
        font-size: 1rem;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .page-cockfighting__container {
        padding: 15px;
    }
    .page-cockfighting__text-block {
        font-size: 0.95rem;
    }
    
    /* Image and Video responsive rules */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__container,
    .page-cockfighting__grid-cards,
    .page-cockfighting__card,
    .page-cockfighting__list-item,
    .page-cockfighting__grid-advantages,
    .page-cockfighting__advantage-item,
    .page-cockfighting__faq-item,
    .page-cockfighting__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-cockfighting__hero-section,
    .page-cockfighting__introduction-section,
    .page-cockfighting__types-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-cockfighting__hero-image {
        max-height: 400px; /* Adjust hero image height for mobile */
    }

    /* FAQ specific for details tag */
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        font-size: 0.9rem;
        padding: 0 15px 15px 15px;
    }
}