/* style/cockfighting.css */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --main-bg: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

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

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

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

.page-cockfighting__section h2 {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__section h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting p {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__list li p {
    margin-bottom: 0;
}

.page-cockfighting__numbered-list {
    list-style: none;
    counter-reset: my-awesome-counter;
    padding: 0;
}

.page-cockfighting__numbered-list li {
    counter-increment: my-awesome-counter;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-left: 60px;
}

.page-cockfighting__numbered-list li::before {
    content: counter(my-awesome-counter);
    background-color: var(--primary-color);
    color: #000000;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 15px;
    top: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* HERO主图区域样式 */
.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; /* body已留白；此处仅 dùng小额顶距 */
    background-color: var(--main-bg);
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 20px var(--glow);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-cockfighting__hero-content h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-cockfighting__hero-content p {
    font-size: 20px;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #000000; /* Đảm bảo màu chữ đen trên nền vàng/cam */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__image-wrapper {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
    object-fit: cover;
}

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

.page-cockfighting__promotions-grid li {
    margin-bottom: 0;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    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 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--secondary-color);
    font-weight: bold;
}

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: rgba(255, 211, 107, 0.1);
}

.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
    color: var(--secondary-color);
}

.page-cockfighting__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    background: rgba(17, 17, 17, 0.8);
    border-radius: 0 0 5px 5px;
    color: var(--text-main);
    font-size: 16px;
}

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

    .page-cockfighting__container {
        padding: 0 15px;
    }

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

    .page-cockfighting__section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-cockfighting__section h3 {
        font-size: 20px;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__hero-content h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .page-cockfighting__hero-content p {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .page-cockfighting__cta-button,
    .page-cockfighting__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__image-wrapper img,
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-cockfighting__list li {
        padding: 20px;
    }

    .page-cockfighting__numbered-list li {
        padding-left: 50px;
    }

    .page-cockfighting__numbered-list li::before {
        width: 35px;
        height: 35px;
        font-size: 18px;
        left: 10px;
        top: 20px;
    }

    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
    }

    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
    }

    .page-cockfighting__faq-qtext {
        font-size: 16px;
    }

    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 25px;
    }

    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
}