.page-cockfighting {
    color: #ffffff; /* Default text color for dark body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-cockfighting__center-content {
    text-align: center;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #8B0000;
    margin: 10px auto 0;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-cockfighting__image-content {
    text-align: center;
    margin: 30px 0;
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block; /* Ensures proper spacing and max-width works */
    margin: 0 auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    box-sizing: border-box;
    z-index: 1;
}

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

.page-cockfighting__hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    cursor: pointer;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-cockfighting__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #FFD700;
    color: #ffffff;
    border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

.page-cockfighting__btn-secondary {
    background-color: #8B0000;
    color: #ffffff;
    border: 2px solid #8B0000;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #6b0000;
    border-color: #6b0000;
    transform: translateY(-3px);
}

.page-cockfighting__btn-tertiary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFD700;
    border: 1px solid #FFD700;
}

.page-cockfighting__btn-tertiary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #e6c200;
    transform: translateY(-2px);
}

.page-cockfighting__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Sections */
.page-cockfighting__intro-section,
.page-cockfighting__how-to-play,
.page-cockfighting__security-section,
.page-cockfighting__cta-section {
    padding: 80px 0;
}

.page-cockfighting__features-section,
.page-cockfighting__match-types,
.page-cockfighting__promotions-section {
    padding: 80px 0;
}

.page-cockfighting__dark-bg {
    background-color: #1a1a1a; /* Darker background for sections */
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background-color: #f0f0f0;
    color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
    color: #8B0000;
}

.page-cockfighting__light-bg .page-cockfighting__section-title::after {
    background-color: #FFD700;
}

.page-cockfighting__light-bg .page-cockfighting__text-block {
    color: #333333;
}

/* Features Grid */
.page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-cockfighting__feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-10px);
}

.page-cockfighting__feature-icon {
    width: 100%;
    height: auto;
    max-height: 200px; /* Limit height for feature images */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-cockfighting__feature-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: #555555;
}

/* How to Play List */
.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-cockfighting__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #FFD700;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-cockfighting__list-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__list-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-cockfighting__list-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

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

.page-cockfighting__type-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-cockfighting__type-card:hover {
    transform: translateY(-10px);
}

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

.page-cockfighting__type-title {
    font-size: 1.6em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-cockfighting__type-description {
    font-size: 1em;
    color: #555555;
}

/* Security Section */
.page-cockfighting__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__security-list .page-cockfighting__list-item {
    background-color: transparent;
    border-left: none;
    padding: 15px 0;
    margin-bottom: 10px;
    color: #f0f0f0;
    text-align: left;
    position: relative;
}

.page-cockfighting__security-list .page-cockfighting__list-item::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
    position: absolute;
    left: 0;
}

.page-cockfighting__security-list .page-cockfighting__list-item strong {
    color: #FFD700;
    margin-left: 30px;
}

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

.page-cockfighting__promo-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-10px);
}

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

.page-cockfighting__promo-title {
    font-size: 1.6em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-cockfighting__promo-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
}

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

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #FFD700;
}

.page-cockfighting__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
    content: '−'; /* Change to minus sign */
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
    margin: 0;
    color: #f0f0f0;
    font-size: 1em;
}

.page-cockfighting__faq-section a {
    color: #FFD700;
    text-decoration: underline;
}

.page-cockfighting__faq-section a:hover {
    color: #e6c200;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        height: 70vh;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-cockfighting__hero-buttons,
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-tertiary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__how-to-play,
    .page-cockfighting__match-types,
    .page-cockfighting__security-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding: 60px 0;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    /* Image, Video, and general content container responsive rules */
    .page-cockfighting img,
    .page-cockfighting video,
    .page-cockfighting__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__image-content,
    .page-cockfighting__hero-video-wrapper,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__features-grid,
    .page-cockfighting__type-grid,
    .page-cockfighting__promo-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__promo-card {
        margin-bottom: 20px;
    }
    .page-cockfighting__faq-question,
    .page-cockfighting__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__security-list .page-cockfighting__list-item::before {
        left: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting__hero-buttons {
        gap: 10px;
    }
    .page-cockfighting__btn-large {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__list-title {
        font-size: 1.4em;
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__type-title,
    .page-cockfighting__promo-title {
        font-size: 1.3em;
    }
    .page-cockfighting__faq-question h3 {
        font-size: 1em;
    }
}