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

.page-cockfighting__section-spacing {
    padding: 60px 0;
}

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

.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, rely on body for header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #F2FFF6;
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Desktop: cover to fill space */
    display: block;
}

.page-cockfighting__hero-content {
    position: relative; /* Ensure content is above image */
    z-index: 1;
    max-width: 900px;
    padding: 40px 15px;
    background: rgba(8, 22, 15, 0.8); /* Slightly dark overlay for readability */
    border-radius: 10px;
    margin-top: -100px; /* Pull up to overlap image slightly */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #F2C14E; /* Gold */
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

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

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Lighter green from button gradient */
    border: 2px solid #2AD16F;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(42, 209, 111, 0.1);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.3);
}

.page-cockfighting__btn-small {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

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

.page-cockfighting__dark-section {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__step-card,
.page-cockfighting__strategy-card,
.page-cockfighting__promo-card {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__strategy-card:hover,
.page-cockfighting__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__feature-title,
.page-cockfighting__type-title,
.page-cockfighting__strategy-title,
.page-cockfighting__promo-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #F2C14E; /* Gold */
    margin-bottom: 10px;
}

.page-cockfighting__feature-description,
.page-cockfighting__type-description,
.page-cockfighting__strategy-description,
.page-cockfighting__promo-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    flex-grow: 1;
}

.page-cockfighting__step-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #2AD16F; /* Lighter green from button gradient */
    margin-bottom: 15px;
    background: rgba(42, 209, 111, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-cockfighting__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #2E7A4E; /* Border */
    overflow: hidden;
    background: #0A4B2C; /* Deep Green */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
    background: #11271B; /* Card BG */
}

.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #F2FFF6; /* Text Main */
}

.page-cockfighting__faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: #2AD16F; /* Lighter green */
    flex-shrink: 0;
    margin-left: 20px;
    width: 30px;
    text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    background: #08160F; /* Background */
    border-radius: 0 0 10px 10px;
    color: #A7D9B8; /* Text Secondary */
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* --- Media Queries --- */

/* Tablet and smaller (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -80px;
        padding: 30px 15px;
    }

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

    .page-cockfighting__description {
        font-size: 1.1em;
    }

    .page-cockfighting__section-title {
        font-size: clamp(2em, 4vw, 2.2em);
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__strategy-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-cockfighting__section-spacing {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    /* HERO 主图区域 */
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-image-wrapper {
        max-height: 400px;
    }
    .page-cockfighting__hero-image {
        object-fit: contain !important; /* Mobile: contain to prevent cropping */
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 20px 15px;
        border-radius: 5px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
        margin-bottom: 15px;
    }
    .page-cockfighting__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.8em, 5.5vw, 2em);
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 0.95em;
    }

    /* 通用图片与容器 */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__step-card,
    .page-cockfighting__strategy-card,
    .page-cockfighting__promo-card {
        padding: 20px;
        border-radius: 8px;
    }
    .page-cockfighting__feature-image,
    .page-cockfighting__type-image,
    .page-cockfighting__strategy-image,
    .page-cockfighting__promo-image {
        height: 180px;
        margin-bottom: 15px;
        border-radius: 5px;
    }

    .page-cockfighting__feature-title,
    .page-cockfighting__type-title,
    .page-cockfighting__strategy-title,
    .page-cockfighting__promo-title {
        font-size: 1.3em;
    }

    .page-cockfighting__step-number {
        font-size: 2em;
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    .page-cockfighting__step-title {
        font-size: 1.4em;
    }

    .page-cockfighting__faq-qtext {
        font-size: 1em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.8em;
        width: 25px;
        margin-left: 15px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px 18px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 18px 15px;
    }
}

/* For smaller mobile screens (e.g., max-width: 480px) */
@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.5em, 7vw, 1.8em);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6em, 6.5vw, 1.8em);
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__strategy-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__hero-content {
        margin-top: -40px;
    }
}