.page-cockfighting {
    background-color: #08160F;
    color: #F2FFF6;
    font-family: Arial, sans-serif;
}

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

.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, relies on body padding-top */
    position: relative;
    overflow: hidden;
    background-color: #08160F;
}

.page-cockfighting__hero-image-container {
    width: 100%;
    max-height: 675px; /* Limit height for aesthetic */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
    color: #F2FFF6;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold for main title */
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-cockfighting__hero-buttons {
    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;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-cockfighting__btn--primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-cockfighting__btn--secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    color: #F2FFF6;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #F2C14E;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
    border-top: 1px solid #1E3A2A;
}

.page-cockfighting__text-content {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #A7D9B8;
    text-align: justify;
}

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

.page-cockfighting__card {
    background-color: #11271B;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #2E7A4E;
}

.page-cockfighting__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F2FFF6;
    margin-bottom: 15px;
}

.page-cockfighting__card-description {
    font-size: 0.95rem;
    color: #A7D9B8;
    line-height: 1.6;
}

.page-cockfighting__section-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 2px solid #2E7A4E;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__list-item {
    background-color: #11271B;
    border-left: 5px solid #2AD16F;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
    font-size: 1.3rem;
    color: #F2FFF6;
    margin-bottom: 10px;
}

.page-cockfighting__list-item p {
    font-size: 1rem;
    color: #A7D9B8;
    line-height: 1.6;
}

.page-cockfighting__cta-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

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

.page-cockfighting__tip-card {
    padding: 25px;
    border-radius: 10px;
}

.page-cockfighting__tip-card .page-cockfighting__card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-cockfighting__tip-card .page-cockfighting__card-description {
    font-size: 0.95rem;
    color: #A7D9B8;
}

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

.page-cockfighting__faq-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    font-size: 1.2rem;
    color: #F2FFF6;
    padding: 18px 25px;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0A4B2C;
    transition: background-color 0.3s ease;
}

.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;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #11271B;
}

.page-cockfighting__faq-answer.active {
    max-height: 200px; /* Adjust based on content */
    padding: 15px 25px;
}

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

.page-cockfighting__faq-answer a {
    color: #2AD16F;
    text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }

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

    .page-cockfighting__description {
        font-size: 1rem;
    }

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

    .page-cockfighting__btn {
        width: 100%;
        padding: 10px 20px;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__features-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section {
        padding: 40px 0;
    }

    .page-cockfighting__feature-grid,
    .page-cockfighting__tips-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__card-image {
        height: 200px;
    }

    .page-cockfighting__card-title {
        font-size: 1.3rem;
    }

    .page-cockfighting__list-title {
        font-size: 1.15rem;
    }

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

    .page-cockfighting__faq-answer.active {
        padding: 10px 20px;
    }

    .page-cockfighting__container img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-buttons {
        gap: 10px;
    }
    .page-cockfighting__btn {
        font-size: 0.9rem;
    }
    .page-cockfighting__card-image {
        height: 180px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__list-item {
        padding: 15px 20px;
    }
    .page-cockfighting__list-title {
        font-size: 1.1rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
    }
}

/* Ensure content area images are not too small */
.page-cockfighting img:not(.page-cockfighting__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
    }
}