/* style/cockfighting.css */

:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --background-color: #F5F7FA;
    --border-color: #E0E0E0;
}

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

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

.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Aligned with shared.css body padding-top, so only a small top padding is needed */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--primary-color);
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100%;
    margin-bottom: 20px;
}

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

.page-cockfighting__main-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
    max-width: 100%;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

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

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

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

.page-cockfighting__btn-secondary {
    background-color: var(--card-bg-color);
    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);
}

.page-cockfighting__btn-primary--small,
.page-cockfighting__btn-secondary--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-cockfighting__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-cockfighting__section-title--white {
    color: #ffffff;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__text-block--white {
    color: #f0f0f0;
}

.page-cockfighting__sub-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-cockfighting__feature-item {
    background-color: var(--card-bg-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: var(--text-main-color);
}

.page-cockfighting__feature-item strong {
    color: var(--primary-color);
}

.page-cockfighting__intro-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-cockfighting__types-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

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

.page-cockfighting__card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-main-color);
}

.page-cockfighting__card--dark {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-cockfighting__card--dark .page-cockfighting__card-title {
    color: #ffffff;
}

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

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

.page-cockfighting__card-description {
    font-size: 1em;
    color: var(--text-main-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__card--dark .page-cockfighting__card-description {
    color: #f0f0f0;
}

.page-cockfighting__guide-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

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

.page-cockfighting__step-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main-color);
}

.page-cockfighting__step-icon {
    width: 120px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

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

.page-cockfighting__step-description {
    font-size: 1em;
    color: var(--text-main-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__promotions-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

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

.page-cockfighting__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

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

.page-cockfighting__promo-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-cockfighting__promo-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__responsible-gaming-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

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

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    list-style: none;
    position: relative;
}

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

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    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 25px;
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.5;
}

.page-cockfighting__conclusion-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--background-color);
}

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

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

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

    .page-cockfighting__section-title {
        font-size: 2em;
    }

    .page-cockfighting__sub-title {
        font-size: 1.4em;
    }

    .page-cockfighting__card-title {
        font-size: 1.3em;
    }

    .page-cockfighting__promo-title {
        font-size: 1.3em;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1em;
    }
}

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

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

    .page-cockfighting__hero-image {
        height: 250px;
    }

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

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

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

    /* 按钮与按钮容器 */
    .page-cockfighting__cta-buttons {
        flex-direction: column !important;
        gap: 10px !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 20px !important;
        font-size: 1em !important;
        text-align: center;
        margin: 0 auto; /* Center buttons if they are inline-block */
    }

    .page-cockfighting__btn-primary--small,
    .page-cockfighting__btn-secondary--small {
        padding: 10px 15px !important;
        font-size: 0.9em !important;
    }

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

    .page-cockfighting__container,
    .page-cockfighting__intro-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__responsible-gaming-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

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

    .page-cockfighting__sub-title {
        font-size: 1.3em !important;
        margin-top: 25px;
    }

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

    /* 产品展示图区域 (General Grid/Card Layouts) */
    .page-cockfighting__grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .page-cockfighting__card,
    .page-cockfighting__step-card,
    .page-cockfighting__promo-card {
        padding: 20px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__promo-image {
        height: 150px !important;
    }

    .page-cockfighting__card-title,
    .page-cockfighting__promo-title {
        font-size: 1.2em !important;
    }

    .page-cockfighting__step-icon {
        width: 100px !important;
        height: 75px !important;
    }

    /* FAQ */
    .page-cockfighting__faq-question {
        font-size: 1em !important;
        padding: 15px 20px !important;
    }

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