:root {
    --page-cockfighting-primary-color: #11A84E; /* Main color */
    --page-cockfighting-secondary-color: #22C768; /* Auxiliary color */
    --page-cockfighting-card-bg: #11271B; /* Card Background */
    --page-cockfighting-background: #08160F; /* Background */
    --page-cockfighting-text-main: #F2FFF6; /* Text Main */
    --page-cockfighting-text-secondary: #A7D9B8; /* Text Secondary */
    --page-cockfighting-border: #2E7A4E; /* Border */
    --page-cockfighting-glow: #57E38D; /* Glow */
    --page-cockfighting-gold: #F2C14E; /* Gold */
    --page-cockfighting-divider: #1E3A2A; /* Divider */
    --page-cockfighting-deep-green: #0A4B2C; /* Deep Green */

    /* Button gradient */
    --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif; /* Example font */
    color: var(--page-cockfighting-text-main); /* Light text on dark body background */
    background-color: var(--page-cockfighting-background); /* Dark background */
    line-height: 1.6;
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px; /* Adjust padding as needed, small top padding for content */
    box-sizing: border-box;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px; /* Space between image and text */
}

.page-cockfighting__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    width: 100%; /* Ensure content takes full width up to max-width */
    z-index: 1; /* Ensure text is above any potential background layers */
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive H1 font size */
    color: var(--page-cockfighting-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__description {
    font-size: 1.2em;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 600px; /* Limit button group width */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.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-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Responsive button width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: #ffffff; /* White text on green gradient */
    border: none;
    box-shadow: 0 0 15px var(--page-cockfighting-glow);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--page-cockfighting-glow);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-glow);
    color: var(--page-cockfighting-background); /* Dark text on glow background */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    box-sizing: border-box;
    background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__video-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 20px auto;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

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

.page-cockfighting__section {
    padding: 50px 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-cockfighting__dark-section {
    background-color: var(--page-cockfighting-deep-green); /* Slightly different dark green */
    color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    color: var(--page-cockfighting-gold);
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.page-cockfighting__highlight-text {
    color: var(--page-cockfighting-glow);
    font-weight: bold;
}

.page-cockfighting__image-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 900px;
}

.page-cockfighting__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__benefits-list,
.page-cockfighting__guide-list,
.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    text-align: left;
}

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

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

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

.page-cockfighting__list-description {
    font-size: 1em;
    color: var(--page-cockfighting-text-secondary);
    line-height: 1.6;
    text-align: justify;
}

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

.page-cockfighting__card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px var(--page-cockfighting-glow);
}

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

.page-cockfighting__card-description {
    font-size: 1em;
    color: var(--page-cockfighting-text-secondary);
    line-height: 1.6;
    text-align: justify;
}

.page-cockfighting__image-wrapper {
    margin: 40px auto;
    max-width: 1000px;
    box-sizing: border-box;
}

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

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    color: var(--page-cockfighting-text-main);
    font-weight: bold;
    background-color: var(--page-cockfighting-deep-green); /* Darker background for question */
    border-bottom: 1px solid var(--page-cockfighting-divider);
    list-style: none; /* For details/summary */
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question:hover {
    background-color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    color: var(--page-cockfighting-glow);
    margin-left: 15px;
}

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

.page-cockfighting__conclusion-section {
    padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
    }
    .page-cockfighting__section {
        padding: 40px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6em, 4vw, 2.4em);
    }
    .page-cockfighting__cta-buttons {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 30px 10px;
    }
    .page-cockfighting__section {
        padding: 30px 10px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-cockfighting__description {
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
    }
    .page-cockfighting__paragraph {
        font-size: 0.95em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Add padding to button container */
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__image-text-block {
        flex-direction: column;
        gap: 20px;
    }
    .page-cockfighting__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__betting-cards,
    .page-cockfighting__promotion-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__list-item {
        padding: 20px;
    }
    .page-cockfighting__list-title {
        font-size: 1.3em;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Ensure all images are responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    /* Video responsiveness */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
}