/* General page styles for .page-sports scope */
.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main color for the page */
    background-color: #B71C1C; /* Body background from shared.css */
    padding-bottom: 50px; /* Add some padding at the bottom */
}

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

.page-sports__section-title {
    font-size: 38px;
    font-weight: 700;
    color: #FFD86A; /* Gold-like color for main titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-sports__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFD86A 0%, #E6B800 100%);
    border-radius: 2px;
}

.page-sports__sub-title {
    font-size: 28px;
    font-weight: 600;
    color: #F4D34D; /* Gold color */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-sports__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    color: #FFF5E1; /* Text Main */
    text-align: justify;
}

.page-sports__highlight {
    color: #FFD86A; /* Highlight color for important words */
    font-weight: 600;
}

.page-sports__card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #7A0E0E; /* Deep Red border */
    color: #FFF5E1; /* Ensure text is readable on dark card background */
}

.page-sports__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-sports__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
    color: #7A0E0E; /* Deep Red for text on gold button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-sports__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-sports__btn-secondary {
    background: #D32F2F; /* Card BG */
    color: #FFD86A; /* Gold-like color */
    border: 2px solid #F2B544; /* Border color */
    box-shadow: 0 4px 15px rgba(242, 181, 68, 0.2);
}

.page-sports__btn-secondary:hover {
    background: #C91F17; /* Main color */
    color: #FFF5E1; /* Text Main */
    border-color: #FFD86A;
    box-shadow: 0 6px 20px rgba(242, 181, 68, 0.4);
}

/* Image styles */
.page-sports img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 50px;
    text-align: center;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
}

.page-sports__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for desktop hero */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-sports__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 0; /* No border radius for full-width hero */
}

.page-sports__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.page-sports__main-title {
    font-size: clamp(32px, 4vw, 56px); /* Responsive font size */
    font-weight: 900;
    color: #FFD86A;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.page-sports__description {
    font-size: 20px;
    color: #FFF5E1;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.page-sports__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%;
    max-width: 500px; /* Limit width of button group */
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.page-sports__about-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Background color for this section */
    text-align: center;
}

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

.page-sports__feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #D32F2F; /* Card BG */
    padding: 30px;
}

.page-sports__feature-icon {
    width: 100%; /* Ensure image fills card width */
    height: 200px; /* Fixed height for consistency */
    object-fit: contain; /* Ensure full image is visible */
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #F2B544;
}

.page-sports__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #F4D34D; /* Gold color */
    margin-bottom: 10px;
}

.page-sports__feature-description {
    font-size: 16px;
    color: #FFF5E1;
}

/* Why Choose Us Section */
.page-sports__why-choose-us {
    padding: 60px 0;
    background-color: #C91F17; /* Main color as background */
}

.page-sports__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-sports__text-content {
    text-align: left;
}

.page-sports__why-choose-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 2px solid #F2B544;
}

/* Popular Events Section */
.page-sports__popular-events {
    padding: 60px 0;
    background-color: #7A0E0E; /* Deep Red background */
    text-align: center;
}

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

.page-sports__event-card {
    background-color: #D32F2F; /* Card BG */
    padding: 20px;
    text-align: center;
}

.page-sports__event-image {
    width: 100%;
    height: 180px; /* Fixed height for event images */
    object-fit: cover;
    margin-bottom: 15px;
    border: 1px solid #F2B544;
}

.page-sports__event-title {
    font-size: 20px;
    font-weight: 700;
    color: #F4D34D;
    margin-bottom: 10px;
}

.page-sports__event-description {
    font-size: 15px;
    color: #FFF5E1;
}

/* Betting Types Section */
.page-sports__betting-types {
    padding: 60px 0;
    background-color: #C91F17; /* Main color */
}

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

.page-sports__type-card {
    background-color: #D32F2F;
    padding: 25px;
    text-align: center;
}

.page-sports__type-title {
    font-size: 20px;
    font-weight: 700;
    color: #F4D34D;
    margin-bottom: 10px;
}

.page-sports__type-description {
    font-size: 15px;
    color: #FFF5E1;
}

/* Promotions Section */
.page-sports__promotions {
    padding: 60px 0;
    background-color: #E53935; /* Auxiliary color */
    text-align: center;
}

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

