.page-cockfighting {
    font-family: Arial, sans-serif;
    color: #333333;
    background-color: #F5F7FA;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
    background-color: #E53935;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

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

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* General Section Styles */
.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #E53935;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Background Colors */
.page-cockfighting__light-bg {
    background-color: #ffffff; /* Card BG */
    color: #333333;
    padding: 60px 0;
}

.page-cockfighting__bg-secondary {
    background-color: #F5F7FA; /* Background */
    color: #333333;
    padding: 60px 0;
}

.page-cockfighting__dark-bg-text {
    color: #333333; /* Text Main on light backgrounds */
}

/* Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #E53935;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Cards */
.page-cockfighting__card {
    background-color: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    color: #333333;
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

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

.page-cockfighting__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555555;
}

/* Introduction Section */
.page-cockfighting__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-cockfighting__text-block p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1.05em;
}

.page-cockfighting__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Bet Types Section */
.page-cockfighting__bet-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Guide Section */
.page-cockfighting__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__step-item {
    text-align: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #E0E0E0;
}

.page-cockfighting__step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

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

.page-cockfighting__step-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555555;
}

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

.page-cockfighting__benefit-card .page-cockfighting__card-image {
    height: 180px;
}

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

.page-cockfighting__promo-card .page-cockfighting__card-image {
    height: 160px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #f9f9f9;
}

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

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
}

/* DETAILS tag specific styles for FAQ */
.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    background-color: #f9f9f9;
}

.page-cockfighting__faq-item summary {
    list-style: none;
}

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

/* Final CTA Section */
.page-cockfighting__cta-final-content {
    text-align: center;
    padding: 60px 20px;
}

.page-cockfighting__cta-final-content .page-cockfighting__section-title {
    color: #E53935;
}

.page-cockfighting__cta-final-content .page-cockfighting__section-description {
    color: #555555;
    margin-bottom: 30px;
}

/* General Image Styles (for all images in content area) */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 2em;
    }

    .page-cockfighting__hero-image-wrapper {
        max-height: 500px;
    }

    .page-cockfighting__hero-content {
        padding: 0 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 4vw, 3em);
    }

    .page-cockfighting__content-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__image-block {
        order: -1; /* Image appears above text on smaller screens */
    }

    .page-cockfighting__bet-types-grid,
    .page-cockfighting__guide-steps,
    .page-cockfighting__benefits-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-cockfighting__card-image {
        height: 180px;
    }

    .page-cockfighting__promo-card .page-cockfighting__card-image {
        height: 140px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-cockfighting__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
        margin-bottom: 10px;
    }

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

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    /* 通用图片与容器 */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__text-block,
    .page-cockfighting__image-block {
        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: 12px 15px;
        font-size: 1em;
    }

    .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;
    }

    /* 产品展示图区域 (Bet Types Grid) */
    .page-cockfighting__bet-types-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 15px;
    }
    .page-cockfighting__bet-card .page-cockfighting__card-image {
        height: 150px;
    }

    /* Other Content Modules */
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-cockfighting__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding: 40px 0;
    }

    .page-cockfighting__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__benefits-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card-image {
        height: 160px;
    }

    .page-cockfighting__promo-card .page-cockfighting__card-image {
        height: 120px;
    }

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

    .page-cockfighting__faq-answer {
        padding: 0 20px 15px 20px;
    }
}