:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-color-light: #ffffff; /* For dark backgrounds */
    --text-color-dark: #333333; /* For light backgrounds */
    --background-light: #f8f8f8;
    --background-dark: #1a1a1a;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

/* Ensure content is not hidden by fixed header */
.page-sports__hero-banner {
    padding-top: 120px; /* Adjust based on shared header height */
}

.page-sports__intro-section {
    padding-top: 60px; /* Standard padding for sections */
}

.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default text color for body background, assuming dark */
    background-color: var(--background-dark); /* Assuming shared.css sets a dark background */
}

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

.page-sports__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.page-sports__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color-light);
}

.page-sports__section-description .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-sports__card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark); /* Card content is dark text on light background */
}

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

.page-sports__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-sports__card-link {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.page-sports__card-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-sports__card-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color-dark);
}

.page-sports__card-text .highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-sports__text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-sports__text-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-sports__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.page-sports__btn-primary {
    background: var(--primary-color);
    color: var(--text-color-dark);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-sports__btn-primary:hover {
    background: #e6c200;
    color: var(--text-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-sports__btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color-light);
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.3);
}

.page-sports__btn-secondary:hover {
    background: #a00000;
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 0, 0, 0.4);
}

/* HERO Section */
.page-sports__hero-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--background-dark) 100%);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
    text-align: center;
    color: var(--text-color-light);
}

.page-sports__hero-banner .page-sports__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-sports__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
    font-size: 22px;
    margin-bottom: 30px;
    max-width: 800px;
    color: var(--text-color-light);
}

.page-sports__hero-description .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

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

.page-sports__hero-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin-top: 40px;
}

.page-sports__hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: block;
}

/* Intro Section */
.page-sports__intro-section {
    background: var(--background-light);
    padding: 80px 0;
    color: var(--text-color-dark);
}

.page-sports__intro-section .page-sports__section-title,
.page-sports__intro-section .page-sports__section-description {
    color: var(--text-color-dark);
}

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

.page-sports__intro-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-sports__intro-card-icon {
    width: 150px;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.page-sports__call-to-action {
    text-align: center;
    font-size: 20px;
    color: var(--text-color-dark);
    padding: 30px 0;
    border-top: 1px dashed var(--border-color);
}

.page-sports__call-to-action a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-sports__call-to-action a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Games Section */
.page-sports__games-section {
    background: var(--background-dark);
    padding: 80px 0;
    color: var(--text-color-light);
}

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

.page-sports__game-card {
    padding: 0;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-sports__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.page-sports__game-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

/* Promotions Section */
.page-sports__promotions-section {
    background: var(--background-light);
    padding: 80px 0;
    color: var(--text-color-dark);
}

.page-sports__promotions-section .page-sports__section-title,
.page-sports__promotions-section .page-sports__section-description {
    color: var(--text-color-dark);
}

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

.page-sports__promo-card {
    padding: 0;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-sports__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.page-sports__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.page-sports__promotions-link {
    text-align: center;
    margin-top: 40px;
}

/* Blog Section */
.page-sports__blog-section {
    background: var(--background-dark);
    padding: 80px 0;
    color: var(--text-color-light);
}

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

.page-sports__blog-card {
    padding: 0;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-sports__blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.page-sports__blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.page-sports__blog-content .page-sports__card-title {
    margin-top: 0;
}

/* FAQ Section */
.page-sports__faq-section {
    background: var(--background-light);
    padding: 80px 0;
    color: var(--text-color-dark);
}

.page-sports__faq-section .page-sports__section-title,
.page-sports__faq-section .page-sports__section-description {
    color: var(--text-color-dark);
}

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

.page-sports__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: none; /* Override default card shadow */
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-color-dark);
}

.page-sports__faq-question:hover {
    background: #f5f5f5;
}

.page-sports__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--secondary-color);
}

.page-sports__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-sports__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    border-top: 1px solid var(--border-color);
    color: var(--text-color-dark);
}

.page-sports__faq-answer p {
    margin: 0;
    padding: 0;
}

.page-sports__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-sports__faq-answer a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.page-sports__faq-item.active .page-sports__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
    color: var(--primary-color);
}

.page-sports__faq-cta {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: 40px;
    }
    .page-sports__hero-description {
        font-size: 19px;
    }
    .page-sports__section-title {
        font-size: 30px;
    }
    .page-sports__section-description {
        font-size: 16px;
    }
    .page-sports__card-title {
        font-size: 22px;
    }
    .page-sports__card-text {
        font-size: 15px;
    }
    .page-sports__cta-button {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-banner {
        padding-top: 100px !important; /* Mobile adjust */
        min-height: 450px;
    }
    .page-sports__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-sports__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-sports__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-sports__cta-button {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 15px;
        white-space: normal;
        word-wrap: break-word;
        min-width: auto;
    }

    .page-sports__container {
        padding: 0 15px;
    }
    .page-sports__section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .page-sports__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-sports__intro-section, .page-sports__games-section, .page-sports__promotions-section, .page-sports__blog-section, .page-sports__faq-section {
        padding: 60px 0;
    }
    .page-sports__intro-grid, .page-sports__games-grid, .page-sports__promo-grid, .page-sports__blog-grid {
        gap: 20px;
    }
    .page-sports__intro-card-icon {
        width: 120px;
    }
    .page-sports__card-title {
        font-size: 20px;
    }
    .page-sports__card-text {
        font-size: 14px;
    }
    .page-sports__game-image, .page-sports__promo-image, .page-sports__blog-image {
        height: 180px;
    }
    .page-sports__game-content, .page-sports__promo-content, .page-sports__blog-content {
        padding: 20px;
    }
    .page-sports__faq-question {
        padding: 15px 20px;
    }
    .page-sports__faq-question h3 {
        font-size: 16px;
    }
    .page-sports__faq-toggle {
        font-size: 24px;
        width: 26px;
        height: 26px;
    }
    .page-sports__faq-item.active .page-sports__faq-answer {
        padding: 15px 20px !important;
    }

    /* Image responsive adaptions */
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-sports__section,
    .page-sports__card,
    .page-sports__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-sports__hero-title {
        font-size: 28px;
    }
    .page-sports__hero-description {
        font-size: 15px;
    }
    .page-sports__section-title {
        font-size: 24px;
    }
    .page-sports__intro-card-icon {
        width: 100px;
    }
    .page-sports__game-image, .page-sports__promo-image, .page-sports__blog-image {
        height: 150px;
    }
}