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

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--pbv88-text-main);
    background-color: var(--pbv88-background-color); /* Assumed body background from shared.css is dark */
    line-height: 1.6;
}

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

.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--pbv88-background-color);
    color: var(--pbv88-text-main);
    text-align: center;
}

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

.page-cockfighting__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: var(--pbv88-gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-cockfighting__description {
    font-size: 1.1rem;
    color: var(--pbv88-text-secondary);
    margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
    overflow: hidden;
}

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

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

.page-cockfighting__btn-primary {
    background: var(--pbv88-button-gradient);
    color: var(--pbv88-text-main);
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: var(--pbv88-glow-color);
    color: var(--pbv88-background-color);
    transform: translateY(-2px);
}

.page-cockfighting__why-choose-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__security-section,
.page-cockfighting__contact-cta-section {
    background-color: var(--pbv88-card-bg);
    padding: 60px 0;
    color: var(--pbv88-text-main);
}

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

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

.page-cockfighting__section-intro {
    font-size: 1.1rem;
    color: var(--pbv88-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__feature-item,
.page-cockfighting__step-item,
.page-cockfighting__promo-card {
    background-color: var(--pbv88-background-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--pbv88-divider-color);
    transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover,
.page-cockfighting__step-item:hover,
.page-cockfighting__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-icon,
.page-cockfighting__promo-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure images are not too small */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 4px;
    object-fit: cover;
}

.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__promo-title,
.page-cockfighting__bet-type-title,
.page-cockfighting__security-title {
    font-size: 1.4rem;
    color: var(--pbv88-gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--pbv88-button-gradient);
    color: var(--pbv88-text-main);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-cockfighting__promo-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--pbv88-glow-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__promo-link:hover {
    text-decoration: underline;
}

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

.page-cockfighting__bet-type-item {
    background-color: var(--pbv88-background-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--pbv88-divider-color);
}

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

.page-cockfighting__security-item {
    background-color: var(--pbv88-background-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--pbv88-divider-color);
}

.page-cockfighting__faq-section {
    padding: 60px 0;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--pbv88-gold-color);
    cursor: pointer;
    background-color: var(--pbv88-deep-green);
    border-bottom: 1px solid var(--pbv88-divider-color);
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.page-cockfighting__faq-question::marker {
    display: none; /* Hide default marker for Firefox */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--pbv88-text-main);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: none;
}

.page-cockfighting__faq-answer {
    padding: 15px 20px 20px;
    font-size: 1rem;
    color: var(--pbv88-text-secondary);
}

.page-cockfighting a {
    color: var(--pbv88-glow-color);
    text-decoration: none;
}

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

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

    .page-cockfighting__section-title {
        font-size: 2rem;
    }
}

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

    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset, small top padding for section */
    }

    .page-cockfighting__hero-content {
        padding: 0 15px;
    }

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

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

    .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: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__why-choose-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__security-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__contact-cta-section {
        padding: 40px 0;
    }

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

    .page-cockfighting__section-title {
        font-size: 1.8rem;
    }

    .page-cockfighting__section-intro {
        font-size: 1rem;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promos-grid,
    .page-cockfighting__bet-types-list,
    .page-cockfighting__security-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size */
        min-height: 200px !important; /* Ensure min size */
    }

    .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__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__feature-item,
    .page-cockfighting__step-item,
    .page-cockfighting__promo-card,
    .page-cockfighting__bet-type-item,
    .page-cockfighting__security-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important;
    }

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

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

    .page-cockfighting__faq-answer {
        padding: 10px 15px 15px;
        font-size: 0.95rem;
    }
}