:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-color: #08160F; /* Body background from custom colors */
    --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); /* Default text color for the page content */
    background-color: var(--bg-color); /* Ensure consistency, though body padding-top is in shared */
}

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

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

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-cockfighting__text-block {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-cockfighting__text-secondary {
    color: var(--text-secondary);
}

.page-cockfighting__highlight {
    color: var(--gold-color);
    font-weight: bold;
}

.page-cockfighting__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--glow-color);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--gold-color);
}

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

.page-cockfighting__cta-center {
    text-align: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    box-sizing: border-box;
}

/* About Section */
.page-cockfighting__about-section {
    background-color: var(--deep-green);
}

.page-cockfighting__image-text-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting__image-text-grid .page-cockfighting__image-wrapper {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
}

.page-cockfighting__image-text-grid .page-cockfighting__text-content {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
}

.page-cockfighting__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

/* Types Section (Dark Background) */
.page-cockfighting__dark-section {
    background-color: var(--card-bg);
}

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

.page-cockfighting__card {
    background-color: var(--deep-green);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-cockfighting__card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* How-To Section */
.page-cockfighting__how-to-section {
    background-color: var(--bg-color);
}

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

.page-cockfighting__list-item {
    position: relative;
    padding: 20px 0 20px 70px;
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--divider-color);
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.6;
}

.page-cockfighting__list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.page-cockfighting__list-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--gold-color);
    color: var(--bg-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    background-color: var(--card-bg);
}

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

.page-cockfighting__promotion-card {
    background-color: var(--deep-green);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-cockfighting__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glow-color);
}

.page-cockfighting__promotion-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-cockfighting__promotion-title {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__promotion-description {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Security Section */
.page-cockfighting__security-section {
    background-color: var(--bg-color);
}

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

.page-cockfighting__feature-item {
    background-color: var(--deep-green);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-cockfighting__feature-icon {
    width: 100%;
    height: auto;
    display: block;
    max-width: 250px;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.page-cockfighting__feature-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__feature-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: var(--card-bg);
}

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

.page-cockfighting__faq-item {
    background-color: var(--deep-green);
    border: 1px solid var(--border-color);
    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 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--gold-color);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: var(--deep-green);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    background-color: var(--deep-green);
}

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

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

.page-cockfighting__faq-item summary {
    list-style: none;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    background-color: var(--bg-color);
    text-align: center;
}

/* Global Image Styles */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image-wrapper {
        max-height: 500px;
    }
    .page-cockfighting__image-text-grid {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting__image-text-grid .page-cockfighting__text-content .page-cockfighting__btn {
        margin-left: auto;
        margin-right: auto;
    }
    .page-cockfighting__grid-3-cols, .page-cockfighting__promotion-grid, .page-cockfighting__security-features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting__section-padding {
        padding: 40px 0;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-cockfighting__text-block, .page-cockfighting__card-text, .page-cockfighting__promotion-description, .page-cockfighting__feature-text, .page-cockfighting__faq-answer p {
        font-size: 0.95rem;
    }
    .page-cockfighting__btn {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-cockfighting__list-item {
        padding: 15px 0 15px 60px;
        font-size: 1rem;
    }
    .page-cockfighting__list-item::before {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-section,
    .page-cockfighting__about-section,
    .page-cockfighting__types-section,
    .page-cockfighting__how-to-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__security-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section,
    .page-cockfighting__card,
    .page-cockfighting__promotion-card,
    .page-cockfighting__feature-item,
    .page-cockfighting__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-cockfighting__image-text-grid .page-cockfighting__image-wrapper,
    .page-cockfighting__image-text-grid .page-cockfighting__text-content {
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-padding {
        padding: 30px 0;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }
    .page-cockfighting__btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    .page-cockfighting__grid-3-cols, .page-cockfighting__promotion-grid, .page-cockfighting__security-features {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }
}