.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding */
    background-color: #000;
}

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

.page-cockfighting__hero-content {
    text-align: center;
    padding: 60px 20px;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-cockfighting__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

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

.page-cockfighting__btn-primary:hover {
    background-color: #c96a06;
    border-color: #c96a06;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #e0f4ff;
    color: #1a7eb3;
    border-color: #1a7eb3;
}

.page-cockfighting__about-section,
.page-cockfighting__game-types-section,
.page-cockfighting__tips-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-bottom-section {
    padding: 60px 0;
}

.page-cockfighting__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

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

.page-cockfighting__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

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

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

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

.page-cockfighting__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: bold;
}

.page-cockfighting__feature-item p {
    color: #e0f7fa;
}

.page-cockfighting__type-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.page-cockfighting__type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__type-title {
    font-size: 1.8em;
    color: #26A9E0;
    padding: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__type-card p {
    padding: 0 20px 20px;
    color: #555555;
}

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

.page-cockfighting__guide-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__guide-step-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__guide-list p {
    color: #e0f7fa;
    margin-bottom: 15px;
}

.page-cockfighting__guide-list .page-cockfighting__btn-primary,
.page-cockfighting__guide-list .page-cockfighting__btn-secondary {
    margin-top: 10px;
}

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-cockfighting__tips-list li {
    background-color: #f0f8ff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
}

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

.page-cockfighting__tips-list p {
    color: #555555;
    flex-grow: 1;
}

.page-cockfighting__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__promo-list li {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__promo-title {
    font-size: 1.6em;
    color: #ffffff;
    padding: 20px 20px 10px;
    font-weight: bold;
}

.page-cockfighting__promo-list p {
    color: #e0f7fa;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-cockfighting__promo-list a {
    color: #ffffff;
    text-decoration: underline;
}

.page-cockfighting__promo-list a:hover {
    color: #e0f4ff;
}

.page-cockfighting__cta-group {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: #f0f8ff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #eaf6ff;
    user-select: none;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    color: #26A9E0;
}

.page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    color: #555555;
    font-size: 1.1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    max-height: 500px; /* Arbitrary large value for smooth transition */
    padding-top: 10px;
}

.page-cockfighting__cta-bottom-section {
    text-align: center;
    padding: 80px 0;
}

.page-cockfighting__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #e0f7fa;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    /* Hero Section */
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-image {
        height: 300px;
        object-fit: contain; /* Ensure image is fully visible */
    }
    .page-cockfighting__hero-content {
        padding: 40px 15px;
    }
    .page-cockfighting__hero-title {
        font-size: 2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-cockfighting__cta-group,
    .page-cockfighting__cta-actions {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Feature Grid */
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__feature-item {
        padding: 20px;
    }

    /* Type Cards */
    .page-cockfighting__type-image {
        height: 200px;
    }
    .page-cockfighting__type-title {
        font-size: 1.5em;
    }

    /* Guide List */
    .page-cockfighting__guide-list li {
        padding: 20px;
    }
    .page-cockfighting__guide-step-title {
        font-size: 1.2em;
    }

    /* Tips List */
    .page-cockfighting__tips-list {
        grid-template-columns: 1fr;
    }

    /* Promo List */
    .page-cockfighting__promo-list {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__promo-image {
        height: 180px;
    }
    .page-cockfighting__promo-title {
        font-size: 1.4em;
    }

    /* FAQ */
    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        font-size: 0.95em;
        padding: 0 15px 15px;
    }

    /* CTA Bottom */
    .page-cockfighting__cta-bottom-section {
        padding: 50px 0;
    }
    .page-cockfighting__cta-description {
        font-size: 1.1em;
    }

    /* All images in content area */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* All containers with images */
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__type-card,
    .page-cockfighting__feature-item,
    .page-cockfighting__promo-list li {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}