.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF;
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, header offset handled by body */
    padding-bottom: 40px;
    text-align: center;
    background-color: #26A9E0;
    color: #FFFFFF;
    overflow: hidden; /* Ensure no image overflow */
}

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

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

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

.page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3.5em);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__subtitle {
    font-size: clamp(1em, 2.5vw, 1.3em);
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-tertiary,
.page-cockfighting__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
    background-color: #cf6d06;
    border-color: #cf6d06;
    transform: translateY(-2px);
}

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

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

.page-cockfighting__btn-tertiary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-cockfighting__btn-tertiary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-cockfighting__btn-link {
    background: none;
    color: #26A9E0;
    border: none;
    padding: 0;
    text-decoration: underline;
}

.page-cockfighting__btn-link:hover {
    color: #1e87b7;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #26A9E0;
}

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

.page-cockfighting__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
    text-align: justify;
}

.page-cockfighting__dark-bg .page-cockfighting__text-block {
    color: #f0f0f0;
}

.page-cockfighting__introduction-section,
.page-cockfighting__types-section,
.page-cockfighting__tips-section,
.page-cockfighting__support-security-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-cockfighting__why-choose-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-cockfighting__features-grid,
.page-cockfighting__type-cards,
.page-cockfighting__steps-grid,
.page-cockfighting__promo-cards,
.page-cockfighting__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__step-card,
.page-cockfighting__promo-card,
.page-cockfighting__info-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__dark-bg .page-cockfighting__feature-card,
.page-cockfighting__dark-bg .page-cockfighting__type-card,
.page-cockfighting__dark-bg .page-cockfighting__step-card,
.page-cockfighting__dark-bg .page-cockfighting__promo-card,
.page-cockfighting__dark-bg .page-cockfighting__info-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__feature-icon,
.page-cockfighting__type-image,
.page-cockfighting__promo-image,
.page-cockfighting__info-icon {
    width: 100%;
    height: auto;
    max-width: 400px; /* Max width for content images */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__feature-title,
.page-cockfighting__type-title,
.page-cockfighting__step-title,
.page-cockfighting__promo-title,
.page-cockfighting__info-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-cockfighting__dark-bg .page-cockfighting__feature-title,
.page-cockfighting__dark-bg .page-cockfighting__type-title,
.page-cockfighting__dark-bg .page-cockfighting__step-title,
.page-cockfighting__dark-bg .page-cockfighting__promo-title,
.page-cockfighting__dark-bg .page-cockfighting__info-title {
    color: #FFFFFF;
}

.page-cockfighting__feature-description,
.page-cockfighting__type-description,
.page-cockfighting__step-description,
.page-cockfighting__promo-description,
.page-cockfighting__info-description {
    font-size: 1em;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-cockfighting__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

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

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

.page-cockfighting__tip-description {
    font-size: 1em;
    line-height: 1.6;
}

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

.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFFFFF;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 4.5vw, 3em);
    }
    .page-cockfighting__subtitle {
        font-size: clamp(0.9em, 2vw, 1.2em);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6em, 3.5vw, 2.5em);
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__type-title,
    .page-cockfighting__step-title,
    .page-cockfighting__promo-title,
    .page-cockfighting__info-title {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    .page-cockfighting__hero-image {
        max-height: 400px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5em, 7vw, 2.5em);
    }
    .page-cockfighting__subtitle {
        font-size: clamp(0.85em, 3.5vw, 1.1em);
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin: 0 auto;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-tertiary,
    .page-cockfighting__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
    }

    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

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

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__step-card,
    .page-cockfighting__promo-card,
    .page-cockfighting__info-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__type-cards,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promo-cards,
    .page-cockfighting__info-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 10px 20px 15px;
    }
    .page-cockfighting__tip-item {
        padding: 15px;
    }
    .page-cockfighting__tip-heading {
        font-size: 1.1em;
    }

    /* Ensure content images are not too small */
    .page-cockfighting img:not(.page-cockfighting__hero-image) {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        padding: 10px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.2em, 8vw, 2em);
    }
    .page-cockfighting__subtitle {
        font-size: clamp(0.8em, 4vw, 1em);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
    }
    .page-cockfighting__cta-buttons {
        max-width: 250px;
    }
}