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

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

.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for hero, body handles header offset */
    padding-bottom: 40px;
    background-color: #7A0E0E; /* Deep Red for hero background */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    height: 600px; /* Fixed height for desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin: 40px auto 0;
}

.page-cockfighting__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
    color: #FFCC66; /* Glow color for H1 */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.25rem;
    color: #FFF5E1; /* Text Main color */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__hero-cta-buttons {
    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;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 250px; /* Limit button width */
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red for text on gold button */
    border: none;
}

.page-cockfighting__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
    border: 2px solid #F2B544; /* Border color */
}

.page-cockfighting__btn-secondary:hover {
    background: #E53935; /* Auxiliary color */
    border-color: #FFCC66; /* Glow color */
    transform: translateY(-2px);
}

.page-cockfighting__dark-bg {
    background-color: #B71C1C; /* Background color */
    color: #FFF5E1; /* Text Main color */
}

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: #FFCC66; /* Glow color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    padding-top: 40px;
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #FFF5E1; /* Text Main color */
    text-align: justify;
}

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

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

.page-cockfighting__feature-item {
    background-color: #D32F2F; /* Card BG color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF5E1; /* Text Main color */
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__feature-title {
    font-size: 1.5rem;
    color: #FFCC66; /* Glow color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__feature-description {
    font-size: 1rem;
    color: #FFF5E1; /* Text Main color */
}

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

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

.page-cockfighting__step-item {
    background-color: #D32F2F; /* Card BG color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF5E1; /* Text Main color */
}

.page-cockfighting__step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    color: #FFCC66; /* Glow color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-description {
    font-size: 1rem;
    color: #FFF5E1; /* Text Main color */
}

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

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

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

.page-cockfighting__betting-card {
    background-color: #D32F2F; /* Card BG color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF5E1; /* Text Main color */
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__betting-title {
    font-size: 1.5rem;
    color: #FFCC66; /* Glow color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__betting-description {
    font-size: 1rem;
    color: #FFF5E1; /* Text Main color */
}

.page-cockfighting__text-block--note {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
}

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

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

.page-cockfighting__advantage-item {
    background-color: #D32F2F; /* Card BG color */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF5E1; /* Text Main color */
}

.page-cockfighting__advantage-title {
    font-size: 1.4rem;
    color: #F4D34D; /* Gold color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__advantage-description {
    font-size: 1rem;
    color: #FFF5E1; /* Text Main color */
}

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

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

.page-cockfighting__tip-card {
    background-color: #D32F2F; /* Card BG color */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF5E1; /* Text Main color */
}

.page-cockfighting__tip-title {
    font-size: 1.4rem;
    color: #F4D34D; /* Gold color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__tip-description {
    font-size: 1rem;
    color: #FFF5E1; /* Text Main color */
}

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

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFCC66; /* Glow color */
    cursor: pointer;
    background-color: #E53935; /* Auxiliary color */
    list-style: none; /* For details/summary */
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #FFF5E1; /* Text Main color */
    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;
    font-size: 1rem;
    color: #FFF5E1; /* Text Main color */
}

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

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

.page-cockfighting__cta-content {
    background-color: #D32F2F; /* Card BG color */
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-title {
    font-size: 2.2rem;
    color: #FFCC66; /* Glow color */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting__cta-description {
    font-size: 1.15rem;
    color: #FFF5E1; /* Text Main color */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-cockfighting__hero-description {
        font-size: 1.1rem;
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__cta-title {
        font-size: 1.8rem;
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    /* 1. HERO 主图区域 */
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 20px;
    }
    .page-cockfighting__hero-image-wrapper {
        height: 300px;
    }
    .page-cockfighting__hero-content {
        margin-top: 20px;
        padding: 15px;
    }
    .page-cockfighting__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* 2. 产品展示图区域 (General card grids) */
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__betting-grid,
    .page-cockfighting__advantages-list,
    .page-cockfighting__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    /* 3. 通用图片与容器 */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-cockfighting__container,
    .page-cockfighting__introduction-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section,
    .page-cockfighting__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__feature-image,
    .page-cockfighting__betting-image {
        height: 180px;
    }

    /* 4. 按钮与按钮容器 */
    .page-cockfighting__cta-buttons,
    .page-cockfighting__hero-cta-buttons {
        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;
    }
    .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;
        text-align: center;
    }

    /* 5. 其他内容模块 */
    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
        padding-top: 25px;
    }
    .page-cockfighting__text-block {
        font-size: 1rem;
        padding: 0 10px;
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__step-title,
    .page-cockfighting__betting-title,
    .page-cockfighting__advantage-title,
    .page-cockfighting__tip-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }
    .page-cockfighting__cta-title {
        font-size: 1.6rem;
    }
    .page-cockfighting__cta-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .page-cockfighting__cta-content {
        padding: 25px;
    }
}