:root {
    --primary-color: #0A2239; /* Dark Blue */
    --secondary-color: #E0B400; /* Gold */
    --accent-color: #DC143C; /* Deep Red */
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --card-bg-dark: rgba(255, 255, 255, 0.1); /* Light transparent on dark bg */
    --card-bg-light: #ffffff;
    --border-color: #334a6d; /* Lighter shade of primary for borders */
}

.page-cockfighting-betting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for the page, on dark body background */
    background-color: transparent; /* Body background from shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-cockfighting-betting__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color); /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting-betting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.page-cockfighting-betting__paragraph {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-on-dark);
}

.page-cockfighting-betting__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
}

/* Hero Section */
.page-cockfighting-betting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--primary-color); /* Fallback */
}

.page-cockfighting-betting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Overlay effect */
}

.page-cockfighting-betting__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-on-dark);
}

.page-cockfighting-betting__main-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Gold for H1 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-betting__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-cockfighting-betting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-cockfighting-betting__cta-button,
.page-cockfighting-betting__btn-primary,
.page-cockfighting-betting__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure text wraps */
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting-betting__btn-primary {
    background: var(--secondary-color); /* Gold button */
    color: var(--primary-color); /* Dark blue text on gold */
}

.page-cockfighting-betting__btn-primary:hover {
    background: #c7a100; /* Darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-betting__btn-secondary {
    background: var(--primary-color); /* Dark blue button */
    color: var(--secondary-color); /* Gold text on dark blue */
    border: 2px solid var(--secondary-color);
}

.page-cockfighting-betting__btn-secondary:hover {
    background: var(--secondary-color); /* Gold background on hover */
    color: var(--primary-color); /* Dark blue text */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-cockfighting-betting__introduction-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

/* Types Section */
.page-cockfighting-betting__types-section {
    padding: 60px 0;
}

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

.page-cockfighting-betting__card {
    background-color: var(--card-bg-dark); /* Light transparent on dark bg */
    color: var(--text-on-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting-betting__card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-cockfighting-betting__card-text {
    font-size: 16px;
    line-height: 1.6;
}

.page-cockfighting-betting__image-content {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Guide Section */
.page-cockfighting-betting__guide-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting-betting__steps-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.page-cockfighting-betting__step-item {
    background-color: var(--card-bg-dark);
    color: var(--text-on-dark);
    padding: 25px 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-betting__step-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-cockfighting-betting__step-description {
    font-size: 16px;
    line-height: 1.6;
}

.page-cockfighting-betting__cta-single {
    text-align: center;
    margin-top: 30px;
}

/* Advantages Section */
.page-cockfighting-betting__advantages-section {
    padding: 60px 0;
}

.page-cockfighting-betting__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-cockfighting-betting__benefit-item {
    background-color: var(--card-bg-dark);
    color: var(--text-on-dark);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.page-cockfighting-betting__benefit-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-cockfighting-betting__benefit-description {
    font-size: 16px;
    line-height: 1.6;
}

.page-cockfighting-betting__image-full-width {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
}

/* FAQ Section */
.page-cockfighting-betting__faq-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting-betting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting-betting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.page-cockfighting-betting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg-dark);
    color: var(--text-on-dark);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    border-radius: 8px; /* For initial state */
}

.page-cockfighting-betting__faq-item.active .page-cockfighting-betting__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-cockfighting-betting__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-cockfighting-betting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--secondary-color); /* Gold for FAQ question titles */
    pointer-events: none; /* Prevent h3 from blocking click */
}

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

.page-cockfighting-betting__faq-item.active .page-cockfighting-betting__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' */
    color: var(--accent-color);
}

.page-cockfighting-betting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: rgba(0, 0, 0, 0.2); /* Slightly darker for answer background */
    color: var(--text-on-dark);
}

.page-cockfighting-betting__faq-item.active .page-cockfighting-betting__faq-answer {
    max-height: 2000px !important; /* Sufficiently large for content */
    padding: 20px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

.page-cockfighting-betting__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-on-dark);
}

/* Final CTA Section */
.page-cockfighting-betting__cta-section {
    padding: 60px 0;
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-cockfighting-betting__main-title {
        font-size: 44px;
    }
    .page-cockfighting-betting__hero-description {
        font-size: 18px;
    }
    .page-cockfighting-betting__section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting-betting {
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
        font-size: 16px;
        line-height: 1.6;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .page-cockfighting-betting__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-cockfighting-betting__hero-section {
        padding: 60px 15px;
        min-height: 500px;
    }

    .page-cockfighting-betting__main-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .page-cockfighting-betting__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-cockfighting-betting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container of buttons */
    }

    .page-cockfighting-betting__cta-button,
    .page-cockfighting-betting__btn-primary,
    .page-cockfighting-betting__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 25px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting-betting__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-cockfighting-betting__paragraph {
        font-size: 15px;
    }

    .page-cockfighting-betting__grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting-betting__card {
        padding: 25px;
    }

    .page-cockfighting-betting__card-title {
        font-size: 20px;
    }

    .page-cockfighting-betting__card-text {
        font-size: 15px;
    }

    .page-cockfighting-betting__image-content,
    .page-cockfighting-betting__image-full-width {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting-betting__steps-list {
        gap: 20px;
    }

    .page-cockfighting-betting__step-item {
        padding: 20px;
    }

    .page-cockfighting-betting__step-title {
        font-size: 18px;
    }

    .page-cockfighting-betting__step-description {
        font-size: 15px;
    }

    .page-cockfighting-betting__benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting-betting__benefit-item {
        padding: 20px;
    }

    .page-cockfighting-betting__benefit-title {
        font-size: 18px;
    }

    .page-cockfighting-betting__benefit-description {
        font-size: 15px;
    }

    .page-cockfighting-betting__faq-list {
        padding: 0 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-cockfighting-betting__faq-item {
        border-radius: 6px;
    }

    .page-cockfighting-betting__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-cockfighting-betting__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }

    .page-cockfighting-betting__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }

    .page-cockfighting-betting__faq-answer {
        padding: 0 15px;
    }

    .page-cockfighting-betting__faq-item.active .page-cockfighting-betting__faq-answer {
        padding: 15px !important;
    }
}