/* style/cockfighting.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --background-dark: #08160F;
    --card-background: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--background-dark);
    line-height: 1.6;
}

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

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

.page-cockfighting__dark-section {
    background-color: var(--card-background);
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-cockfighting__highlight {
    color: var(--gold-color);
    font-weight: bold;
}

.page-cockfighting a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-cockfighting a:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, relying on body for main offset */
    padding-bottom: 60px;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for desktop hero image */
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    position: relative; /* Ensure content is above any background effects if any */
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin-top: 40px; /* Space below image */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Use clamp for H1 font size */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting a[class*="button"],
.page-cockfighting a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Introduction Section */
.page-cockfighting__introduction-section .page-cockfighting__container {
    padding: 40px 20px;
}

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

.page-cockfighting__card {
    background-color: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__card-description {
    color: var(--text-secondary);
    font-size: 1em;
}

/* Benefits Section */
.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: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
}

.page-cockfighting__feature-icon {
    margin-bottom: 20px;
}

.page-cockfighting__feature-icon img {
    
    
    display: inline-block;
    object-fit: contain;
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__feature-description {
    color: var(--text-secondary);
    font-size: 1em;
}

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

.page-cockfighting__step-card {
    background-color: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-cockfighting__step-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__step-number {
    font-size: 2.5em;
    color: var(--glow-color);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-description {
    color: var(--text-secondary);
    font-size: 1em;
}

/* Combination Section */
.page-cockfighting__combination-content {
    text-align: center;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-cockfighting__combination-content .page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 25px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-cockfighting__faq-item {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    color: var(--gold-color);
    font-weight: bold;
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    list-style: none; /* For <summary> */
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

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

.page-cockfighting__faq-answer {
    padding: 15px 25px 20px;
    color: var(--text-secondary);
    font-size: 1.1em;
    background-color: var(--background-dark);
}

/* CTA Section */
.page-cockfighting__cta-section .page-cockfighting__container {
    text-align: center;
}

.page-cockfighting__cta-section .page-cockfighting__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

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

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

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

    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-cockfighting__btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

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

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

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

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

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

    /* 1. HERO 主图区域 */
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

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

    .page-cockfighting__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

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

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

    /* 2. 产品展示图区域 (Types Section) */
    .page-cockfighting__types-section .page-cockfighting__grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .page-cockfighting__card {
        padding: 15px;
    }

    .page-cockfighting__card-image {
        height: 160px; /* Adjust height for mobile cards */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

    .page-cockfighting__section {
        padding: 40px 0;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

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

    /* 4. 按钮与按钮容器 */
    .page-cockfighting__hero-cta-buttons,
    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        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: 15px 20px;
        font-size: 1em;
    }

    .page-cockfighting__btn-large {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    /* 5. 其他内容模块 (Benefits, Guide, FAQ) */
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-item,
    .page-cockfighting__step-card {
        padding: 20px;
    }

    .page-cockfighting__feature-title,
    .page-cockfighting__step-title {
        font-size: 1.2em;
    }

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

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

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

    .page-cockfighting__faq-toggle {
        font-size: 1.2em;
    }

    .page-cockfighting__cta-section .page-cockfighting__text-block {
        font-size: 1em;
    }
}