.page-cockfighting {
    font-family: Arial, sans-serif;
    color: #FFF5E1; /* Text Main */
    background-color: #B71C1C; /* Background */
}

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

.page-cockfighting__hero-section {
    padding-top: 10px; /* Adjusted for fixed header, as per instructions */
    padding-bottom: 40px;
    padding-left: 0;
    padding-right: 0;
    background-color: #B71C1C;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    color: #F4D34D; /* Gold */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-cockfighting__hero-description {
    font-size: clamp(1em, 1.5vw, 1.25em);
    line-height: 1.6;
    color: #FFF5E1;
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
    color: #7A0E0E; /* Deep Red */
    border: 2px solid #F4D34D; /* Gold */
    box-shadow: 0 4px 10px rgba(255, 204, 102, 0.4);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 204, 102, 0.6);
}

.page-cockfighting__btn-secondary {
    background-color: #C91F17; /* Main Color */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.page-cockfighting__btn-secondary:hover {
    background-color: #E53935; /* Auxiliary Color */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.page-cockfighting__center-button {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    color: #F4D34D; /* Gold */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF5E1;
}

.page-cockfighting__dark-section {
    background-color: #7A0E0E; /* Deep Red */
    padding: 60px 0;
}

.page-cockfighting__introduction-section .page-cockfighting__container,
.page-cockfighting__betting-types-section .page-cockfighting__container,
.page-cockfighting__platform-features-section .page-cockfighting__container,
.page-cockfighting__conclusion-section .page-cockfighting__container {
    padding: 40px 20px;
}

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

.page-cockfighting__feature-item {
    background-color: #D32F2F; /* Card BG */
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid #F2B544;
}

.page-cockfighting__feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    color: #F4D34D; /* Gold */
    margin-bottom: 10px;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
}

.page-cockfighting__how-to-join-section {
    background-color: #B71C1C;
    padding: 60px 0;
}

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

.page-cockfighting__step-item {
    background-color: #D32F2F; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid #F2B544;
}

.page-cockfighting__step-title {
    font-size: 1.5em;
    color: #F4D34D; /* Gold */
    margin-bottom: 15px;
}

.page-cockfighting__step-description {
    font-size: 1.05em;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    margin-bottom: 25px;
}

.page-cockfighting__step-button {
    width: calc(100% - 40px);
    max-width: 200px;
    margin-top: 15px;
}

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

.page-cockfighting__betting-card {
    background-color: #D32F2F; /* Card BG */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid #F2B544;
}

.page-cockfighting__betting-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__card-title {
    font-size: 1.3em;
    color: #F4D34D; /* Gold */
    margin-bottom: 10px;
}

.page-cockfighting__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
}

.page-cockfighting__strategy-tip {
    margin-top: 40px;
    font-style: italic;
    color: #FFD86A; /* Gold gradient start */
}

.page-cockfighting__promotions-section {
    background-color: #B71C1C;
    padding: 60px 0;
}

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

.page-cockfighting__promo-card {
    background-color: #D32F2F; /* Card BG */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid #F2B544;
}

.page-cockfighting__promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 30px;
}

.page-cockfighting__feature-item-large {
    display: flex;
    align-items: center;
    background-color: #D32F2F; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 1px solid #F2B544;
}

.page-cockfighting__feature-item-large:nth-child(even) {
    flex-direction: row-reverse;
}

.page-cockfighting__feature-item-large img {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-cockfighting__feature-content {
    width: 50%;
    padding: 30px;
    text-align: left;
}

.page-cockfighting__feature-item-large .page-cockfighting__feature-title {
    text-align: left;
    color: #F4D34D;
}

.page-cockfighting__feature-item-large .page-cockfighting__feature-description {
    text-align: left;
    color: #FFF5E1;
    margin-bottom: 20px;
}

.page-cockfighting__faq-section {
    background-color: #B71C1C;
    padding: 60px 0;
}

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

.page-cockfighting__faq-item {
    background-color: #D32F2F; /* Card BG */
    border: 1px solid #F2B544; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-cockfighting__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD86A; /* Gold gradient start */
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}

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

.page-cockfighting__faq-question .page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: #F4D34D;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

.page-cockfighting__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #FFF5E1; /* Text Main */
    background-color: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-answer p {
    margin-bottom: 15px;
    text-align: left;
}

.page-cockfighting__faq-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #C91F17;
    color: #FFF5E1;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 1px solid #F2B544;
}

.page-cockfighting__faq-btn:hover {
    background-color: #E53935;
}

.page-cockfighting__conclusion-section {
    padding-bottom: 60px;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image-wrapper img {
        height: 500px;
    }
    .page-cockfighting__feature-item-large {
        flex-direction: column !important;
    }
    .page-cockfighting__feature-item-large:nth-child(even) {
        flex-direction: column !important;
    }
    .page-cockfighting__feature-item-large img,
    .page-cockfighting__feature-content {
        width: 100%;
    }
    .page-cockfighting__feature-item-large .page-cockfighting__feature-title,
    .page-cockfighting__feature-item-large .page-cockfighting__feature-description {
        text-align: center;
    }
    .page-cockfighting__feature-item-large .page-cockfighting__feature-content .page-cockfighting__btn-secondary {
        margin-left: auto;
        margin-right: auto;
        display: block;
        width: fit-content;
    }
}

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

    /* HERO 主图区域 */
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
        padding-bottom: 20px;
    }

    .page-cockfighting__hero-image-wrapper img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    .page-cockfighting__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

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

    /* 按钮与按钮容器 */
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        flex-direction: column !important;
        gap: 15px !important;
        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,
    .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;
    }

    .page-cockfighting__center-button {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 通用图片与容器 */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-cockfighting__container,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__feature-item,
    .page-cockfighting__step-item,
    .page-cockfighting__betting-card,
    .page-cockfighting__promo-card,
    .page-cockfighting__feature-item-large {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
        padding-top: 20px;
    }

    .page-cockfighting__text-block {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-cockfighting__dark-section,
    .page-cockfighting__how-to-join-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__platform-features-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 30px 0;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__betting-cards-grid,
    .page-cockfighting__promo-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-item-large img {
        width: 100%;
    }

    .page-cockfighting__feature-content {
        width: 100%;
        padding: 20px;
    }

    .page-cockfighting__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        padding: 10px 20px 20px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 0.95em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.2em;
    }
}