/* style/cockfighting.css */

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

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

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: var(--page-cockfighting-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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-color: var(--page-cockfighting-glow);
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-cockfighting-text-secondary);
    text-align: justify;
}

.page-cockfighting__text-block strong {
    color: var(--page-cockfighting-text-main);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting a {
    color: var(--page-cockfighting-glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting a:hover {
    color: var(--page-cockfighting-gold);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-cockfighting-deep-green);
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-cockfighting__hero-image {
    width: 100%;
    max-width: 1920px; /* Actual image size for generation */
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Spacing between image and content */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.page-cockfighting__hero-title {
    font-weight: bold;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 20px;
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    color: var(--page-cockfighting-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; /* Allow buttons to wrap on smaller screens */
}

.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;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    min-width: 200px; /* Ensure buttons are not too small */
}

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

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

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

.page-cockfighting__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--page-cockfighting-glow);
    color: var(--page-cockfighting-bg); /* Dark text on light background */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-bg);
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px; /* Enforce min size for content images */
    max-width: 800px; /* Example content image size */
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-card-bg);
}

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

.page-cockfighting__advantage-card {
    background-color: var(--page-cockfighting-deep-green);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-cockfighting-border);
    transition: transform 0.3s ease;
}

.page-cockfighting__advantage-card:hover {
    transform: translateY(-5px);
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-bg);
}

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

.page-cockfighting__bet-type-card {
    background-color: var(--page-cockfighting-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-cockfighting-border);
    transition: transform 0.3s ease;
}

.page-cockfighting__bet-type-card:hover {
    transform: translateY(-5px);
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

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

.page-cockfighting__list-title {
    font-size: 1.4em;
    color: var(--page-cockfighting-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__guide-item p {
    color: var(--page-cockfighting-text-secondary);
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-bg);
}

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__tips-item {
    background-color: var(--page-cockfighting-card-bg);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__tips-item p {
    color: var(--page-cockfighting-text-secondary);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-card-bg);
}

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

.page-cockfighting__promotion-card {
    background-color: var(--page-cockfighting-deep-green);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-cockfighting-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__promotion-card .page-cockfighting__card-image {
    width: calc(100% + 40px); /* Adjust for padding to make it full width visually */
    margin: -20px -20px 20px -20px; /* Negative margin to fill card width */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: none; /* Remove shadow from this specific image */
    max-width: none; /* Override max-width from general image-content */
    min-width: 200px; /* Enforce min size for card images */
    min-height: 200px; /* Enforce min size for card images */
}

.page-cockfighting__promotion-card .page-cockfighting__card-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__promotion-card .page-cockfighting__card-description {
    flex-grow: 1; /* Make description take available space */
}

/* Safety Section */
.page-cockfighting__safety-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-bg);
}

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

.page-cockfighting__feature-item {
    background-color: var(--page-cockfighting-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__feature-item .page-cockfighting__list-title {
    color: var(--page-cockfighting-glow);
}

.page-cockfighting__feature-item p {
    color: var(--page-cockfighting-text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-card-bg);
}

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

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-deep-green);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--page-cockfighting-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden; /* For smooth transition */
}

.page-cockfighting__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-cockfighting-text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--page-cockfighting-deep-green);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary:hover {
    background-color: var(--page-cockfighting-deep-green); /* Keep same background, but could be slightly lighter */
    color: var(--page-cockfighting-glow);
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-cockfighting-glow);
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'X' or '-' */
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: var(--page-cockfighting-text-secondary);
    border-top: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__faq-answer p {
    margin-top: 15px;
    margin-bottom: 0;
    color: var(--page-cockfighting-text-secondary);
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    background-color: var(--page-cockfighting-bg);
    text-align: center;
}

/* Global Image and Video Responsiveness */
.page-cockfighting img,
.page-cockfighting video {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-cockfighting__video-container,
.page-cockfighting__video-wrapper,
.page-cockfighting__container,
.page-cockfighting__cta-buttons,
.page-cockfighting__promotion-cards,
.page-cockfighting__grid-advantages,
.page-cockfighting__grid-bet-types,
.page-cockfighting__safety-features,
.page-cockfighting__faq-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent horizontal scroll */
}

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

    .page-cockfighting__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-cockfighting__hero-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        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: 1em;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__safety-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__container,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__promotion-cards,
    .page-cockfighting__grid-advantages,
    .page-cockfighting__grid-bet-types,
    .page-cockfighting__safety-features,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-cockfighting__promotion-card .page-cockfighting__card-image {
        width: calc(100% + 30px); /* Adjust for 15px padding on each side */
        margin: -20px -15px 20px -15px;
    }

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

    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
        font-size: 1em;
    }
}