:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-cockfighting {
    background-color: var(--background-color);
    color: var(--text-main); /* Default text color for the page body */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Space above footer */
}

/* Base styles for sections */
.page-cockfighting__hero-section,
.page-cockfighting__intro-section,
.page-cockfighting__video-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__betting-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promo-section,
.page-cockfighting__security-section,
.page-cockfighting__support-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensure no overflow issues */
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px; /* Inner padding for containers */
}

/* Hero Section */
.page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and content */
}

.page-cockfighting__hero-content {
    z-index: 1; /* Ensure content is above any background effects */
    max-width: 800px;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-cockfighting__description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.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: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(34, 199, 104, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-full-width {
    width: 100%;
    max-width: 350px; /* Limit max width for full-width buttons */
    margin-top: 20px;
}

.page-cockfighting__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
}

/* Section Titles and Text */
.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

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

.page-cockfighting__text-block {
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-cockfighting__link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__link:hover {
    text-decoration: underline;
}

/* Cards */
.page-cockfighting__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in a grid have equal height */
    box-sizing: border-box;
}

.page-cockfighting__card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    display: block;
}

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

.page-cockfighting__card-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    flex-grow: 1; /* Push button to bottom if present */
}

/* Grid Layouts */
.page-cockfighting__feature-cards,
.page-cockfighting__grid,
.page-cockfighting__promo-grid,
.page-cockfighting__strategy-grid,
.page-cockfighting__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Lists */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-cockfighting__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1em;
    color: var(--text-secondary);
}

.page-cockfighting__list-icon li {
    color: var(--text-main);
}

.page-cockfighting__list-item-icon {
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.page-cockfighting__security-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-cockfighting__security-features li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.05em;
    color: var(--text-main);
}

.page-cockfighting__security-features .page-cockfighting__list-item-icon {
    color: var(--gold-color); /* Using gold for security icons */
    font-size: 1.2em;
    top: 0;
}

/* Video Section */
.page-cockfighting__video-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%; /* Ensure desktop video container has width: 100% */
    max-width: 100%;
    background: #000;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video-link {
    display: block; /* Make the link block level to cover video */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensure link is above video but below controls */
    cursor: pointer;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 30px;
    text-align: left;
}

.page-cockfighting__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-main);
    padding: 5px 0;
    list-style: none; /* Remove default marker for details summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding-top: 10px;
    font-size: 0.95em;
    color: var(--text-secondary);
    text-align: justify;
}

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

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

    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__video-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__betting-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promo-section,
    .page-cockfighting__security-section,
    .page-cockfighting__support-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 15px;
    }

    .page-cockfighting__container {
        padding: 0;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-cockfighting__section-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .page-cockfighting__section-title::after {
        width: 60px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__hero-image,
    .page-cockfighting__card-image,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__video-wrapper {
        margin: 20px auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-cockfighting__feature-cards,
    .page-cockfighting__grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__strategy-grid,
    .page-cockfighting__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .page-cockfighting__card {
        padding: 20px;
    }

    .page-cockfighting__list li,
    .page-cockfighting__security-features li {
        font-size: 0.95em;
    }

    .page-cockfighting__faq-item {
        padding: 12px 15px;
    }

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

/* Ensure images and videos are not smaller than 200px (desktop) */
.page-cockfighting img:not(.page-cockfighting__hero-image),
.page-cockfighting video {
    min-width: 200px;
    min-height: 200px;
}

/* Override min-width for hero image if it's smaller on mobile due to aspect ratio, but ensure it's not tiny */
@media (max-width: 768px) {
    .page-cockfighting__hero-image {
        min-width: unset; /* Allow hero image to scale down */
        min-height: unset;
    }
}