/* style/cockfighting.css */

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

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

/* General Section Styling */
.page-cockfighting__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cockfighting__dark-bg {
    background-color: var(--vin88-bg-dark);
    color: var(--vin88-text-main);
}

.page-cockfighting__card-bg {
    background-color: var(--vin88-card-bg);
    color: var(--vin88-text-main);
}

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

.page-cockfighting__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    color: var(--vin88-gold);
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: var(--vin88-text-secondary);
}

.page-cockfighting__text-block a {
    color: var(--vin88-secondary);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__text-block a:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
    padding: 10px 0 60px 0; /* body already handles top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.page-cockfighting__hero-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
    max-width: 900px;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    color: var(--vin88-text-main);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__description {
    font-size: 1.2em;
    color: var(--vin88-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
}

.page-cockfighting__btn-primary {
    background: var(--vin88-btn-gradient);
    color: #ffffff;
    border: 2px solid var(--vin88-secondary);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(34, 199, 104, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--vin88-secondary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(34, 199, 104, 0.4);
}

/* Image Wrapper for content images */
.page-cockfighting__image-wrapper {
    margin: 40px auto;
    max-width: 900px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    width: 100%;
}

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

/* Grid Container for Cards/Benefits */
.page-cockfighting__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card Styling */
.page-cockfighting__card {
    background-color: var(--vin88-deep-green);
    border: 1px solid var(--vin88-border);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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.5em;
    color: var(--vin88-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

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

.page-cockfighting__card-text a {
    color: var(--vin88-secondary);
    text-decoration: none;
    font-weight: bold;
}

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

/* Guide List */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__guide-item {
    background-color: var(--vin88-deep-green);
    border: 1px solid var(--vin88-border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-step-title {
    font-size: 1.4em;
    color: var(--vin88-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__guide-step-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--vin88-text-secondary);
}

.page-cockfighting__guide-step-text a {
    color: var(--vin88-secondary);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__guide-step-text a:hover {
    text-decoration: underline;
}

/* Promotions List */
.page-cockfighting__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__promotion-item {
    background-color: var(--vin88-deep-green);
    border: 1px solid var(--vin88-border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promotion-title {
    font-size: 1.4em;
    color: var(--vin88-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__promotion-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--vin88-text-secondary);
}

.page-cockfighting__promotion-text a {
    color: var(--vin88-secondary);
    text-decoration: none;
    font-weight: bold;
}

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

/* Benefits Section */
.page-cockfighting__benefit-item {
    background-color: var(--vin88-deep-green);
    border: 1px solid var(--vin88-border);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__benefit-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px;
}

.page-cockfighting__benefit-title {
    font-size: 1.5em;
    color: var(--vin88-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-cockfighting__benefit-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--vin88-text-secondary);
}

.page-cockfighting__benefit-text a {
    color: var(--vin88-secondary);
    text-decoration: none;
    font-weight: bold;
}

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

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-cockfighting__faq-item {
    background-color: var(--vin88-deep-green);
    border: 1px solid var(--vin88-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--vin88-text-main);
    list-style: none;
    outline: none;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--vin88-text-main);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--vin88-gold);
    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 25px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--vin88-text-secondary);
}

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

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

.page-cockfighting__faq-answer a {
    color: var(--vin88-secondary);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__faq-answer a:hover {
    text-decoration: underline;
}

/* Conclusion Section */
.page-cockfighting__conclusion .page-cockfighting__text-block {
    font-size: 1.15em;
    color: var(--vin88-text-secondary);
}

.page-cockfighting__conclusion .page-cockfighting__text-block a {
    color: var(--vin88-secondary);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__conclusion .page-cockfighting__text-block a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-cockfighting__section {
        padding: 40px 15px;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
        padding-bottom: 40px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }

    .page-cockfighting__description {
        font-size: 1em;
    }

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

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

    .page-cockfighting__section-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
        margin-bottom: 25px;
    }

    .page-cockfighting__text-block {
        font-size: 1em;
        margin-bottom: 15px;
    }

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

    .page-cockfighting__card,
    .page-cockfighting__benefit-item,
    .page-cockfighting__guide-item,
    .page-cockfighting__promotion-item,
    .page-cockfighting__faq-item {
        padding: 20px;
    }

    .page-cockfighting__card-title,
    .page-cockfighting__benefit-title,
    .page-cockfighting__guide-step-title,
    .page-cockfighting__promotion-title {
        font-size: 1.3em;
    }

    .page-cockfighting__card-text,
    .page-cockfighting__benefit-text,
    .page-cockfighting__guide-step-text,
    .page-cockfighting__promotion-text,
    .page-cockfighting__faq-answer {
        font-size: 0.95em;
    }

    .page-cockfighting__image-wrapper,
    .page-cockfighting__hero-image-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px;
    }

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

    .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,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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