/* style/cockfighting.css */
.page-cockfighting {
    background-color: #100224; /* Dark background as per WOW88 style */
    color: #FFFFFF; /* White text on dark background */
    font-family: Arial, sans-serif; /* Roboto气质 - Arial is a good fallback */
}

/* Fixed Header Spacing */
/* body padding-top is handled by shared.css */
.page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding for the first section */
    padding-bottom: 40px;
    position: relative;
    overflow: hidden; /* Ensure hero image doesn't overflow */
}

.page-cockfighting__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio for hero image */
    overflow: hidden;
}

.page-cockfighting__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-cockfighting__hero-content {
    max-width: 960px;
    margin: 40px auto 0;
    text-align: center;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #26A9E0; /* Main color for h1 */
    margin-bottom: 20px;
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-cockfighting__cta-button {
    display: inline-block;
    background-color: #EA7C07; /* Login color for CTA */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.page-cockfighting__cta-button:hover {
    background-color: #d16b06; /* Slightly darker orange */
}

.page-cockfighting__introduction-section,
.page-cockfighting__game-types-section,
.page-cockfighting__why-choose-us-section,
.page-cockfighting__tips-section,
.page-cockfighting__responsible-gambling-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #1a0a38; /* Slightly lighter dark for sections */
    margin-bottom: 20px; /* Separator between sections */
}

.page-cockfighting__container {
    max-width: 1100px;
    margin: 0 auto;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #26A9E0; /* Main color for section titles */
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-cockfighting__paragraph {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__card,
.page-cockfighting__tip-item {
    background-color: #100224; /* Darker background for cards */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure button is at bottom */
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__card-title,
.page-cockfighting__feature-title,
.page-cockfighting__tip-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.page-cockfighting__card-description,
.page-cockfighting__feature-description,
.page-cockfighting__tip-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #CCCCCC;
    flex-grow: 1; /* Allow description to take available space */
    margin-bottom: 20px;
}

.page-cockfighting__card-button {
    display: inline-block;
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Align button to start of card text */
}

.page-cockfighting__card-button:hover {
    background-color: #1f8bc7; /* Slightly darker blue */
}

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

.page-cockfighting__feature-item {
    background-color: #100224;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-wrapper {
    margin-top: 50px;
}

.page-cockfighting__secondary-cta-button {
    display: inline-block;
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.page-cockfighting__secondary-cta-button:hover {
    background-color: #1f8bc7; /* Slightly darker blue */
}

.page-cockfighting__responsible-gambling-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
}

.page-cockfighting__responsible-gambling-link {
    display: inline-block;
    color: #26A9E0;
    text-decoration: underline;
    margin-top: 20px;
    font-weight: 600;
}

.page-cockfighting__responsible-gambling-link:hover {
    color: #1f8bc7; /* Slightly darker blue */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-cockfighting__hero-content {
        margin-top: 20px;
    }

    .page-cockfighting__main-title {
        font-size: 2em; /* Smaller h1 for mobile */
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__game-types-section,
    .page-cockfighting__why-choose-us-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__responsible-gambling-section {
        padding: 40px 15px;
    }

    /* Ensure images in content area are responsive and not too small */
    .page-cockfighting img {
        max-width: 100%;
        height: auto;
    }

    .page-cockfighting__card-image {
        height: auto; /* Allow height to adjust */
        min-height: 200px; /* Enforce min height for content images */
    }

    /* Specific rule for content images to ensure min size */
    .page-cockfighting__card-image,
    .page-cockfighting__responsible-gambling-image {
        min-width: 200px;
        min-height: 200px;
    }

    .page-cockfighting__card-grid,
    .page-cockfighting__feature-list,
    .page-cockfighting__tips-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
}

/* Ensure color contrast for all text elements */
.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3,
.page-cockfighting p,
.page-cockfighting li,
.page-cockfighting a {
    color: #FFFFFF;
}

/* Specific overrides for better contrast */
.page-cockfighting__hero-description,
.page-cockfighting__paragraph,
.page-cockfighting__card-description,
.page-cockfighting__feature-description,
.page-cockfighting__tip-description {
    color: #CCCCCC;
}

.page-cockfighting__cta-button,
.page-cockfighting__secondary-cta-button {
    color: #FFFFFF;
}
.page-cockfighting__responsible-gambling-link {
    color: #26A9E0;
}