/* style/cockfighting.css */

/* Variables for colors */
:root {
    --page-cockfighting-primary-color: #11A84E;
    --page-cockfighting-secondary-color: #22C768;
    --page-cockfighting-card-bg: #11271B;
    --page-cockfighting-background: #08160F; /* This is the body background color from shared.css */
    --page-cockfighting-text-main: #F2FFF6;
    --page-cockfighting-text-secondary: #A7D9B8;
    --page-cockfighting-border-color: #2E7A4E;
    --page-cockfighting-glow-color: #57E38D;
    --page-cockfighting-gold-color: #F2C14E;
    --page-cockfighting-divider-color: #1E3A2A;
    --page-cockfighting-deep-green: #0A4B2C;
    --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--page-cockfighting-text-main); /* Default text color for the page content */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for the first section to avoid double spacing */
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--page-cockfighting-text-main);
    text-align: center;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px;
}

.page-cockfighting__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    background-color: var(--page-cockfighting-background);
    border-radius: 8px;
    margin-top: -80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-cockfighting-glow-color);
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 150px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-button-gradient);
    color: var(--page-cockfighting-text-main);
    border: 2px solid var(--page-cockfighting-primary-color);
}

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

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

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

.page-cockfighting__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-cockfighting__section {
    padding: 60px 0;
    border-top: 1px solid var(--page-cockfighting-divider-color);
}

.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-cockfighting-glow-color);
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__sub-title {
    font-size: clamp(1.5em, 2.8vw, 2em);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--page-cockfighting-glow-color);
}

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

.page-cockfighting__text {
    font-size: 1em;
    margin-bottom: 1em;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__text strong,
.page-cockfighting__highlight {
    color: var(--page-cockfighting-text-main);
    font-weight: 700;
}

.page-cockfighting__text a {
    color: var(--page-cockfighting-glow-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__text a:hover {
    color: var(--page-cockfighting-gold-color);
    text-decoration: underline;
}

/* Feature Grid */
.page-cockfighting__features-grid,
.page-cockfighting__types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__feature-card,
.page-cockfighting__type-card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--page-cockfighting-glow-color);
}

.page-cockfighting__feature-image,
.page-cockfighting__type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    min-height: 200px;
}

.page-cockfighting__card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--page-cockfighting-text-main);
    margin: 0 15px 15px;
}

.page-cockfighting__feature-card .page-cockfighting__text,
.page-cockfighting__type-card .page-cockfighting__text {
    padding: 0 15px;
    color: var(--page-cockfighting-text-secondary);
}

/* Guide Steps */
.page-cockfighting__guide-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.page-cockfighting__guide-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-cockfighting__guide-item:nth-child(even) {
    flex-direction: column-reverse;
}

.page-cockfighting__guide-title {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--page-cockfighting-glow-color);
    margin-bottom: 20px;
}

.page-cockfighting__guide-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin: 25px 0;
    min-height: 200px;
}

/* Promo Section */
.page-cockfighting__promo-section {
    background-color: var(--page-cockfighting-deep-green);
    text-align: center;
    padding: 80px 0;
}

/* Security and Support Section */
.page-cockfighting__security-content,
.page-cockfighting__support-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.page-cockfighting__security-content:last-of-type {
    margin-bottom: 0;
}

.page-cockfighting__security-text-block,
.page-cockfighting__support-text-block {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting__security-image-wrapper,
.page-cockfighting__support-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-cockfighting__security-image,
.page-cockfighting__support-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-height: 200px;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--page-cockfighting-text-main);
    background-color: var(--page-cockfighting-deep-green);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

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

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

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95em;
    color: var(--page-cockfighting-text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-answer {
    max-height: 500px;
    padding-top: 15px;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

/* Call to Action Section */
.page-cockfighting__call-to-action {
    background-color: var(--page-cockfighting-primary-color);
    text-align: center;
    padding: 80px 0;
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__call-to-action .page-cockfighting__section-title {
    color: var(--page-cockfighting-text-main);
    text-shadow: none;
}

.page-cockfighting__call-to-action .page-cockfighting__text {
    color: var(--page-cockfighting-text-main);
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-cockfighting__call-to-action-content {
    background-color: var(--page-cockfighting-card-bg);
    border-radius: 15px;
    padding: 50px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
        padding-top: 10px !important;
    }

    .page-cockfighting__hero-content {
        padding: 30px 15px;
        margin-top: -40px;
    }

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

    .page-cockfighting__description {
        font-size: 1em;
    }

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

    .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__section {
        padding: 40px 0;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__guide-item {
        margin: 0 15px;
        width: calc(100% - 30px);
    }

    .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__hero-section,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__security-content,
    .page-cockfighting__support-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    .page-cockfighting__guide-item:nth-child(even) {
        flex-direction: column;
    }

    .page-cockfighting__security-content,
    .page-cockfighting__support-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-cockfighting__security-image-wrapper,
    .page-cockfighting__support-image-wrapper {
        order: -1;
    }
    .page-cockfighting__support-content .page-cockfighting__support-image-wrapper {
        order: 0;
    }
}

/* Ensure no filter on images */
.page-cockfighting img {
    filter: none;
}

/* Contrast Fixes - Ensure text is readable on dark background */
.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3,
.page-cockfighting h4,
.page-cockfighting h5,
.page-cockfighting h6 {
    color: var(--page-cockfighting-glow-color);
}

.page-cockfighting p,
.page-cockfighting li {
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__hero-content p {
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__call-to-action .page-cockfighting__text {
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer p {
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 500px !important;
    padding-top: 15px;
}