.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--black-color); /* Assumed dark background from shared.css */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    color: #ffffff;
    overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
    padding: 30px 20px;
    max-width: 900px;
    margin-top: 20px;
    position: relative; /* Ensure content is above any potential background overlap */
    z-index: 10;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button fits container */
    box-sizing: border-box;
}

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

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

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

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

/* General Section Styling */
.page-cockfighting__section {
    padding: 60px 0;
}

.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

.page-cockfighting__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__sub-title {
    color: #000000;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__sub-title {
    color: #ffffff;
}

.page-cockfighting__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-cockfighting__link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-cockfighting__link:hover {
    color: #1a7fb3;
}

.page-cockfighting__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-cockfighting__list-item {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.page-cockfighting__image-card {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    color: #333333;
}

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

.page-cockfighting__image-caption {
    padding: 15px 20px;
    font-size: 0.95rem;
    text-align: center;
    color: #555555;
}

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

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

.page-cockfighting__step-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #333333;
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000000;
}

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

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #ffffff;
}

.page-cockfighting__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
}

.page-cockfighting__feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-cockfighting__feature-description {
    font-size: 1rem;
    line-height: 1.6;
}

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

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    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;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    background-color: rgba(0, 0, 0, 0.3);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    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: 20px 25px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #f0f0f0;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    text-align: center;
    padding-bottom: 60px;
}

.page-cockfighting__cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.page-cockfighting__conclusion-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-cockfighting__cta-content {
    max-width: 700px;
}

.page-cockfighting__cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #000000;
}

.page-cockfighting__cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Footer Note */
.page-cockfighting__footer-note {
    padding: 20px 0;
    text-align: center;
    background-color: #000000; /* Use black for copyright for contrast */
    color: #cccccc;
    font-size: 0.9rem;
}

.page-cockfighting__copyright {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__container {
        padding: 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }

    .page-cockfighting__hero-description {
        font-size: 1.1rem;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-cockfighting__sub-title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }

    .page-cockfighting__text-block,
    .page-cockfighting__list-item,
    .page-cockfighting__feature-description {
        font-size: 1rem;
    }

    .page-cockfighting__cta-wrapper {
        padding: 30px;
    }
}

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

    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

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

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust font size for mobile */
        margin-bottom: 15px;
    }

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

    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

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

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 30px;
    }

    .page-cockfighting__sub-title {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-cockfighting__text-block,
    .page-cockfighting__list-item {
        font-size: 0.95rem;
    }

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

    .page-cockfighting__image-card,
    .page-cockfighting__image-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0;
        margin-right: 0;
    }

    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr; /* Single column for steps */
        gap: 20px;
    }

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

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

    .page-cockfighting__security-features {
        grid-template-columns: 1fr; /* Single column for features */
        gap: 20px;
    }

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

    .page-cockfighting__feature-title {
        font-size: 1.1rem;
    }

    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .page-cockfighting__faq-answer {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-cockfighting__cta-wrapper {
        padding: 20px;
        gap: 20px;
    }

    .page-cockfighting__conclusion-image {
        max-width: 100%;
    }

    .page-cockfighting__cta-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .page-cockfighting__cta-description {
        font-size: 1rem;
    }
}