.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--Text-Main);
    background-color: var(--Deep-Navy);
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Adhering to the 10px top spacing for hero */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    padding: 40px 20px;
    background-color: var(--Deep-Navy);
    width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: var(--Gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    color: var(--Text-Secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF;
    border: none;
}

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

.page-cockfighting__btn-secondary {
    background: var(--Card-B-G);
    color: var(--Text-Main);
    border: 2px solid var(--Border);
}

.page-cockfighting__btn-secondary:hover {
    transform: translateY(-2px);
    background-color: rgba(29, 95, 209, 0.1);
    color: var(--Glow);
}

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

.page-cockfighting__text-block {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--Text-Secondary);
    text-align: justify;
}

.page-cockfighting__dark-section {
    background-color: var(--Deep-Navy);
    padding: 60px 0;
    color: var(--Text-Main);
}

.page-cockfighting__intro-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__responsible-gaming-section,
.page-cockfighting__faq-section,
.page-cockfighting__contact-cta-section {
    padding: 60px 0;
}

.page-cockfighting__why-choose-section,
.page-cockfighting__promotions-section,
.page-cockfighting__responsible-gaming-section,
.page-cockfighting__contact-cta-section {
    background-color: #0d1e3a; /* Slightly lighter dark background for contrast */
}

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

.page-cockfighting__card {
    background-color: var(--Card-B-G);
    border: 1px solid var(--Border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--Text-Main);
}

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

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

.page-cockfighting__card-description {
    font-size: 0.95em;
    color: var(--Text-Secondary);
    line-height: 1.7;
}

.page-cockfighting__feature-image,
.page-cockfighting__service-image,
.page-cockfighting__blog-image,
.page-cockfighting__about-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 40px;
    display: block;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    counter-reset: step-counter;
}

.page-cockfighting__step-item {
    background-color: var(--Card-B-G);
    border: 1px solid var(--Border);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 70px;
    color: var(--Text-Main);
}

.page-cockfighting__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--Glow);
    color: var(--Deep-Navy);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

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

.page-cockfighting__step-item p {
    font-size: 0.95em;
    color: var(--Text-Secondary);
    line-height: 1.6;
}

.page-cockfighting__promotions-section .page-cockfighting__card {
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.page-cockfighting__promotions-section .page-cockfighting__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-top: 0;
    border-radius: 10px 10px 0 0;
}

.page-cockfighting__promotions-section .page-cockfighting__card-title {
    font-size: 1.3em;
    margin: 20px 20px 10px 20px;
    color: var(--Text-Main);
}

.page-cockfighting__promotions-section .page-cockfighting__card-description {
    font-size: 0.9em;
    margin: 0 20px 20px 20px;
    color: var(--Text-Secondary);
}

.page-cockfighting__btn-link {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background-color: var(--Glow);
    color: var(--Deep-Navy);
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
    transition: background-color 0.3s ease;
}

.page-cockfighting__btn-link:hover {
    background-color: #4097e6;
}

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

.page-cockfighting__faq-item {
    background-color: var(--Card-B-G);
    border: 1px solid var(--Border);
    border-radius: 10px;
    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.15em;
    font-weight: bold;
    color: var(--Glow);
    cursor: pointer;
    list-style: none;
}

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

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

.page-cockfighting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--Text-Secondary);
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

.page-cockfighting__contact-cta-section {
    text-align: center;
    background-color: var(--Deep-Navy);
}

/* Ensure text contrast for cards on dark sections */
.page-cockfighting__dark-section .page-cockfighting__card {
    background-color: var(--Card-B-G);
    color: var(--Text-Main);
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }

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

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

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

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
}

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

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

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

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

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

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

    /* 按钮与按钮容器 */
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        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-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__btn-link {
        font-size: 0.9em;
    }

    /* 其他内容模块 */
    .page-cockfighting__intro-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__responsible-gaming-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__contact-cta-section {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

    .page-cockfighting__card {
        padding: 20px;
    }

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

    .page-cockfighting__card-description {
        font-size: 0.9em;
    }

    .page-cockfighting__step-item {
        padding-left: 60px;
    }

    .page-cockfighting__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
        left: 15px;
    }

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

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

    .page-cockfighting__promotions-section .page-cockfighting__card-title {
        font-size: 1.2em;
        margin: 15px 15px 8px 15px;
    }

    .page-cockfighting__promotions-section .page-cockfighting__card-description {
        margin: 0 15px 15px 15px;
    }

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

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

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

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