.page-cockfighting {
    color: #ffffff; /* Body background is dark (#121212), so use light text */
    background-color: #121212; /* Ensure page content area has the same dark background */
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #FFD700; /* Gold for main titles */
    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-color: #1A2B42; /* Midnight blue underline */
    border-radius: 2px;
}

.page-cockfighting__sub-title {
    font-size: 28px;
    font-weight: 600;
    color: #FFD700; /* Gold for subtitles */
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.page-cockfighting__text-block {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

.page-cockfighting__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #f0f0f0;
    font-size: 18px;
    line-height: 1.8;
}

.page-cockfighting__list li {
    margin-bottom: 10px;
}

.page-cockfighting__list strong {
    color: #FFD700;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background-color: #FFD700; /* Gold background */
    color: #1A2B42; /* Midnight blue text */
    border-color: #FFD700;
}

.page-cockfighting__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__btn-secondary {
    background-color: #1A2B42; /* Midnight blue background */
    color: #FFD700; /* Gold text */
    border-color: #FFD700;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #122136;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(26, 43, 66, 0.4);
}

.page-cockfighting__btn-full-width {
    display: block;
    width: 100%;
    margin-top: 30px;
}

/* General Section Styling */
.page-cockfighting__introduction-section,
.page-cockfighting__betting-guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__cta-section {
    padding: 80px 0;
}

.page-cockfighting__types-section,
.page-cockfighting__advantages-section,
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: #1A2B42; /* Use main brand color for alternating sections */
}

/* Dark Section Specifics */
.page-cockfighting__dark-section {
    background-color: #121212; /* Ensure these sections match body background */
    color: #ffffff;
}
.page-cockfighting__dark-section .page-cockfighting__section-title::after {
    background-color: #FFD700; /* Gold underline for titles on dark sections */
}

/* HERO Section */
.page-cockfighting__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    padding-bottom: 80px;
    background: linear-gradient(to right, #1A2B42, #121212); /* Gradient background for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-cockfighting__hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #FFD700; /* Gold for hero title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1; /* Make background image subtle */
    overflow: hidden;
}

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

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

.page-cockfighting__feature-card {
    background-color: #1A2B42; /* Midnight blue card background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

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

.page-cockfighting__feature-card img {
    width: 100%;
    
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 8px; /* Slightly rounded corners for images */
}

.page-cockfighting__card-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-cockfighting__feature-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
}

/* Type Grid */
.page-cockfighting__type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__type-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    border: 1px solid rgba(255, 215, 0, 0.3); /* Gold border for visual pop */
}

.page-cockfighting__type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.page-cockfighting__type-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-cockfighting__type-card .page-cockfighting__card-title {
    padding: 20px 20px 0;
    color: #FFD700;
    text-align: left;
}

.page-cockfighting__type-card p {
    padding: 0 20px 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
    text-align: left;
}

/* Betting Types */
.page-cockfighting__betting-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__betting-card {
    background-color: #1A2B42; /* Midnight blue card background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    border: 1px solid #FFD700; /* Gold border */
}

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

.page-cockfighting__betting-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700; /* Gold for betting type titles */
    margin-bottom: 15px;
}

.page-cockfighting__betting-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
}

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

.page-cockfighting__advantage-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-cockfighting__advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.page-cockfighting__advantage-item img {
    width: 100%;
     /* Smaller icons for advantages */
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

.page-cockfighting__advantage-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-cockfighting__advantage-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
}

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

.page-cockfighting__promo-card {
    background-color: #1A2B42; /* Midnight blue card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

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

.page-cockfighting__promo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    padding: 20px 20px 0;
    color: #FFD700;
    text-align: left;
}

.page-cockfighting__promo-card p {
    padding: 0 20px 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
    flex-grow: 1; /* Make sure paragraph takes available space */
    text-align: left;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
    margin: 0 20px 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #1A2B42; /* Midnight blue background for FAQ */
}

.page-cockfighting__faq-list {
    margin-top: 40px;
}

/* FAQ item styles - copied directly from requirements */
.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    color: #e0e0e0; /* Light text for answer */
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #122136; /* Darker blue for active answer background */
    border-radius: 0 0 5px 5px;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for question background */
    border: 1px solid rgba(255, 215, 0, 0.3); /* Gold border */
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cockfighting__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFD700;
}

.page-cockfighting__faq-question:active {
    background: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #FFD700; /* Gold for FAQ questions */
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: #ffffff; /* White for active toggle icon */
    transform: rotate(45deg); /* Rotate for minus sign */
}

/* CTA Section */
.page-cockfighting__cta-section {
    background-color: #1A2B42; /* Midnight blue background */
    text-align: center;
    padding: 80px 0;
}

.page-cockfighting__cta-content {
    max-width: 900px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 40px;
    }
    .page-cockfighting__section-title {
        font-size: 32px;
    }
    .page-cockfighting__sub-title {
        font-size: 24px;
    }
    .page-cockfighting__feature-cards,
    .page-cockfighting__type-grid,
    .page-cockfighting__betting-types,
    .page-cockfighting__advantage-grid,
    .page-cockfighting__promo-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 60px;
    }
    .page-cockfighting__hero-title {
        font-size: 32px;
    }
    .page-cockfighting__hero-description {
        font-size: 18px;
    }
    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}