/* style/cockfighting.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-dark: #08160F;
    --bg-card: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--bg-dark);
}

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
    color: var(--text-main);
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.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: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
    color: var(--text-main);
}

.page-cockfighting__advantages-section,
.page-cockfighting__types-section,
.page-cockfighting__promotions-section,
.page-cockfighting__security-section,
.page-cockfighting__conclusion-section {
    background-color: var(--bg-card);
    padding: 80px 0;
    color: var(--text-main);
}

.page-cockfighting__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
    color: var(--text-secondary);
}

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

.page-cockfighting__card {
    background-color: var(--deep-green-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-main);
}

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

.page-cockfighting__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-cockfighting__card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 40px auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-content--right {
    float: right;
    margin-left: 30px;
    max-width: 50%;
}

.page-cockfighting__video-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background-color: var(--deep-green-color);
    color: var(--text-main);
    text-align: center;
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Adjusted max-width for video */
    margin: 40px auto;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__video-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-cockfighting__btn-video-cta {
    margin-top: 20px;
}

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

.page-cockfighting__step-card {
    background-color: var(--deep-green-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
}

.page-cockfighting__step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    display: block;
    line-height: 1;
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 1rem;
    margin-top: 20px;
}

.page-cockfighting__cta-buttons--center {
    margin-top: 50px;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    border-top: 1px solid var(--divider-color);
    padding-top: 20px;
}

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    background-color: var(--deep-green-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    color: var(--text-main);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--gold-color);
    background-color: var(--deep-green-color);
    user-select: none;
    position: relative;
    list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    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: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-cockfighting__image-content.page-cockfighting__image-content--right {
    max-width: 450px;
    width: 100%;
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    shape-outside: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1" height="1"></svg>'); /* Clear float issues */
    shape-margin: 20px;
}

.page-cockfighting__faq-section .page-cockfighting__container::after {
    content: '';
    display: block;
    clear: both;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__image-content.page-cockfighting__image-content--right {
        float: none;
        margin: 30px auto;
        max-width: 80%;
    }
}

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

    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-cockfighting__main-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

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

    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-cockfighting__intro-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__video-section,
    .page-cockfighting__types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__security-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

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

    .page-cockfighting__grid,
    .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__video-wrapper,
    .page-cockfighting__video-container {
        max-width: 100% !important;
        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__image-content.page-cockfighting__image-content--right {
        margin-left: 0;
        max-width: 100%;
    }

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

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