:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --background-color: #FFFFFF;
    --register-login-font-color: #FFFF00;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --card-bg-light: #FFFFFF;
    --card-border-light: #e0e0e0;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light-bg);
    background-color: var(--background-color);
}

.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting__dark-section {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
}

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

.page-cockfighting__main-title {
    font-size: 44px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
    line-height: 1.2;
}

.page-cockfighting__intro-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-color-dark-bg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
    color: var(--secondary-color);
}

.page-cockfighting p {
    font-size: 17px;
    margin-bottom: 15px;
    text-align: justify;
}

.page-cockfighting__dark-section p {
    color: var(--text-color-dark-bg);
}

.page-cockfighting__link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__dark-section .page-cockfighting__link {
    color: var(--secondary-color);
}

.page-cockfighting__link:hover {
    text-decoration: underline;
}

/* Hero Banner */
.page-cockfighting__hero-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 80px;
    overflow: hidden;
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.8); /* Slight darkening for text readability */
}

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

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
    border: none;
}

.page-cockfighting__btn-register {
    background-color: var(--register-color);
    color: var(--register-login-font-color);
}

.page-cockfighting__btn-register:hover {
    background-color: #a00606;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-login {
    background-color: var(--login-color);
    color: var(--register-login-font-color);
}

.page-cockfighting__btn-login:hover {
    background-color: #a00606;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Grid Layout */
.page-cockfighting__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__card {
    background-color: var(--card-bg-light);
    border: 1px solid var(--card-border-light);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-cockfighting__card p {
    font-size: 16px;
    color: var(--text-color-light-bg);
    text-align: justify;
}

/* List Styles */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 30px auto;
}

.page-cockfighting__list li {
    background-color: var(--card-bg-light);
    border: 1px solid var(--card-border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-color-light-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.page-cockfighting__list li strong {
    color: var(--primary-color);
    flex-shrink: 0;
}

.page-cockfighting__link-button {
    display: inline-block;
    margin-left: 10px;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-cockfighting__link-button:hover {
    background-color: #005f2e;
}

.page-cockfighting__list-strategy {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 900px;
    margin: 30px auto;
}

.page-cockfighting__list-strategy li {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 15px 20px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-color-dark-bg);
}

.page-cockfighting__list-strategy li strong {
    color: var(--secondary-color);
}

.page-cockfighting__image-content {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__benefits-list {
    list-style: disc;
    text-align: left;
    max-width: 800px;
    margin: 30px auto;
    padding-left: 20px;
}

.page-cockfighting__benefits-list li {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--text-color-light-bg);
}

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

.page-cockfighting__feature-item {
    background-color: var(--card-bg-light);
    border: 1px solid var(--card-border-light);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__feature-item img {
    
    
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.page-cockfighting__feature-item h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-cockfighting__feature-item p {
    font-size: 16px;
    color: var(--text-color-light-bg);
    text-align: center;
}

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

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cockfighting__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-cockfighting__faq-question:active {
    background: #eeeeee;
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: #333;
    transform: rotate(45deg); /* Changed from '-' to rotate '+' */
}

/* CTA Section */
.page-cockfighting__cta-section {
    padding: 80px 0;
}

.page-cockfighting__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-cockfighting__cta-content .page-cockfighting__section-title {
    color: var(--secondary-color);
}

.page-cockfighting__cta-content p {
    font-size: 18px;
    color: var(--text-color-dark-bg);
    margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 38px;
    }

    .page-cockfighting__section-title {
        font-size: 32px;
    }

    .page-cockfighting__grid-layout {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cockfighting__section {
        padding: 40px 0;
    }

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

    .page-cockfighting__hero-banner {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-cockfighting__main-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .page-cockfighting__intro-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-cockfighting__section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .page-cockfighting p {
        font-size: 16px;
    }

    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 18px;
        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 {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__grid-layout,
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-cockfighting__card img {
        
    }

    .page-cockfighting__card-title {
        font-size: 20px;
    }

    .page-cockfighting__list,
    .page-cockfighting__list-strategy,
    .page-cockfighting__benefits-list,
    .page-cockfighting__faq-list {
        margin: 20px auto;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__list li {
        padding: 15px;
        font-size: 15px;
    }
    
    .page-cockfighting__list li strong {
        font-size: 16px;
    }

    .page-cockfighting__link-button {
        padding: 6px 12px;
        font-size: 14px;
    }

    .page-cockfighting__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-cockfighting__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-cockfighting__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-cockfighting__faq-answer {
        padding: 0 15px;
    }
    
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px !important;
    }
    
    /* Ensure all images are responsive and do not overflow */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}