.page-cockfighting {
    background-color: #FFFFFF;
    color: #333333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding to respect shared header */
}

.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px 40px;
    background-color: #017439;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-cockfighting__hero-visual {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__hero-content {
    max-width: 800px;
    width: 100%;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__intro-text {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0;
}

.page-cockfighting__btn-cta {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #ff9500, #ff5e3a);
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.page-cockfighting__btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-cta--register {
    background: #C30808; /* Specific color for register/login type buttons */
    color: #FFFF00; /* Specific font color for register/login buttons */
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #017439;
    padding: 0 15px;
}

.page-cockfighting__section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.page-cockfighting__why-choose-us,
.page-cockfighting__guide-section,
.page-cockfighting__games-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-cockfighting__why-choose-us {
    background-color: #f8f8f8;
}

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

.page-cockfighting__feature-item,
.page-cockfighting__step-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-item:hover,
.page-cockfighting__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__feature-icon,
.page-cockfighting__step-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too small */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 150px; /* Ensure minimum display size */
}

.page-cockfighting__feature-title,
.page-cockfighting__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
}

.page-cockfighting__feature-description,
.page-cockfighting__step-description {
    font-size: 1rem;
    color: #555555;
}

.page-cockfighting__games-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-cockfighting__game-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__game-image {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px;
    min-height: 150px; /* Ensure minimum display size */
    transition: transform 0.5s ease;
}

.page-cockfighting__game-card:hover .page-cockfighting__game-image {
    transform: scale(1.05);
}

.page-cockfighting__game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    padding: 20px 15px 15px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.page-cockfighting__promotions-section {
    background-color: #e0f2e0;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.page-cockfighting__promo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-cockfighting__promo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 113px; /* Based on 800x450 ratio */
}

.page-cockfighting__promo-details {
    max-width: 600px;
}

.page-cockfighting__promo-title {
    font-size: 2rem;
    color: #017439;
    margin-bottom: 15px;
}

.page-cockfighting__promo-description {
    font-size: 1.1rem;
    color: #444444;
    margin-bottom: 25px;
}

.page-cockfighting__faq-section {
    background-color: #FFFFFF;
}

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

.page-cockfighting__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #017439;
    padding: 18px 25px;
    cursor: pointer;
    position: relative;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eaf7ea;
    border-bottom: 1px solid #dddddd;
}

.page-cockfighting__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: normal;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.is-active .page-cockfighting__faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-cockfighting__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #555555;
}

.page-cockfighting__faq-item.is-active .page-cockfighting__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px 25px;
}

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

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-cockfighting__hero-section {
        flex-direction: row;
        text-align: left;
        padding: 60px 40px;
        gap: 40px;
    }

    .page-cockfighting__hero-visual {
        flex: 1;
        margin-bottom: 0;
    }

    .page-cockfighting__hero-content {
        flex: 1;
        text-align: left;
    }

    .page-cockfighting__promo-content {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .page-cockfighting__promo-image {
        flex: 1;
        max-width: 50%;
    }

    .page-cockfighting__promo-details {
        flex: 1;
    }
}

@media (max-width: 849px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-cockfighting__intro-text {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }
    .page-cockfighting__btn-cta {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
    .page-cockfighting__why-choose-us,
    .page-cockfighting__guide-section,
    .page-cockfighting__games-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section {
        padding: 40px 15px;
    }
    .page-cockfighting__feature-icon, .page-cockfighting__step-image, .page-cockfighting__game-image, .page-cockfighting__promo-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 150px; /* Ensure minimum display size */
    }
}

@media (max-width: 549px) {
    .page-cockfighting__hero-section {
        padding: 30px 10px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-cockfighting__intro-text {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
    }
    .page-cockfighting__btn-cta {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__games-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    .page-cockfighting__feature-item,
    .page-cockfighting__step-item {
        padding: 20px;
    }
    .page-cockfighting__promo-content {
        flex-direction: column;
    }
    .page-cockfighting__promo-title {
        font-size: 1.5rem;
    }
    .page-cockfighting__promo-description {
        font-size: 0.95rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 10px 20px 20px;
    }
    .page-cockfighting__faq-item.is-active .page-cockfighting__faq-answer {
        max-height: 300px; /* Adjust as needed for smaller screens */
    }
    .page-cockfighting__feature-icon, .page-cockfighting__step-image, .page-cockfighting__game-image, .page-cockfighting__promo-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 150px; /* Ensure minimum display size */
    }
}

/* Ensure content images do not display smaller than 200px */
.page-cockfighting img {
    max-width: 100%; /* Important for responsiveness */
    height: auto;
    box-sizing: border-box;
}
.page-cockfighting__hero-section img,
.page-cockfighting__why-choose-us img,
.page-cockfighting__guide-section img,
.page-cockfighting__games-section img,
.page-cockfighting__promotions-section img {
    min-width: 200px;
    min- /* Adjusted to be flexible but meet minimum for landscape-oriented images */
}

/* Override default colors for specific elements if needed, based on the provided palette */
/* Example: .page-cockfighting__some-element { color: #017439; background-color: #FFFFFF; } */