/* style/cockfighting.css */

/* Base Styles */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
    line-height: 1.6;
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #ffffff;
    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: #017439;
    border-radius: 2px;
}

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

.page-cockfighting__text-block a {
    color: #017439;
    text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    background: linear-gradient(135deg, #017439, #0d0d0d);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-sizing: border-box;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Register and Login font color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    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: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Register color */
    color: #FFFF00; /* Register and Login font color */
    border: 2px solid #C30808;
}

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

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register and Login font color */
    border: 2px solid #FFFF00;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #FFFF00;
    color: #017439;
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 60px 0;
    background-color: #0a0a0a;
    color: #ffffff;
}

/* Features Section */
.page-cockfighting__features-section {
    padding: 60px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-cockfighting__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
}

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

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

.page-cockfighting__feature-title {
    font-size: 1.5em;
    color: #FFFF00; /* Register and Login font color */
    margin-bottom: 15px;
}

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

/* How-To Section */
.page-cockfighting__how-to-section {
    padding: 60px 0;
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    counter-reset: step-counter;
}

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    font-size: 2em;
    font-weight: bold;
    color: #017439;
    background-color: #FFFF00;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    color: #FFFF00; /* Register and Login font color */
    margin-top: 0;
    margin-bottom: 10px;
}

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

/* Bet Types Section */
.page-cockfighting__bet-types-section {
    padding: 60px 0;
    background-color: #017439;
    color: #ffffff;
}

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

.page-cockfighting__bet-card {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-cockfighting__bet-card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__card-title {
    font-size: 1.4em;
    color: #FFFF00; /* Register and Login font color */
    margin-bottom: 15px;
    text-align: center;
}

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

/* Video Section */
.page-cockfighting__video-section {
    padding: 60px 0;
    background-color: #0a0a0a;
    color: #ffffff;
}

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

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

.page-cockfighting__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    border-radius: 10px;
    transition: background 0.3s ease;
    z-index: 2;
}

.page-cockfighting__video-overlay-link:hover {
    background: rgba(0, 0, 0, 0.7);
}

.page-cockfighting__video-overlay-text {
    padding: 20px;
    text-align: center;
    background-color: rgba(1, 116, 57, 0.8);
    border-radius: 5px;
}


/* Safety Section */
.page-cockfighting__safety-section {
    padding: 60px 0;
    background-color: #017439;
    color: #ffffff;
}

.page-cockfighting__safety-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
}

.page-cockfighting__safety-item {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__safety-title {
    font-size: 1.5em;
    color: #FFFF00; /* Register and Login font color */
    margin-bottom: 15px;
}

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

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: #0a0a0a;
    color: #ffffff;
}

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

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

.page-cockfighting__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFF00; /* Register and Login font color */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* CTA Bottom Section */
.page-cockfighting__cta-bottom-section {
    padding: 60px 0;
    background-color: #017439;
    text-align: center;
    color: #ffffff;
}

.page-cockfighting__btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
    margin-top: 30px;
}

/* Image Specific Styles */
.page-cockfighting__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__feature-list,
    .page-cockfighting__bet-cards,
    .page-cockfighting__safety-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding: 60px 15px;
        min-height: 60vh;
    }
    .page-cockfighting__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 0.95em;
    }
    .page-cockfighting__feature-list,
    .page-cockfighting__bet-cards,
    .page-cockfighting__safety-list {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .page-cockfighting__step-item::before {
        margin-bottom: 15px;
    }
    .page-cockfighting__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile specific image, video, button adaptations */
    .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__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__cta-button,
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        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-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__btn-large {
        font-size: 1.1em;
        padding: 15px 25px;
    }
}