.page-cockfighting {
    font-family: sans-serif;
    color: #FFFFFF;
    background-color: #100224; /* WOW88 style dark background */
}

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

.page-cockfighting__hero-section {
    background-color: #017439; /* Primary color for hero background */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding to avoid double header offset */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
}

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

.page-cockfighting__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Using clamp for responsive font size, avoiding fixed large values */
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

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

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

.page-cockfighting__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-cockfighting__btn--register {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-cockfighting__btn--register:hover {
    background-color: #a30606;
    transform: translateY(-2px);
}

.page-cockfighting__btn--login {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-cockfighting__btn--login:hover {
    background-color: #a30606;
    transform: translateY(-2px);
}

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

.page-cockfighting__btn--primary:hover {
    background-color: #005f2c;
    transform: translateY(-2px);
}

.page-cockfighting__btn--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-cockfighting__btn--secondary:hover {
    background-color: #FFFFFF;
    color: #017439;
    transform: translateY(-2px);
}

.page-cockfighting__btn--small {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    background-color: #017439;
    color: #FFFFFF;
    border: none;
}

.page-cockfighting__btn--small:hover {
    background-color: #005f2c;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #FFFFFF;
    line-height: 1.3;
}

.page-cockfighting__section-description {
    text-align: center;
    font-size: 1.05rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__about-section {
    padding: 60px 0;
    background-color: #1a083a; /* Slightly lighter dark for section */
}

.page-cockfighting__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-cockfighting__text-content {
    flex: 1;
}

.page-cockfighting__text-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-cockfighting__image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.page-cockfighting__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cockfighting__features-section {
    padding: 60px 0;
    background-color: #100224;
}

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

.page-cockfighting__feature-card {
    background-color: #1a083a;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-icon {
    width: 100%; /* Ensure images are not small */
    max-width: 200px; /* Example max-width, actual width from HTML */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-cockfighting__feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.page-cockfighting__game-types-section {
    padding: 60px 0;
    background-color: #1a083a;
}

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

.page-cockfighting__game-type-card {
    background-color: #100224;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__game-type-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency, will be object-fit */
    object-fit: cover;
    display: block;
}

.page-cockfighting__game-type-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #FFFFFF;
    padding: 0 20px;
}

.page-cockfighting__game-type-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    padding: 0 20px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-cockfighting__game-type-card .page-cockfighting__btn--small {
    margin: 0 20px 20px;
}

.page-cockfighting__how-to-play-section {
    padding: 60px 0;
    background-color: #100224;
}

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

.page-cockfighting__step-card {
    background-color: #1a083a;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 60px;
}

.page-cockfighting__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #017439;
    color: #FFFFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 3px solid #100224;
}

.page-cockfighting__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-cockfighting__step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.page-cockfighting__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-cockfighting__promotions-section {
    padding: 60px 0;
    background-color: #1a083a;
}

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

.page-cockfighting__promotion-card {
    background-color: #100224;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__promotion-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__promotion-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #FFFFFF;
    padding: 0 20px;
}

.page-cockfighting__promotion-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    padding: 0 20px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-cockfighting__promotion-card .page-cockfighting__btn--small {
    margin: 0 20px 20px;
}

.page-cockfighting__cta-promotions {
    text-align: center;
    margin-top: 50px;
}

.page-cockfighting__latest-news-section {
    padding: 60px 0;
    background-color: #100224;
}

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

.page-cockfighting__news-card {
    background-color: #1a083a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-cockfighting__news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-cockfighting__news-title a {
    color: #FFFFFF;
    text-decoration: none;
}

.page-cockfighting__news-title a:hover {
    color: #017439;
}

.page-cockfighting__news-meta {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 15px;
}

.page-cockfighting__news-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-cockfighting__read-more {
    display: inline-block;
    color: #017439;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-cockfighting__read-more:hover {
    color: #FFFFFF;
}

.page-cockfighting__cta-news {
    text-align: center;
    margin-top: 50px;
}

.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: #1a083a;
}

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

.page-cockfighting__faq-item {
    background-color: #100224;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
    width: 100%;
    background-color: #017439;
    color: #FFFFFF;
    padding: 18px 25px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
    background-color: #005f2c;
}

.page-cockfighting__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 0 25px;
    background-color: #1a083a;
    color: #e0e0e0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-answer.open {
    max-height: 200px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-cockfighting__faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.page-cockfighting__cta-faq {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-cockfighting__content-grid {
        flex-direction: column;
    }

    .page-cockfighting__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .page-cockfighting__hero-description {
        font-size: 1rem;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__game-types-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promotions-grid,
    .page-cockfighting__news-grid {
        grid-template-columns: 1fr;
    }

    /* Ensure content images do not overflow on mobile */
    .page-cockfighting__hero-image,
    .page-cockfighting__image,
    .page-cockfighting__feature-icon,
    .page-cockfighting__game-type-image,
    .page-cockfighting__promotion-image,
    .page-cockfighting__news-image {
        max-width: 100%;
        height: auto;
    }
    
    .page-cockfighting__feature-icon {
        max-width: 150px; /* Example, ensuring it's still > 200px if original is larger */
    }

    /* Explicitly prevent images in content areas from being too small */
    .page-cockfighting__about-section img,
    .page-cockfighting__features-section img,
    .page-cockfighting__game-types-section img,
    .page-cockfighting__promotions-section img,
    .page-cockfighting__latest-news-section img {
        min-width: 200px;
        min- /* Adjust height based on aspect ratio to keep it > 200px in one dimension */
        object-fit: cover;
    }

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