/* General Styles */
.page-sports {
    font-family: 'Arial', sans-serif;
    color: #FFF5E1; /* Text Main */
    background-color: #B71C1C; /* Background */
    line-height: 1.6;
}

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

.page-sports__container--center {
    text-align: center;
}

.page-sports__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-sports__section-title {
    font-size: 38px;
    font-weight: 700;
    color: #F4D34D; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-sports__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #FFF5E1;
}

.page-sports p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
    padding-bottom: 80px;
    min-height: 600px;
    overflow: hidden;
    background-color: #7A0E0E; /* Deep Red */
}

.page-sports__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-sports__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-sports__main-title {
    font-size: clamp(32px, 4.5vw, 60px);
    font-weight: 800;
    color: #FFCC66; /* Glow */
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.page-sports__intro-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #FFF5E1;
}

.page-sports__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.page-sports__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #333333; /* Dark text for contrast on gold */
    border: 2px solid #F2B544; /* Border color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-sports__btn-secondary {
    background: #C91F17; /* Main color */
    color: #ffffff; /* White text for contrast */
    border: 2px solid #E53935; /* Auxiliary color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #E53935;
}

/* Content Grid */
.page-sports__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-sports__content-grid--reverse {
    direction: rtl;
}

.page-sports__content-grid--reverse > .page-sports__image-wrapper {
    direction: ltr;
}

.page-sports__image-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__image-wrapper--center {
    text-align: center;
    margin: 40px auto 0;
    max-width: 800px;
}

.page-sports__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-sports__text-block h3 {
    font-size: 28px;
    color: #F4D34D; /* Gold */
    margin-bottom: 15px;
}

.page-sports__text-block p {
    color: #FFF5E1;
}

.page-sports__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Game Types Section */
.page-sports__game-types {
    background-color: #7A0E0E; /* Deep Red */
}

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

.page-sports__type-card {
    background: #D32F2F; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-sports__card-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFCC66; /* Glow */
    margin-bottom: 15px;
}

.page-sports__type-card p {
    color: #FFF5E1;
}

/* Promotions Section */
.page-sports__promotions {
    background-color: #B71C1C; /* Background */
}

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

.page-sports__promo-card {
    background: #D32F2F; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-sports__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-sports__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-sports__promo-card .page-sports__card-title {
    padding: 0 15px;
    margin-bottom: 10px;
}

.page-sports__promo-card p {
    padding: 0 15px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #FFF5E1;
}

.page-sports__promo-card .page-sports__btn-secondary {
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.page-sports__why-choose-us {
    background-color: #7A0E0E; /* Deep Red */
}

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

.page-sports__feature-item {
    background: #D32F2F; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-sports__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFCC66; /* Glow */
    margin-bottom: 15px;
}

.page-sports__feature-item p {
    color: #FFF5E1;
}

/* FAQ Section */
.page-sports__faq-section {
    background-color: #B71C1C; /* Background */
}

.page-sports__faq-list {
    margin-top: 40px;
}

details.page-sports__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #F2B544; /* Border */
    overflow: hidden;
    background: #D32F2F; /* Card BG */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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;
}

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: #E53935; /* Auxiliary color */
}

.page-sports__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF5E1; /* Text Main */
}

.page-sports__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #FFCC66; /* Glow */
    flex-shrink: 0;
    margin-left: 20px;
    width: 30px;
    text-align: center;
}

details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 25px 25px;
    background: #7A0E0E; /* Deep Red */
    border-radius: 0 0 10px 10px;
    color: #FFF5E1;
    font-size: 15px;
}

/* Final CTA Section */
.page-sports__cta-final {
    background-color: #C91F17; /* Main color */
    padding: 80px 0;
}

.page-sports__cta-final .page-sports__section-title {
    color: #FFF5E1; /* Text Main */
    text-shadow: none;
}

.page-sports__cta-final .page-sports__section-description {
    color: #FFF5E1;
    margin-bottom: 50px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-sports__section-title {
        font-size: 32px;
    }
    .page-sports__section-description {
        font-size: 16px;
    }
    .page-sports__main-title {
        font-size: clamp(28px, 4vw, 50px);
    }
    .page-sports__intro-description {
        font-size: 18px;
    }
    .page-sports__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-sports__content-grid--reverse {
        direction: ltr; /* Reset for smaller screens */
    }
    .page-sports__content-grid--reverse > .page-sports__image-wrapper {
        order: -1; /* Image first on reverse layout for mobile */
    }
    .page-sports__type-card, .page-sports__feature-item {
        padding: 25px;
    }
    .page-sports__card-title {
        font-size: 22px;
    }
    .page-sports__promo-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-sports__section {
        padding: 40px 0;
    }
    .page-sports__container {
        padding: 0 15px;
    }
    .page-sports__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-sports__section-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-sports p {
        font-size: 15px;
    }

    /* Hero Section */
    .page-sports__hero-section {
        padding-top: 10px;
        padding-bottom: 60px;
        min-height: 450px;
    }
    .page-sports__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
    .page-sports__hero-content {
        padding: 15px;
    }
    .page-sports__main-title {
        font-size: clamp(24px, 7vw, 40px);
        margin-bottom: 15px;
    }
    .page-sports__intro-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-sports__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    /* Buttons */
    .page-sports__btn-primary,
    .page-sports__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Content Grid */
    .page-sports__content-grid {
        gap: 25px;
        margin-bottom: 25px;
    }
    .page-sports__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0;
    }
    .page-sports__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Game Types Section */
    .page-sports__types-grid {
        gap: 20px;
        margin-top: 25px;
    }
    .page-sports__type-card {
        padding: 20px;
    }
    .page-sports__card-title {
        font-size: 20px;
    }

    /* Promotions Section */
    .page-sports__promotions-grid {
        gap: 20px;
        margin-top: 25px;
    }
    .page-sports__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-sports__promo-image {
        height: 160px;
    }
    .page-sports__promo-card p {
        font-size: 14px;
    }

    /* Why Choose Us Section */
    .page-sports__features-grid {
        gap: 20px;
        margin-top: 25px;
    }
    .page-sports__feature-item {
        padding: 20px;
    }
    .page-sports__feature-title {
        font-size: 20px;
    }

    /* FAQ Section */
    .page-sports__faq-list {
        margin-top: 25px;
    }
    details.page-sports__faq-item summary.page-sports__faq-question {
        padding: 15px 20px;
    }
    .page-sports__faq-qtext {
        font-size: 16px;
    }
    .page-sports__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 25px;
    }
    details.page-sports__faq-item .page-sports__faq-answer {
        padding: 0 20px 20px;
    }

    /* Final CTA Section */
    .page-sports__cta-final {
        padding: 60px 0;
    }
    .page-sports__cta-final .page-sports__section-description {
        margin-bottom: 30px;
    }
}