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

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

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

/* --- Hero Section --- */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px; /* 10px top padding as per instruction, then 60px bottom */
    overflow: hidden; /* Ensure no overflow from image */
}

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

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
    /* No filter to change color, only brightness */
}

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

.page-cockfighting__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--color-gold);
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--color-text-secondary);
}

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

.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: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
}

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

.page-cockfighting__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--color-primary);
    color: var(--color-text-main);
}

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

/* --- General Section Styling --- */
.page-cockfighting__intro-section,
.page-cockfighting__rules-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
    background-color: #ffffff; /* Light background for these sections */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-cockfighting__bet-types-section,
.page-cockfighting__tips-section,
.page-cockfighting__register-login-section,
.page-cockfighting__conclusion-section {
    background-color: var(--color-card-bg); /* Darker background for these sections */
    color: var(--color-text-main); /* Light text for dark background */
    padding: 60px 0;
}

.page-cockfighting__section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.page-cockfighting__intro-section .page-cockfighting__section-title,
.page-cockfighting__rules-section .page-cockfighting__section-title,
.page-cockfighting__promotions-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: var(--color-deep-green); /* Darker green for titles on light background */
}

.page-cockfighting__sub-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.page-cockfighting__intro-section .page-cockfighting__sub-title,
.page-cockfighting__rules-section .page-cockfighting__sub-title,
.page-cockfighting__promotions-section .page-cockfighting__sub-title,
.page-cockfighting__faq-section .page-cockfighting__sub-title {
    color: var(--color-primary); /* Primary green for subtitles on light background */
}


.page-cockfighting__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-cockfighting__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-cockfighting__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* --- List Styles --- */
.page-cockfighting__list,
.page-cockfighting__ordered-list,
.page-cockfighting__promotion-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-cockfighting__list-item {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.page-cockfighting__list-item::before {
    content: '✅'; /* Green checkmark for lists */
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.page-cockfighting__ordered-list .page-cockfighting__list-item::before {
    content: counter(list-item) ".";
    counter-increment: list-item;
    font-weight: bold;
    color: var(--color-gold);
    left: 0;
}

.page-cockfighting__list-item p {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 1rem;
    color: inherit;
}

.page-cockfighting__list-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--color-gold);
}

.page-cockfighting__bet-types-section .page-cockfighting__list-item::before,
.page-cockfighting__tips-section .page-cockfighting__list-item::before,
.page-cockfighting__register-login-section .page-cockfighting__list-item::before,
.page-cockfighting__conclusion-section .page-cockfighting__list-item::before {
    color: var(--color-gold); /* Gold checkmark/number for dark sections */
}

/* Two-column list for tips */
.page-cockfighting__list--two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px 40px;
}

/* --- Promotions Section --- */
.page-cockfighting__promotion-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__promotion-item {
    background-color: #f8f8f8; /* Light card background on light section */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333;
}

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

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

.page-cockfighting__promotion-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.page-cockfighting__promotion-item p {
    font-size: 1rem;
    color: #555555;
}

/* --- FAQ Section --- */
.page-cockfighting__faq-list {
    margin-top: 40px;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-deep-green);
    cursor: pointer;
    background-color: #e6ffe6; /* Lighter background for question */
    border-bottom: 1px solid var(--color-border);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: 1px solid var(--color-border);
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
    color: inherit;
}

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


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__sub-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-content {
        padding: 60px 15px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        box-sizing: border-box !important;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting__intro-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__rules-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__register-login-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

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

    .page-cockfighting__sub-title {
        font-size: 1.3rem;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-cockfighting__text-block {
        font-size: 1rem;
    }

    .page-cockfighting__list-title {
        font-size: 1.2rem;
    }

    .page-cockfighting__list--two-columns {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__promotion-list {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__promotion-item {
        padding: 20px;
    }

    .page-cockfighting__promotion-title {
        font-size: 1.3rem;
    }

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

    /* Mobile image 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__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__rules-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__register-login-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section,
    .page-cockfighting__image-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }
    
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body already has offset */
    }
    
    .page-cockfighting__video-section {
        padding-top: 10px !important; /* body already has offset */
    }
    
    /* Ensure buttons also wrap and take full width */
    .page-cockfighting__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
    }
}