.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    background-color: #F4F7FB; /* Body background from shared.css */
}

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

.page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
    padding-bottom: 40px;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    height: 600px; /* Adjust as needed */
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-cockfighting__btn-secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-cockfighting__btn-secondary:hover {
    background: #e0eaff;
    color: #2F6BFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.2);
}

.page-cockfighting__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
}

.page-cockfighting__section-title--white {
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background-color: #F4F7FB;
    padding: 60px 0;
}

.page-cockfighting__dark-section {
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
    padding: 60px 0;
    color: #ffffff;
}

.page-cockfighting__introduction-section .page-cockfighting__text-block {
    max-width: 900px;
    margin: 0 auto 20px auto;
    line-height: 1.8;
    font-size: 1.05em;
    text-align: center;
}

.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: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

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

.page-cockfighting__feature-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__feature-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #1F2D3D;
    margin-bottom: 10px;
}

.page-cockfighting__feature-text {
    font-size: 0.95em;
    line-height: 1.7;
}

.page-cockfighting__how-to-play-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting__steps-list {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.page-cockfighting__step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.page-cockfighting__step-number {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

.page-cockfighting__step-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #1F2D3D;
    margin-top: 5px;
    margin-bottom: 5px;
}

.page-cockfighting__step-item p {
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

.page-cockfighting__how-to-play-image-wrapper {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__how-to-play-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-cockfighting__cta-buttons--center {
    margin-top: 50px;
}

.page-cockfighting__promotions-section {
    padding: 60px 0;
}

.page-cockfighting__promotion-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    max-width: 1000px;
    margin: 50px auto 0 auto;
    color: #333333;
}

.page-cockfighting__promotion-content {
    flex: 2;
    text-align: left;
}

.page-cockfighting__promotion-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #1F2D3D;
    margin-bottom: 15px;
}

.page-cockfighting__promotion-text {
    font-size: 1.0em;
    line-height: 1.7;
    margin-bottom: 25px;
}

.page-cockfighting__promotion-image-wrapper {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.page-cockfighting__promotion-image {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Styles */
details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #D6E2FF;
    overflow: hidden;
    background: #ffffff;
}
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: #1F2D3D;
    font-weight: 600;
}
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: #f5f5f5;
}
.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
    color: #1F2D3D;
}
.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #2F6BFF;
    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: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #333333;
    line-height: 1.7;
}

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

/* General Image styles */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image-wrapper {
        height: 500px;
    }
    .page-cockfighting__main-title {
        font-size: 3em;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-cockfighting__how-to-play-content {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting__how-to-play-image-wrapper {
        order: -1;
        margin-bottom: 30px;
    }
    .page-cockfighting__step-item {
        justify-content: center;
    }
    .page-cockfighting__promotion-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Ensure small top padding on mobile */
        padding-bottom: 30px;
    }
    .page-cockfighting__hero-image-wrapper {
        height: 300px;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
        margin-bottom: 10px;
    }
    .page-cockfighting__description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__light-bg,
    .page-cockfighting__dark-section {
        padding: 40px 0;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        height: 200px;
    }
    .page-cockfighting__how-to-play-content {
        gap: 20px;
    }
    .page-cockfighting__how-to-play-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__how-to-play-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-cockfighting__step-number {
        margin-bottom: 10px;
    }
    .page-cockfighting__promotion-card {
        padding: 20px;
        gap: 20px;
    }
    .page-cockfighting__promotion-title {
        font-size: 1.5em;
    }
    .page-cockfighting__promotion-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__promotion-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
    .page-cockfighting__faq-qtext { font-size: 1em; }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

    /* General image and container responsiveness for mobile */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}