/* style/cockfighting.css */

/* General styles for the page-cockfighting scope */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark (#0a0a0a), so text is light */
    background-color: transparent; /* Main content background is handled by sections */
}

/* Section padding and max-width for content alignment */
.page-cockfighting__hero-section,
.page-cockfighting__video-section,
.page-cockfighting__content-area,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 40px 20px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Dark background sections */
.page-cockfighting__dark-bg {
    background-color: #0a0a0a; /* Ensure consistency with body background */
    color: #ffffff;
}

/* Light background sections */
.page-cockfighting__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast between sections */
    color: #ffffff;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    padding-top: 60px; /* Adjust as needed, body has padding-top */
    overflow: hidden;
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay to ensure text readability on dark background */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    border-radius: 8px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.page-cockfighting__description {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* CTA Buttons */
.page-cockfighting__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting__cta-buttons--center {
    justify-content: center;
    margin-top: 30px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
}

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

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

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

.page-cockfighting__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Video Section */
.page-cockfighting__video-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0a0a0a;
    text-align: center;
    position: relative; /* For video overlay link */
}

.page-cockfighting__video-container {
    width: 100%; /* Desktop width */
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative; /* For video overlay link */
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%; /* Ensure wrapper takes full width */
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Ensure it behaves as a block element */
}

.page-cockfighting__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Above the video */
    cursor: pointer;
}


.page-cockfighting__video-caption {
    margin-top: 15px;
    font-size: 1rem;
    color: #ccc;
}

/* Content Area */
.page-cockfighting__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 30px;
}

.page-cockfighting__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-cockfighting__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-list,
.page-cockfighting__step-list,
.page-cockfighting__strategy-list,
.page-cockfighting__promotion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for list items */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
}

.page-cockfighting__list-item:hover {
    transform: translateY(-5px);
}

.page-cockfighting__list-title {
    font-size: 1.3rem;
    color: #26A9E0;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__list-item p {
    font-size: 1rem;
    color: #ccc;
}

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

.page-cockfighting__inline-link:hover {
    color: #EA7C07; /* Login color for hover */
    text-decoration: underline;
}

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

.page-cockfighting__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #26A9E0; /* Primary brand color for question background */
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    margin-left: 15px;
}

/* For details tag, hide default marker */
.page-cockfighting__faq-item summary {
    list-style: none;
}
.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-answer {
    padding: 15px 25px 20px;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
    font-size: 1rem;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* Mobile image and video responsiveness */
    .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__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video specific mobile styles */
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body has padding-top, only small decorative padding here */
    }

    /* Button specific mobile styles */
    .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; /* Add padding to prevent text from touching edges */
        padding-right: 15px;
    }

    .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;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-cockfighting__hero-section {
        padding: 40px 15px;
        min-height: 400px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 10px 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-section {
        min-height: 350px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-cockfighting__description {
        font-size: 0.95rem;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .page-cockfighting__faq-question {
        font-size: 0.95rem;
    }
}