.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color, #1F2D3D);
    background-color: var(--background-color, #F4F7FB);
    line-height: 1.6;
    font-size: 16px;
}

.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 40px;
    background-color: #F4F7FB;
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    text-align: center;
    color: var(--text-main-color, #1F2D3D);
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3.2em);
    font-weight: bold;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-main-color, #1F2D3D);
}

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

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

.page-cockfighting__btn-secondary {
    background: #ffffff;
    color: var(--primary-color, #2F6BFF);
    border: 2px solid var(--primary-color, #2F6BFF);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--primary-color, #2F6BFF);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-cockfighting__btn-text {
    background: none;
    color: var(--primary-color, #2F6BFF);
    border: none;
    padding: 8px 15px;
    text-align: left;
    justify-content: flex-start;
    font-size: 0.95em;
    font-weight: normal;
}

.page-cockfighting__btn-text:hover {
    text-decoration: underline;
    color: var(--secondary-color, #6FA3FF);
}

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

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
    color: var(--custom-color-1776249996415, #000000);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-cockfighting__description-text {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-main-color, #1F2D3D);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__intro-section {
    padding: 60px 0;
    background-color: var(--background-color, #F4F7FB);
}

.page-cockfighting__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-cockfighting__text-block {
    flex: 1;
    color: var(--text-main-color, #1F2D3D);
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
}

.page-cockfighting__image-responsive {
    flex: 1;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px; 
    min-height: 200px;
}

.page-cockfighting__features-section {
    padding: 80px 0;
    background-color: var(--primary-color, #2F6BFF);
    color: #ffffff;
}

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

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

.page-cockfighting__feature-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__feature-icon {
    width: 100%; /* Occupy full width of card initially */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-cockfighting__feature-card p {
    color: rgba(255, 255, 255, 0.9);
}

.page-cockfighting__how-to-play-section {
    padding: 60px 0;
    background-color: var(--card-bg-color, #FFFFFF);
}

.page-cockfighting__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-cockfighting__step-card {
    background: var(--background-color, #F4F7FB);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color, #2F6BFF);
    margin-bottom: 15px;
    background: #e0eaff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__step-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--custom-color-1776249996415, #000000);
}

.page-cockfighting__step-card p {
    margin-bottom: 20px;
    color: var(--text-main-color, #1F2D3D);
    flex-grow: 1;
}

.page-cockfighting__tips-section {
    padding: 80px 0;
    background-color: var(--primary-color, #2F6BFF);
    color: #ffffff;
}

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

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

.page-cockfighting__tip-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__tip-item p {
    color: rgba(255, 255, 255, 0.9);
}

.page-cockfighting__promotions-section {
    padding: 60px 0;
    background-color: var(--background-color, #F4F7FB);
    text-align: center;
}

.page-cockfighting__promotion-image {
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg-color, #FFFFFF);
}

.page-cockfighting__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-cockfighting__faq-item {
    background: var(--background-color, #F4F7FB);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--custom-color-1776249996415, #000000);
    cursor: pointer;
    background: #F4F7FB;
    user-select: none;
    list-style: none;
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    color: var(--primary-color, #2F6BFF);
    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: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main-color, #1F2D3D);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    max-height: 500px;
    padding-top: 10px;
}

.page-cockfighting__cta-final-section {
    padding: 80px 0;
    background-color: var(--primary-color, #2F6BFF);
    color: #ffffff;
    text-align: center;
}

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

.page-cockfighting__cta-final-section .page-cockfighting__description-text {
    color: rgba(255, 255, 255, 0.9);
}

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

.page-cockfighting__section,
.page-cockfighting__card,
.page-cockfighting__container,
.page-cockfighting__content-wrapper,
.page-cockfighting__hero-section,
.page-cockfighting__feature-card,
.page-cockfighting__step-card,
.page-cockfighting__tip-item,
.page-cockfighting__faq-item {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.8em, 4vw, 2em);
    }
    .page-cockfighting__hero-content {
        padding: 0 30px;
    }
    .page-cockfighting__container {
        padding: 30px 20px;
    }
    .page-cockfighting__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-cockfighting__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    .page-cockfighting__main-title {
        font-size: 2em !important;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-cockfighting__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-cta {
        flex-direction: column !important;
        gap: 10px;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__content-wrapper,
    .page-cockfighting__hero-section,
    .page-cockfighting__feature-card,
    .page-cockfighting__step-card,
    .page-cockfighting__tip-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-cockfighting__image-responsive {
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-cockfighting__feature-icon {
        min-width: 200px !important;
        min-height: 200px !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__promotion-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-text,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column !important;
    }
    .page-cockfighting__btn-text {
        text-align: center !important;
        justify-content: center !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
    }
    .page-cockfighting__description-text {
        font-size: 1em;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__tips-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__step-card,
    .page-cockfighting__tip-item,
    .page-cockfighting__faq-item {
        padding: 20px !important;
        margin-bottom: 10px;
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__step-title,
    .page-cockfighting__tip-title {
        font-size: 1.2em;
    }
    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
        padding-top: 5px;
    }
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}