.page-sports__promo-card {
    background-color: #D32F2F;
    padding: 25px;
    text-align: center;
}

.page-sports__promo-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    border: 1px solid #F2B544;
}

.page-sports__promo-title {
    font-size: 20px;
    font-weight: 700;
    color: #F4D34D;
    margin-bottom: 10px;
}

.page-sports__promo-description {
    font-size: 15px;
    color: #FFF5E1;
}

.page-sports__cta-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-sports__faq-section {
    padding: 60px 0;
    background-color: #C91F17; /* Main color */
}

.page-sports__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-sports__faq-item {
    margin-bottom: 15px;
    border-radius: 10px; /* Larger radius for consistency */
    border: 1px solid #F2B544; /* Border color */
    overflow: hidden;
    background: #D32F2F; /* Card BG */
}
details.page-sports__faq-item summary.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #FFD86A; /* Gold-like color for question text */
}
details.page-sports__faq-item summary.page-sports__faq-question::-webkit-details-marker {
    display: none;
}
details.page-sports__faq-item summary.page-sports__faq-question:hover {
    background: #7A0E0E; /* Deep Red hover */
}
.page-sports__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFD86A; /* Gold-like color for question text */
}
.page-sports__faq-toggle {
    font-size: 28px; /* Larger toggle */
    font-weight: bold;
    color: #FFD86A;
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 25px 25px;
    background: #7A0E0E; /* Deep Red background for answer */
    border-radius: 0 0 10px 10px;
    color: #FFF5E1; /* Text Main for answer */
}
.page-sports__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #FFF5E1;
}
.page-sports__faq-answer a {
    color: #FFD86A;
    text-decoration: underline;
}
.page-sports__faq-answer a:hover {
    color: #E6B800;
}


/* CTA Bottom Section */
.page-sports__cta-bottom-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Body background color */
    text-align: center;
}

.page-sports__cta-content {
    max-width: 800px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-sports__section-title {
        font-size: 34px;
    }
    .page-sports__main-title {
        font-size: clamp(28px, 5vw, 48px);
    }
    .page-sports__description {
        font-size: 18px;
    }
    .page-sports__content-grid {
        grid-template-columns: 1fr;
    }
    .page-sports__image-content {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-sports__hero-section {
        padding-top: 10px;
        padding-bottom: 30px;
    }
    .page-sports__hero-image-wrapper {
        max-height: 400px;
        margin-bottom: 20px;
    }
    .page-sports__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
    .page-sports__main-title {
        font-size: clamp(28px, 6vw, 42px) !important;
        margin-bottom: 15px;
    }
    .page-sports__description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-sports__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-sports__btn-primary,
    .page-sports__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    /* 通用容器和图片 */
    .page-sports__container {
        padding: 0 15px;
    }
    .page-sports__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-sports__sub-title {
        font-size: 24px;
    }
    .page-sports__text-block {
        font-size: 15px;
    }
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-sports__card,
    .page-sports__section,
    .page-sports__box,
    .page-sports__cta-wrapper,
    .page-sports__features-grid,
    .page-sports__events-grid,
    .page-sports__types-grid,
    .page-sports__promos-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 产品展示图区域 (if any, but this is sports page, so general grids) */
    .page-sports__features-grid,
    .page-sports__events-grid,
    .page-sports__types-grid,
    .page-sports__promos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* Specific for events/promos if they need 2 columns on small screens */
    .page-sports__events-grid,
    .page-sports__promos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 2 columns on mobile if space allows */
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-sports__about-section,
    .page-sports__why-choose-us,
    .page-sports__popular-events,
    .page-sports__betting-types,
    .page-sports__promotions,
    .page-sports__faq-section,
    .page-sports__cta-bottom-section {
        padding: 40px 0;
    }
    .page-sports__text-content {
        text-align: center;
    }
    .page-sports__image-content {
        margin-top: 20px;
    }

    /* FAQ Section mobile */
    details.page-sports__faq-item summary.page-sports__faq-question {
        padding: 15px;
    }
    .page-sports__faq-qtext {
        font-size: 16px;
    }
    .page-sports__faq-toggle {
        font-size: 24px;
        width: 24px;
    }
    details.page-sports__faq-item .page-sports__faq-answer {
        padding: 0 15px 15px;
    }
    .page-sports__faq-answer p {
        font-size: 15px;
    }
}