/* General styles for the cockfighting page */
.page-cockfighting {
    background-color: #0A0A0A; /* Background color */
    color: #FFF6D6; /* Main text color */
    font-family: Arial, sans-serif; /* Roboto气质 - using Arial as a fallback */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on main content */
}

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

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 3rem); /* Responsive font size */
    color: #F2C14E; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    background: linear-gradient(to right, #F2C14E, #FFD36B); /* Gold to Orange gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Hero Section */
.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile first */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding to avoid header overlap */
    background-color: #100224; /* Deep purple-black */
    position: relative;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9; /* Maintain aspect ratio */
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-cockfighting__hero-content {
    padding: 40px 15px;
    max-width: 900px;
    z-index: 1; /* Ensure content is above any background elements if layered */
    position: relative; /* For proper stacking context if needed */
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Auxiliary color for main title */
}

.page-cockfighting__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: #FFF6D6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4); /* Glow effect */
    border: none;
    cursor: pointer;
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    background-color: #0A0A0A;
    padding: 60px 0;
}

.page-cockfighting__text-content {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #FFF6D6;
}

.page-cockfighting__image-text-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.page-cockfighting__image-text-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    flex: 1 1 calc(50% - 30px); /* Two columns on larger screens */
    box-sizing: border-box;
}

.page-cockfighting__image-text-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__item-title {
    font-size: 1.5rem;
    color: #FFD36B;
    margin-bottom: 10px;
}

.page-cockfighting__item-description {
    font-size: 1rem;
    color: #FFF6D6;
}

/* How To Play Section */
.page-cockfighting__how-to-play-section {
    background-color: #111111; /* Card BG for this section */
    padding: 60px 0;
}

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

.page-cockfighting__step-item {
    background-color: #0A0A0A; /* Background */
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
}

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

.page-cockfighting__step-description {
    font-size: 1rem;
    color: #FFF6D6;
}

/* Features & Benefits Section */
.page-cockfighting__features-benefits-section {
    background-color: #0A0A0A;
    padding: 60px 0;
}

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

.page-cockfighting__benefit-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__card-description {
    font-size: 1rem;
    color: #FFF6D6;
}

.page-cockfighting__benefits-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: #111111;
    padding: 60px 0;
}

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

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

.page-cockfighting__faq-question {
    font-size: 1.25rem;
    color: #F2C14E;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate interactivity */
}

.page-cockfighting__faq-answer {
    font-size: 1rem;
    color: #FFF6D6;
    display: block; /* Ensure it's always visible for now, JS can toggle */
}

.page-cockfighting__cta-link {
    display: block;
    text-align: center;
    font-size: 1.1rem;
    color: #FFD36B;
    text-decoration: none;
    margin-top: 30px;
    transition: color 0.3s ease;
}

.page-cockfighting__cta-link:hover {
    color: #F2C14E;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-cockfighting__hero-section {
        flex-direction: column; /* Ensure column layout on mobile */
        padding-top: 10px; /* Keep small padding top */
    }

    .page-cockfighting__hero-image {
        aspect-ratio: 4/3; /* Adjust aspect ratio for mobile hero */
    }

    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust H1 size for smaller screens */
    }

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

    .page-cockfighting__image-text-grid {
        flex-direction: column;
    }

    .page-cockfighting__image-text-item {
        flex: 1 1 100%; /* Single column on small screens */
    }

    .page-cockfighting__step-list {
        grid-template-columns: 1fr; /* Single column for steps */
    }

    .page-cockfighting__benefits-grid {
        grid-template-columns: 1fr; /* Single column for benefits */
    }

    /* Ensure all content images are responsive and don't overflow */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    /* Specific rule for content images to prevent overflow */
    .page-cockfighting__introduction-section img,
    .page-cockfighting__features-benefits-section img {
        max-width: 100% !important;
        height: auto !important;
    }
}