.page-cockfighting {
    font-family: 'Roboto', sans-serif;
    background-color: #100224; /* Deep purple-black background */
    color: #FFFFFF; /* White text for contrast */
    line-height: 1.6;
    padding-bottom: 20px; /* Small padding at bottom of main */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Default to column for mobile first */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding for the first section */
    overflow: hidden; /* Prevent content overflow */
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/5; /* Responsive aspect ratio */
}

.page-cockfighting__hero-content {
    padding: 30px 15px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    width: 100%;
    box-sizing: border-box;
}

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

.page-cockfighting__hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-cockfighting__hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cockfighting__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 200px; /* Ensure buttons are large enough */
    text-align: center;
    box-sizing: border-box;
    font-size: 1rem;
}

.page-cockfighting__btn--primary {
    background: linear-gradient(90deg, #ff9500, #ff5e3a); /* Orange-red gradient */
    color: #FFFFFF;
    border: none;
}

.page-cockfighting__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 94, 58, 0.4);
}

.page-cockfighting__btn--secondary {
    background-color: #017439; /* Primary brand color */
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-cockfighting__btn--secondary:hover {
    background-color: #005f2c; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(1, 116, 57, 0.4);
}

/* Section General Styling */
.page-cockfighting__introduction-section,
.page-cockfighting__game-types-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__advantages-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__introduction-section {
    background-color: #1a043d; /* Slightly lighter dark background */
}

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #FFFFFF;
    /* Optional gradient for important H2 titles */
    background: linear-gradient(90deg, #ff9500, #ff5e3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers that don't support background-clip: text */
}

.page-cockfighting__paragraph {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
    color: #e0e0e0;
}

.page-cockfighting__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* List Styling */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__list-item {
    background-color: rgba(1, 116, 57, 0.15); /* Light green background for list items */
    border-left: 5px solid #017439;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.05rem;
    color: #e0e0e0;
}

.page-cockfighting__list-item strong {
    color: #ff9500; /* Highlight important text */
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
    background-color: #1a043d;
}

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

.page-cockfighting__step-item {
    background-color: #100224;
    border: 1px solid rgba(1, 116, 57, 0.3);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-cockfighting__step-description {
    font-size: 0.95rem;
    color: #c0c0c0;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take available space */
}

.page-cockfighting__btn--small {
    padding: 8px 15px;
    font-size: 0.9rem;
    min-width: unset;
    margin-top: auto; /* Push buttons to the bottom */
}

.page-cockfighting__btn--register,
.page-cockfighting__btn--deposit,
.page-cockfighting__btn--play,
.page-cockfighting__btn--withdraw,
.page-cockfighting__btn--download {
    background-color: #C30808; /* Red for specific action buttons */
    color: #FFFF00; /* Yellow font for specific action buttons */
    border: 2px solid #C30808;
}

.page-cockfighting__btn--register:hover,
.page-cockfighting__btn--deposit:hover,
.page-cockfighting__btn--play:hover,
.page-cockfighting__btn--withdraw:hover,
.page-cockfighting__btn--download:hover {
    background-color: #a10707; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(195, 8, 8, 0.4);
}


/* Advantages Section */
.page-cockfighting__advantages-section {
    background-color: #1a043d;
}

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

.page-cockfighting__advantage-card {
    background-color: #100224;
    border: 1px solid rgba(1, 116, 57, 0.3);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__card-image {
    width: 100%;
    max-width: 250px; /* Constrain image size within card */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #017439; /* Primary brand color for card titles */
}

.page-cockfighting__card-description {
    font-size: 0.95rem;
    color: #c0c0c0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #1a043d;
}

.page-cockfighting__faq-item {
    background-color: #100224;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff9500;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate it's clickable */
    position: relative;
    padding-right: 30px;
}

.page-cockfighting__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    font-size: 1rem;
    color: #e0e0e0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-top: 0;
}

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

/* Call to Action Section */
.page-cockfighting__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #017439; /* Primary brand color for strong CTA */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
    color: #FFFFFF;
    background: none;
    -webkit-text-fill-color: initial;
    text-fill-color: initial;
}

.page-cockfighting__cta-section .page-cockfighting__paragraph {
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-cockfighting__btn--large {
    padding: 15px 40px;
    font-size: 1.15rem;
    min-width: 250px;
    background: linear-gradient(90deg, #ff9500, #ff5e3a);
    color: #FFFFFF;
}

.page-cockfighting__btn--large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 94, 58, 0.5);
}

/* Responsive adjustments */
@media (min-width: 850px) {
    .page-cockfighting__hero-section {
        flex-direction: column; /* Keep column for consistency with image-above-text */
        padding-bottom: 0;
    }

    .page-cockfighting__hero-content {
        padding: 40px 15px;
        background-color: transparent; /* No overlay on desktop if text is below image */
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-image,
    .page-cockfighting__image,
    .page-cockfighting__card-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum size is met even with max-width */
        min-height: 200px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-cockfighting__hero-description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

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

    .page-cockfighting__hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

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

    .page-cockfighting__steps-list,
    .page-cockfighting__grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1rem;
    }

    .page-cockfighting__faq-answer {
        font-size: 0.95rem;
    }
}

@media (max-width: 549px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }

    .page-cockfighting__hero-description {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }

    .page-cockfighting__btn--large {
        min-width: unset;
        width: 90%;
    }
}

/* Specific button colors for Register/Login font */
.page-cockfighting__btn--register,
.page-cockfighting__btn--login {
    color: #FFFF00;
}