.page-cockfighting {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, main offset handled by body */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    background-color: #111111; /* Card BG */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-top: -80px; /* Pull content up slightly over image */
    position: relative;
    z-index: 1;
    border: 1px solid #3A2A12; /* Border */
}

.page-cockfighting__main-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #F2C14E, #FFD36B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers not supporting text-fill-color */
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__intro-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 10px #FFD36B; /* Glow */
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px #FFD36B;
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #F2C14E, #FFD36B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.page-cockfighting__about-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__types-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
}

.page-cockfighting__content-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.page-cockfighting__text-block {
    flex: 1;
    font-size: 1rem;
    color: #FFF6D6;
}

.page-cockfighting__image-right {
    flex: 1;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__step-item {
    background-color: #111111; /* Card BG */
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #3A2A12;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__step-item p {
    font-size: 0.95rem;
    color: #FFF6D6;
}

.page-cockfighting__cta-button--small {
    margin-top: 30px;
}

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

.page-cockfighting__card {
    background-color: #111111; /* Card BG */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #3A2A12;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting__card-title {
    font-size: 1.4rem;
    color: #F2C14E;
    padding: 15px 20px 10px;
}

.page-cockfighting__card-description {
    font-size: 0.95rem;
    color: #FFF6D6;
    padding: 0 20px 15px;
}

.page-cockfighting__card-link {
    display: block;
    text-align: center;
    padding: 10px 20px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
    transition: background 0.3s ease;
}

.page-cockfighting__card-link:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
}

.page-cockfighting__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-cockfighting__benefit-item {
    background-color: #111111; /* Card BG */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3A2A12;
    font-size: 1rem;
    color: #FFF6D6;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__benefit-item::before {
    content: '✅';
    font-size: 1.2em;
    color: #FFD36B;
}

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

.page-cockfighting__accordion {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__accordion-item {
    margin-bottom: 15px;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    overflow: hidden;
    background-color: #111111; /* Card BG */
}

.page-cockfighting__accordion-header {
    background-color: #111111; /* Card BG */
    color: #F2C14E;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-cockfighting__accordion-header:hover {
    background-color: #0A0A0A;
}

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

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

.page-cockfighting__accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #0A0A0A;
    color: #FFF6D6;
}

.page-cockfighting__accordion-content p {
    padding: 15px 0;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
    }
    .page-cockfighting__content-wrapper {
        flex-direction: column;
    }
    .page-cockfighting__image-right {
        order: -1; /* Image appears above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-content {
        padding: 30px 15px;
        margin-top: -40px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
    .page-cockfighting__intro-text {
        font-size: 1rem;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    .page-cockfighting__steps-list,
    .page-cockfighting__cards-grid,
    .page-cockfighting__benefits-list {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__card-image, .page-cockfighting__image-right, .page-cockfighting__hero-image {
        max-width: 100%;
        height: auto;
    }
    /* Ensure all images within .page-cockfighting are responsive and don't overflow */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px; /* Enforce minimum size */
    }
    .page-cockfighting__card-image {
        height: 200px; /* Adjust card image height for mobile */
    }
    .page-cockfighting__accordion-header {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__accordion-content p {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        margin-top: -20px;
    }
    .page-cockfighting__cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .page-cockfighting__step-item,
    .page-cockfighting__benefit-item {
        padding: 15px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2rem;
    }
}