/* style/cockfighting.css */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Explicitly set for clarity */
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Blend primary color with white */
    overflow: hidden; /* Prevent content overflow */
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent white for content */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333; /* Dark text on light background */
}

.page-cockfighting__main-title {
    font-size: 3.2em;
    color: #26A9E0; /* Primary color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07; /* Login/CTA color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
    background: #d46c05;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section {
    padding: 80px 20px;
    text-align: center;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #26A9E0; /* Primary color for section titles */
    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: #26A9E0;
    border-radius: 2px;
}

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%; /* Ensure responsive */
    box-sizing: border-box;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* Introduction section specific */
.page-cockfighting__introduction .page-cockfighting__text-block {
    text-align: justify;
}

/* Betting Rules Section */
.page-cockfighting__betting-rules {
    background-color: #26A9E0; /* Primary color background */
    color: #ffffff; /* White text on primary background */
}

.page-cockfighting__betting-rules .page-cockfighting__section-title {
    color: #ffffff; /* White title on primary background */
}

.page-cockfighting__betting-rules .page-cockfighting__section-title::after {
    background-color: #ffffff; /* White underline */
}

.page-cockfighting__content-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    text-align: left;
}

.page-cockfighting__text-content {
    flex: 1;
}

.page-cockfighting__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__sub-title {
    font-size: 1.8em;
    color: #ffffff; /* White text on primary background */
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-cockfighting__list {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-cockfighting__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #f0f0f0;
}

/* Benefits Section */
.page-cockfighting__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-cockfighting__benefit-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__benefit-card img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size for content images */
    min- /* Adjusted for aspect ratio, still > 200px on one side */
    object-fit: cover;
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: #26A9E0; /* Primary color for card titles */
    margin-bottom: 15px;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: #666666;
    text-align: justify;
}

/* How to Play Section */
.page-cockfighting__how-to-play {
    background-color: #26A9E0; /* Primary color background */
    color: #ffffff; /* White text */
}

.page-cockfighting__how-to-play .page-cockfighting__section-title {
    color: #ffffff;
}

.page-cockfighting__how-to-play .page-cockfighting__section-title::after {
    background-color: #ffffff;
}

.page-cockfighting__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting__step-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-cockfighting__step-item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-
    object-fit: cover;
}

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

.page-cockfighting__step-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: #ffffff;
    color: #26A9E0; /* Primary color text */
    text-decoration: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #26A9E0;
    max-width: 100%; /* Ensure responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-secondary:hover {
    background: #e0e0e0;
    color: #1a7eb3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Promotions Section */
.page-cockfighting__promotions {
    background-color: #f8f8f8;
}

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

.page-cockfighting__promo-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promo-card img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-
    object-fit: cover;
}

.page-cockfighting__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #26A9E0; /* Primary color background */
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #26A9E0;
    max-width: 100%; /* Ensure responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary:hover {
    background: #1a7eb3;
    border-color: #1a7eb3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-area {
    margin-top: 50px;
}

/* FAQ Section */
.page-cockfighting__faq {
    background-color: #26A9E0; /* Primary color background */
    color: #ffffff; /* White text */
}

.page-cockfighting__faq .page-cockfighting__section-title {
    color: #ffffff;
}

.page-cockfighting__faq .page-cockfighting__section-title::after {
    background-color: #ffffff;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #ffffff; /* White background for individual FAQ item */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__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 15px;
    opacity: 0;
    background: #f9f9f9;
    color: #555555;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important; /* Ensure enough space for content */
    padding: 20px 15px !important;
    opacity: 1;
    border-radius: 0 0 5px 5px;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #333333; /* Dark text on white background */
}

.page-cockfighting__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-cockfighting__faq-question:active {
    background: #eeeeee;
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #26A9E0; /* Primary color for FAQ questions */
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: #333;
    transform: rotate(45deg); /* Plus to X effect */
}

/* Conclusion Section */
.page-cockfighting__conclusion {
    background-color: #f8f8f8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__text-block,
    .page-cockfighting__list-item,
    .page-cockfighting__card-text,
    .page-cockfighting__step-text {
        font-size: 1em;
    }
    .page-cockfighting__content-grid {
        flex-direction: column;
        align-items: center;
    }
    .page-cockfighting__image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__main-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        width: 100% !important; /* Ensure buttons are full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__section {
        padding: 60px 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__sub-title {
        font-size: 1.5em;
    }
    .page-cockfighting__content-grid {
        gap: 20px;
    }
    .page-cockfighting__benefits-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__benefit-card,
    .page-cockfighting__step-item,
    .page-cockfighting__promo-card {
        padding: 20px;
    }
    .page-cockfighting__benefit-card img,
    .page-cockfighting__step-item img,
    .page-cockfighting__promo-card img {
        min-width: 200px !important;
        min-
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Ensure all images are responsive in content areas */
    .page-cockfighting img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__content-grid,
    .page-cockfighting__benefits-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    /* Button specific mobile styles */
    .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__cta-area {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ mobile */
    .page-cockfighting__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    .page-cockfighting__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 15px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px !important;
    }
}