/* style/cockfighting.css */
.page-cockfighting {
    font-family: Arial, sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1); /* Inherit from shared.css */
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
}

.page-cockfighting__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

.page-cockfighting__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-cockfighting__intro-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

.page-cockfighting__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-cockfighting__btn-small {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    background-color: #26A9E0;
    color: #ffffff;
    border: none;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
    background-color: #1a8cc4;
}

.page-cockfighting__section {
    padding: 80px 0;
    text-align: center;
    color: #ffffff; /* Default for sections on dark body */
}

.page-cockfighting__about-cockfighting {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #f0f0f0;
}

.page-cockfighting__game-types {
    background-color: #0d0d0d; /* Darker background for variety */
    color: #ffffff;
}

.page-cockfighting__how-to-play {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.page-cockfighting__promotions {
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff;
}

.page-cockfighting__tips-strategies {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.page-cockfighting__faq-section {
    background-color: #0d0d0d;
    color: #ffffff;
}

.page-cockfighting__cta-final {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 60px 0;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #26A9E0;
}

.page-cockfighting__about-cockfighting .page-cockfighting__section-title,
.page-cockfighting__how-to-play .page-cockfighting__section-title,
.page-cockfighting__tips-strategies .page-cockfighting__section-title,
.page-cockfighting__cta-final .page-cockfighting__section-title {
    color: #ffffff; /* Ensure titles are white on dark backgrounds */
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-cockfighting__text-light {
    color: #ffffff;
}

.page-cockfighting__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__list-item {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #f0f0f0;
}

.page-cockfighting__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #26A9E0;
}

.page-cockfighting__list-light .page-cockfighting__list-item {
    color: #ffffff;
}

.page-cockfighting__link {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__link:hover {
    color: #1a8cc4;
    text-decoration: underline;
}

.page-cockfighting__image-content {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

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

.page-cockfighting__card {
    background-color: #1a1a1a; /* Dark card background */
    color: #f0f0f0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-cockfighting__card.page-cockfighting__light-bg .page-cockfighting__card-title {
    color: #26A9E0;
}

.page-cockfighting__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.page-cockfighting__card-text {
    font-size: 1em;
    line-height: 1.6;
    color: #cccccc;
}

.page-cockfighting__card.page-cockfighting__light-bg .page-cockfighting__card-text {
    color: #333333;
}

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

.page-cockfighting__step-item {
    background-color: #0d0d0d;
    color: #f0f0f0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-cockfighting__step-icon {
    width: 50px;
    height: 50px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-cockfighting__step-text {
    font-size: 1em;
    line-height: 1.6;
    color: #cccccc;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

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

.page-cockfighting__faq-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #262626;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #333333;
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px 25px;
}

.page-cockfighting__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        min-height: 60vh;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-cockfighting__main-title {
        font-size: 2.2em;
    }

    .page-cockfighting__intro-text {
        font-size: 1em;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-cockfighting__section {
        padding: 50px 0;
    }

    .page-cockfighting__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-cockfighting__paragraph,
    .page-cockfighting__list-item,
    .page-cockfighting__card-text,
    .page-cockfighting__step-text,
    .page-cockfighting__faq-answer p {
        font-size: 0.95em;
        line-height: 1.6;
    }

    .page-cockfighting__sub-title {
        font-size: 1.5em;
    }

    .page-cockfighting__list {
        margin-bottom: 30px;
    }

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

    .page-cockfighting__card {
        padding: 20px;
    }

    .page-cockfighting__card-title {
        font-size: 1.3em;
    }

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

    .page-cockfighting__step-item {
        padding: 25px;
    }

    .page-cockfighting__step-title {
        font-size: 1.2em;
    }

    .page-cockfighting__image-content,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__video-wrapper {
        padding-bottom: 56.25%; /* Maintain aspect ratio */
        margin: 30px auto;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

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