/* style/cockfighting.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-dark: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --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(--bg-dark);
    line-height: 1.6;
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--bg-dark);
    overflow: hidden;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.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;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-3px);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--bg-dark);
    color: var(--text-main);
    text-align: center;
}

.page-cockfighting__video-container {
    width: 100%; /* Important for desktop as well */
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-cockfighting__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-cockfighting__btn-video-cta {
    margin-top: 30px;
}

.page-cockfighting__content-section {
    padding: 60px 20px;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.page-cockfighting__content-area {
    max-width: 1200px;
    margin: 0 auto;
}

.page-cockfighting__section-title {
    font-size: clamp(2em, 5vw, 2.5em);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

.page-cockfighting__paragraph {
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-cockfighting__highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__numbered-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
}

.page-cockfighting__numbered-list li {
    font-size: 1.05em;
    margin-bottom: 15px;
    color: var(--text-main);
}

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

.page-cockfighting__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

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

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

.page-cockfighting__card-title {
    font-size: 1.4em;
    color: var(--gold-color);
    padding: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: var(--text-secondary);
    padding: 0 20px 20px;
    flex-grow: 1;
}

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

.page-cockfighting__feature-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-cockfighting__feature-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

.page-cockfighting__promo-card {
    text-align: center;
    padding-bottom: 20px;
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    margin-top: 0;
    padding-top: 0;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary,
.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
    margin-top: 20px;
    width: auto;
    min-width: 180px;
}

.page-cockfighting__faq-section {
    background-color: var(--bg-dark);
    padding: 60px 20px;
    color: var(--text-main);
}

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

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

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

.page-cockfighting__faq-answer {
    padding: 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

.page-cockfighting__cta-final-section {
    background-color: var(--deep-green);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-main);
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: var(--gold-color);
}

.page-cockfighting__cta-final-section .page-cockfighting__paragraph {
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-main);
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.5em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box !important;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__hero-section,
    .page-cockfighting__video-section,
    .page-cockfighting__content-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding: 40px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__paragraph,
    .page-cockfighting__numbered-list li,
    .page-cockfighting__feature-text,
    .page-cockfighting__card-text {
        font-size: 0.95em;
    }
    .page-cockfighting__card-grid,
    .page-cockfighting__feature-list,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card-image {
        height: 180px;
    }
    .page-cockfighting__promo-image {
        height: 200px;
    }
    
    /* Mobile specific image and video responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__content-area,
    .page-cockfighting__card,
    .page-cockfighting__promo-card,
    .page-cockfighting__feature-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
}

/* Ensure contrast */
.page-cockfighting__highlight {
    color: var(--primary-color);
}
.page-cockfighting p a, .page-cockfighting li a {
    color: var(--glow-color);
}
.page-cockfighting__faq-qtext {
    color: var(--text-main);
}