:root {
    --primary-color: #FF4500;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-light: #f8f8f8;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --card-bg-light: #ffffff;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherited from shared.css, explicitly set for context */
    line-height: 1.6;
    padding-bottom: 50px; /* Space for footer */
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    padding: 120px 20px 60px; /* Adjusted padding-top for fixed header */
    text-align: center;
    overflow: hidden;
    background-color: #0a0a0a;
}

.page-cockfighting__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-color);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.page-cockfighting__cta-button--primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__cta-button--primary:hover {
    background: #e03c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.page-cockfighting__cta-button--secondary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-cockfighting__section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.page-cockfighting__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-cockfighting__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

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

.page-cockfighting__section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 69, 0, 0.5);
}

.page-cockfighting__section-subtitle {
    font-size: 1.2em;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
}

.page-cockfighting__intro-section .page-cockfighting__section-subtitle {
    color: var(--text-light);
}

.page-cockfighting__light-bg .page-cockfighting__section-subtitle {
    color: var(--text-dark);
}

.page-cockfighting__content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-cockfighting__content-wrapper p {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: justify;
}

.page-cockfighting__content-wrapper .page-cockfighting__image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    display: block;
}

.page-cockfighting__content-wrapper .page-cockfighting__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__tip-card,
.page-cockfighting__promo-card {
    background-color: var(--card-bg-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__light-bg .page-cockfighting__feature-card,
.page-cockfighting__light-bg .page-cockfighting__type-card,
.page-cockfighting__light-bg .page-cockfighting__tip-card,
.page-cockfighting__light-bg .page-cockfighting__promo-card {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
    border: 1px solid #e0e0e0;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover,
.page-cockfighting__tip-card:hover,
.page-cockfighting__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__feature-icon,
.page-cockfighting__tip-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-cockfighting__feature-title,
.page-cockfighting__type-title,
.page-cockfighting__tip-title,
.page-cockfighting__promo-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-cockfighting__light-bg .page-cockfighting__feature-title,
.page-cockfighting__light-bg .page-cockfighting__type-title,
.page-cockfighting__light-bg .page-cockfighting__tip-title,
.page-cockfighting__light-bg .page-cockfighting__promo-title {
    color: var(--primary-color);
}

.page-cockfighting__feature-description,
.page-cockfighting__type-description,
.page-cockfighting__tip-description,
.page-cockfighting__promo-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-light);
}

.page-cockfighting__light-bg .page-cockfighting__feature-description,
.page-cockfighting__light-bg .page-cockfighting__type-description,
.page-cockfighting__light-bg .page-cockfighting__tip-description,
.page-cockfighting__light-bg .page-cockfighting__promo-description {
    color: var(--text-dark);
}

.page-cockfighting__type-image,
.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    counter-reset: guide-step;
}

.page-cockfighting__guide-item {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-top: 60px;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__guide-item::before {
    counter-increment: guide-step;
    content: "Bước " counter(guide-step);
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
}

.page-cockfighting__guide-step-title {
    font-size: 1.4em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-cockfighting__guide-item p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-cockfighting__guide-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-cockfighting__guide-button:hover {
    background: #e03c00;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-cockfighting__faq-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-subtitle {
    color: var(--text-dark);
}

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

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg-light);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-dark);
}

.page-cockfighting__faq-question:hover {
    background: #f0f0f0;
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    color: var(--text-dark);
    border-top: 1px solid #eee;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important; /* Ensure it expands sufficiently */
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
}

.page-cockfighting__cta-buttons--center {
    justify-content: center;
}

.page-cockfighting__cta-buttons--margin-top {
    margin-top: 40px;
}

.page-cockfighting__conclusion-section .page-cockfighting__section-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 20px auto;
    text-align: center;
    line-height: 1.6;
}

.highlight-keyword {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2.2em;
    }
    .page-cockfighting__section-subtitle {
        font-size: 1.1em;
    }
    .page-cockfighting__content-wrapper .page-cockfighting__image--right {
        float: none;
        margin: 20px auto;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        padding-top: 100px; /* Adjusted padding-top for mobile fixed header */
        padding-bottom: 40px;
    }
    .page-cockfighting__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__section {
        padding: 50px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-cockfighting__section-subtitle {
        font-size: 0.9em;
        margin-bottom: 30px;
    }
    .page-cockfighting__content-wrapper p {
        font-size: 0.95em;
    }
    .page-cockfighting__content-wrapper .page-cockfighting__image {
        margin: 15px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__types-grid,
    .page-cockfighting__tips-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__tip-card,
    .page-cockfighting__promo-card {
        padding: 20px;
    }
    .page-cockfighting__feature-icon,
    .page-cockfighting__tip-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__type-title,
    .page-cockfighting__tip-title,
    .page-cockfighting__promo-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    .page-cockfighting__guide-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__guide-item {
        padding: 25px;
        padding-top: 50px;
    }
    .page-cockfighting__guide-item::before {
        top: 15px;
        left: 25px;
        font-size: 1.1em;
    }
    .page-cockfighting__guide-step-title {
        font-size: 1.2em;
    }
    .page-cockfighting__guide-button {
        width: 100%;
        box-sizing: border-box;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 1em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 20px !important;
    }
    .page-cockfighting__conclusion-section .page-cockfighting__section-description {
        font-size: 1em;
    }

    /* Ensure all images are responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__container,
    .page-cockfighting__hero-container,
    .page-cockfighting__content-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-cockfighting__cta-buttons--center {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__faq-list {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__faq-item {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .page-cockfighting__faq-question,
    .page-cockfighting__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}