/* style/cockfighting.css */

/* --- Base Styles --- */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit or default to white */
}

.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: #26A9E0; /* Primary brand color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

.page-cockfighting__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Primary brand color */
    border: 2px solid #26A9E0;
}

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

.page-cockfighting__hero-buttons,
.page-cockfighting__cta-bottom,
.page-cockfighting__cta-faq,
.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Hero Section --- */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

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

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: -1;
}

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

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* --- Intro Section --- */
.page-cockfighting__intro-section {
    padding: 80px 0;
}

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

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

.page-cockfighting__text-block p {
    margin-bottom: 15px;
    color: #333333;
}

.page-cockfighting__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-cockfighting__image-content {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- How to Play Section --- */
.page-cockfighting__how-to-play-section {
    background-color: #26A9E0; /* Primary brand color as background */
    color: #FFFFFF; /* White text for contrast */
    padding: 80px 0;
}

.page-cockfighting__how-to-play-section .page-cockfighting__section-title,
.page-cockfighting__how-to-play-section .page-cockfighting__section-description {
    color: #FFFFFF;
}

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

.page-cockfighting__step-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFFFFF;
}

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

/* --- Features Section --- */
.page-cockfighting__features-section {
    padding: 80px 0;
    background-color: #f9f9f9; /* Light background */
}

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

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

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #26A9E0;
}

.page-cockfighting__feature-text {
    color: #555555;
}

/* --- Promotions Section --- */
.page-cockfighting__promotions-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
}

.page-cockfighting__promotions-section .page-cockfighting__section-title,
.page-cockfighting__promotions-section .page-cockfighting__section-description {
    color: #FFFFFF;
}

.page-cockfighting__promo-card {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    align-items: center;
}

.page-cockfighting__promo-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    object-fit: cover;
}

.page-cockfighting__promo-content {
    flex: 1;
    padding: 40px;
    color: #FFFFFF;
}

.page-cockfighting__promo-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-cockfighting__promo-text {
    margin-bottom: 25px;
    color: #f0f0f0;
}

/* --- Video Section --- */
.page-cockfighting__video-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px; /* Max width for video */
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video-link {
    display: block; /* Make the anchor tag block-level to contain the video */
    text-decoration: none; /* Remove underline from video link */
}

.page-cockfighting__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-cockfighting__video-caption {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #555555;
}

.page-cockfighting__video-caption a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__video-caption a:hover {
    text-decoration: underline;
}

/* --- Responsible Gaming Section --- */
.page-cockfighting__responsible-gaming-section {
    padding: 80px 0;
    background-color: #f0f8ff; /* Light blue tint */
}

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

.page-cockfighting__responsible-list li {
    background-color: #FFFFFF;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-cockfighting__responsible-list li strong {
    color: #26A9E0;
}

/* --- FAQ Section --- */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
}

.page-cockfighting__faq-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-description {
    color: #FFFFFF;
}

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

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

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: #FFFFFF;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    color: #FFFFFF;
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    max-height: 0; /* For JS based accordion */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

/* For <details> tag, native behavior, JS only toggles +/- */
.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    max-height: 2000px; /* Large enough to show content */
    padding-top: 15px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px; /* For JS based accordion */
    padding-top: 15px;
}

.page-cockfighting__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit */
}


/* --- CTA Section --- */
.page-cockfighting__cta-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__content-grid {
        flex-direction: column;
    }
    .page-cockfighting__promo-card {
        flex-direction: column;
    }
    .page-cockfighting__promo-image {
        max-width: 100%;
    }
    .page-cockfighting__promo-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
}