/* style/cockfighting.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-text-yellow: #FFFF00;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default to light text on dark body background */
    background-color: var(--neon-bg-dark, #0d0d0d);
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-cockfighting__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--button-text-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background-color: var(--button-register-bg);
    color: var(--button-text-yellow);
    border: 2px solid var(--button-register-bg);
}

.page-cockfighting__btn-primary:hover {
    background-color: darken(var(--button-register-bg), 10%);
    border-color: darken(var(--button-register-bg), 10%);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-cockfighting__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-cockfighting__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-cockfighting__video-section {
    position: relative;
    padding: 60px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-cockfighting__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

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

.page-cockfighting__content-area {
    padding: 60px 0;
}

.page-cockfighting__dark-bg {
    background-color: var(--neon-bg-dark, #0d0d0d);
    color: var(--text-light);
}

.page-cockfighting__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-cockfighting__section-title {
    font-size: 2.8em;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.2;
    color: inherit; /* Inherit color from parent section */
}

.page-cockfighting__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: center;
    opacity: 0.8;
    color: inherit;
}

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

.page-cockfighting__text-block a,
.page-cockfighting__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-cockfighting__text-block a:hover,
.page-cockfighting__text-link:hover {
    color: darken(var(--primary-color), 10%);
}

.page-cockfighting__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

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

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

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__feature-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-cockfighting__feature-description {
    font-size: 1em;
    line-height: 1.7;
}

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

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-cockfighting__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--button-text-yellow);
}

.page-cockfighting__step-description {
    font-size: 1em;
    line-height: 1.7;
}

.page-cockfighting__subsection-title {
    font-size: 2em;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
    color: inherit;
}

.page-cockfighting__tips-list {
    list-style: disc inside;
    padding-left: 20px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.05em;
    color: inherit;
}

.page-cockfighting__tips-item {
    margin-bottom: 10px;
}

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

.page-cockfighting__faq-item {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.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;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: darken(var(--primary-color), 5%);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    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;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

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

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

.page-cockfighting__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-cockfighting__promotion-banner {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__promotion-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--button-text-yellow);
}

.page-cockfighting__promotion-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.page-cockfighting__promotion-image {
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__section-title {
        font-size: 2.4em;
    }
    .page-cockfighting__promotion-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        padding: 60px 0;
    }
    .page-cockfighting__hero-title {
        font-size: 2.5em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        padding: 0 15px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .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__video-section {
        padding: 40px 0;
    }
    .page-cockfighting__video-wrapper {
        margin: 20px auto 0 auto;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__content-area {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
        padding: 0 15px;
    }
    .page-cockfighting__section-description {
        font-size: 1em;
        padding: 0 15px;
    }
    .page-cockfighting__text-block {
        padding: 0 15px;
    }
    .page-cockfighting__image {
        margin: 20px auto;
        width: calc(100% - 30px);
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }
    .page-cockfighting__feature-list,
    .page-cockfighting__step-by-step {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .page-cockfighting__feature-item,
    .page-cockfighting__step-item {
        padding: 25px;
    }
    .page-cockfighting__feature-title {
        font-size: 1.5em;
    }
    .page-cockfighting__step-title {
        font-size: 1.4em;
    }
    .page-cockfighting__subsection-title {
        font-size: 1.8em;
        padding: 0 15px;
    }
    .page-cockfighting__tips-list {
        padding-left: 35px; /* Adjust for list-style disc */
        padding-right: 15px;
    }
    .page-cockfighting__faq-list {
        padding: 0 15px;
    }
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
    .page-cockfighting__promotion-banner {
        padding: 60px 0;
    }
    .page-cockfighting__promotion-title {
        font-size: 2em;
        padding: 0 15px;
    }
    .page-cockfighting__promotion-description {
        font-size: 1em;
        padding: 0 15px;
    }
    .page-cockfighting__promotion-image {
        margin-top: 30px;
        width: calc(100% - 30px);
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }
    .page-cockfighting__container {
        padding: 0;
    }
    .page-cockfighting__section, .page-cockfighting__card, .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 2em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__promotion-title {
        font-size: 1.8em;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
}