/* style/cockfighting.css */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 20px;
    background-color: #300060; /* Fallback for image */
}

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

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-cockfighting__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #FFD700;
    color: #300060;
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #FFD700;
    color: #300060;
}

.page-cockfighting__cta-button {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__full-width-btn {
    width: 100%;
    text-align: center;
    max-width: 400px; /* Limit width for larger screens */
}

/* Sections Background & Text Colors */
.page-cockfighting__dark-bg {
    background-color: #300060;
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

.page-cockfighting__intro-section,
.page-cockfighting__how-to-bet,
.page-cockfighting__promotions-section,
.page-cockfighting__cta-section {
    padding: 60px 20px;
}

.page-cockfighting__why-choose-us,
.page-cockfighting__rules-types,
.page-cockfighting__faq-section {
    padding: 60px 20px;
}

/* Why Choose Us Section */
.page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
}

.page-cockfighting__feature-title {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* How to Bet Section */
.page-cockfighting__betting-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__step-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.page-cockfighting__step-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #300060;
    color: #FFD700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 2px solid #FFD700;
}

.page-cockfighting__step-title {
    color: #300060;
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    color: #555;
}

/* Rules & Types Section */
.page-cockfighting__grid-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.page-cockfighting__content-block {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__sub-title {
    color: #FFD700;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-cockfighting__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-cockfighting__list li {
    margin-bottom: 8px;
}

.page-cockfighting__list a {
    color: #FFD700;
    text-decoration: underline;
}

.page-cockfighting__list a:hover {
    color: #e6c200;
}

/* Promotions Section */
.page-cockfighting__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    padding-bottom: 20px;
}

.page-cockfighting__card:hover {
    transform: translateY(-8px);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-cockfighting__card-title {
    font-size: 1.3em;
    color: #300060;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-cockfighting__card-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-cockfighting__card .page-cockfighting__btn-primary {
    background-color: #300060;
    color: #ffffff;
    border-color: #300060;
}

.page-cockfighting__card .page-cockfighting__btn-primary:hover {
    background-color: #FFD700;
    color: #300060;
    border-color: #FFD700;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-cockfighting__faq-title {
    color: #FFD700;
    font-size: 1.2em;
    margin: 0;
    flex-grow: 1;
}

.page-cockfighting__faq-toggle {
    color: #FFD700;
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important;
    padding: 20px;
}

.page-cockfighting__faq-answer .page-cockfighting__text-block {
    color: #f0f0f0;
    padding-bottom: 10px;
}

/* CTA Section */
.page-cockfighting__cta-section .page-cockfighting__image {
    margin-bottom: 40px;
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
    color: #300060;
}

.page-cockfighting__cta-section .page-cockfighting__section-title::after {
    background-color: #300060;
}

.page-cockfighting__cta-section .page-cockfighting__text-block {
    color: #555;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__grid-2-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        height: auto;
        min-height: 600px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__text-block {
        font-size: 0.95em;
    }

    /* Mobile Image Responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__step-item {
        padding-left: 50px;
    }
    .page-cockfighting__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-cockfighting__step-title {
        font-size: 1.4em;
    }

    .page-cockfighting__feature-item {
        padding: 20px;
    }

    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-title {
        font-size: 1.1em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.5em;
    }
    .page-cockfighting__faq-answer {
        padding: 0 15px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px;
    }
    .page-cockfighting__button-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__full-width-btn {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
}