/* General styles for the cockfighting page */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background: #08160F; /* Background */
}

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

.page-cockfighting__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-cockfighting__section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #F2FFF6; /* Text Main */
    line-height: 1.2;
}

.page-cockfighting__section-title--light {
    color: #F2FFF6;
}

.page-cockfighting__sub-title {
    font-size: 28px;
    font-weight: 600;
    color: #F2FFF6;
    margin-bottom: 20px;
}

.page-cockfighting__text-block {
    font-size: 17px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__text-block--light {
    color: #F2FFF6;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F2FFF6;
    min-height: 700px;
    overflow: hidden;
}

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

.page-cockfighting__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__main-title {
    font-size: clamp(32px, 5vw, 56px); /* Responsive H1 font size */
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #F2FFF6;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #A7D9B8;
    max-width: 700px;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: #57E38D; /* Glow */
    border: 2px solid #57E38D; /* Glow */
}

.page-cockfighting__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1); /* Glow with some transparency */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%; /* Ensure container fills width */
    max-width: 100%; /* Ensure container doesn't overflow */
    box-sizing: border-box;
    overflow: hidden;
}

/* Image with text block */
.page-cockfighting__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.page-cockfighting__image-text-block img {
    flex-shrink: 0;
    width: 500px;
    height: 375px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__text-content p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #A7D9B8;
    text-align: left;
}

.page-cockfighting__text-content strong {
    color: #F2FFF6;
}

/* Grid for betting types */
.page-cockfighting__grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card {
    background: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #A7D9B8;
}

.page-cockfighting__card-title {
    font-size: 22px;
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 15px;
}

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

.page-cockfighting__step-card {
    background: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #A7D9B8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__step-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    background: rgba(87, 227, 141, 0.1); /* Glow transparent */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__step-icon img {
    
    
    object-fit: contain;
}

.page-cockfighting__step-title {
    font-size: 20px;
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 10px;
}

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

.page-cockfighting__benefit-item {
    background: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #A7D9B8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    background: rgba(87, 227, 141, 0.1); /* Glow transparent */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-cockfighting__benefit-icon img {
    
    
    object-fit: contain;
}

.page-cockfighting__benefit-title {
    font-size: 20px;
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 10px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background: #08160F; /* Background */
}

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

details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #2E7A4E; /* Border */
    overflow: hidden;
    background: #11271B; /* Card BG */
    color: #A7D9B8;
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
    background: rgba(46, 122, 78, 0.3); /* Border color with transparency */
}

.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #F2FFF6;
}

.page-cockfighting__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #57E38D; /* Glow */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    background: #08160F; /* Background */
    border-radius: 0 0 8px 8px;
    font-size: 16px;
    color: #A7D9B8;
}

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

.page-cockfighting__faq-answer strong {
    color: #F2FFF6;
}

/* Final CTA Section */
.page-cockfighting__cta-final {
    background: #11271B; /* Card BG */
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #2E7A4E;
}

.page-cockfighting__cta-final .page-cockfighting__section-title {
    margin-bottom: 20px;
}

/* Global Image styles for content area */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting__section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .page-cockfighting__hero-content {
        padding: 60px 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(28px, 4.5vw, 48px);
    }

    .page-cockfighting__hero-description {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .page-cockfighting__image-text-block {
        flex-direction: column;
        text-align: center;
    }

    .page-cockfighting__image-text-block img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }

    .page-cockfighting__text-content {
        padding-top: 30px;
    }

    .page-cockfighting__text-content p {
        text-align: center;
    }

    .page-cockfighting__sub-title {
        font-size: 24px;
        text-align: center;
    }

    .page-cockfighting__grid-3-col,
    .page-cockfighting__steps-grid,
    .page-cockfighting__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px 20px;
    }

    .page-cockfighting__faq-qtext {
        font-size: 16px;
    }

    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
}