/* Base styles for the sports page */
.page-sports {
    background-color: #140C0C;
    color: #FFF1E8;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px;
}

.page-sports__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #FFF1E8;
    background: linear-gradient(to right, #F3C54D, #FFB04A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-sports__section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1rem;
    color: #FFF1E8;
    opacity: 0.9;
}

/* Hero Section */
.page-sports__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    box-sizing: border-box;
}

.page-sports__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image wrapper for desktop */
    margin-bottom: 20px;
}

.page-sports__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    min-height: 200px;
}

.page-sports__hero-content {
    max-width: 900px;
    padding: 0 20px 40px 20px;
}

.page-sports__hero-title {
    font-size: clamp(2.2rem, 5vw, 3rem); /* Adjusted clamp for H1 */
    font-weight: 800;
    margin-bottom: 15px;
    color: #FFF1E8;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-sports__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-sports__hero-cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 44px;
    min-width: 150px;
    box-sizing: border-box;
}

.page-sports__hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 176, 74, 0.4);
}

/* Games Overview Section */
.page-sports__games-overview-section,
.page-sports__live-betting-section,
.page-sports__promotions-section,
.page-sports__why-choose-section,
.page-sports__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

.page-sports__game-card {
    background-color: #2A1212;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #6A1E1E;
}

.page-sports__game-card:hover {
    transform: translateY(-5px);
}

.page-sports__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-sports__game-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 20px 15px 10px 15px;
    color: #F3C54D;
}

.page-sports__game-card-text {
    font-size: 0.95rem;
    color: #FFF1E8;
    opacity: 0.8;
    margin: 0 15px 20px 15px;
}

.page-sports__game-card-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: background 0.3s ease;
    min-height: 44px;
    min-width: 100px;
    box-sizing: border-box;
}

.page-sports__game-card-button:hover {
    background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
}

/* Live Betting Section */
.page-sports__live-betting-section {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #2A1212;
    border-radius: 10px;
    padding: 50px;
    margin-top: 40px;
    border: 1px solid #6A1E1E;
}

.page-sports__live-betting-content {
    flex: 1;
}

.page-sports__live-betting-content .page-sports__section-title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-sports__live-betting-content .page-sports__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
}

.page-sports__live-betting-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-sports__live-betting-content ul li {
    background-color: #C61F1F;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #FFF1E8;
}

.page-sports__live-betting-content ul li::before {
    content: '✔';
    color: #F3C54D;
    margin-right: 10px;
    font-weight: bold;
}

.page-sports__live-betting-cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 44px;
    min-width: 150px;
    box-sizing: border-box;
}

.page-sports__live-betting-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 176, 74, 0.4);
}

.page-sports__live-betting-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-sports__live-betting-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    min-height: 200px;
}

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

.page-sports__promotion-card {
    background-color: #2A1212;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #6A1E1E;
}

.page-sports__promotion-card:hover {
    transform: translateY(-5px);
}

.page-sports__promotion-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-sports__promotion-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 20px 15px 10px 15px;
    color: #F3C54D;
}

.page-sports__promotion-card-text {
    font-size: 0.95rem;
    color: #FFF1E8;
    opacity: 0.8;
    margin: 0 15px 20px 15px;
}

.page-sports__promotion-card-button {
    display: inline-block;
    background-color: #C61F1F;
    color: #FFF1E8;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
    min-height: 44px;
    min-width: 100px;
    box-sizing: border-box;
}

.page-sports__promotion-card-button:hover {
    background-color: #E53030;
}

.page-sports__view-all-promos {
    text-align: center;
    margin-top: 40px;
}

.page-sports__view-all-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 44px;
    min-width: 150px;
    box-sizing: border-box;
}

.page-sports__view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 176, 74, 0.4);
}

/* Why Choose Section */
.page-sports__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports__why-choose-item {
    background-color: #2A1212;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E;
}

.page-sports__why-choose-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforcing minimum size for content images */
    min-height: 200px;
    width: 100%; /* Override to make sure it fills the space if needed */
    height: auto;
    object-fit: contain; /* Icons might be better contained */
}

.page-sports__why-choose-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #F3C54D;
    margin-bottom: 10px;
}

.page-sports__why-choose-text {
    font-size: 0.9rem;
    color: #FFF1E8;
    opacity: 0.8;
}

/* FAQ Section */
.page-sports__faq-list {
    margin-top: 40px;
}

.page-sports__faq-item {
    background-color: #2A1212;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #6A1E1E;
    overflow: hidden;
}

.page-sports__faq-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFF1E8;
    padding: 20px;
    cursor: pointer;
    position: relative;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
    background-color: #7E0D0D;
}

.page-sports__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: #F3C54D;
    transition: transform 0.3s ease;
}

.page-sports__faq-item.is-active .page-sports__faq-question::after {
    transform: rotate(45deg);
}

.page-sports__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-sports__faq-item.is-active .page-sports__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 10px 20px 20px 20px;
}

.page-sports__faq-answer p {
    margin: 0;
    color: #FFF1E8;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-sports__hero-image-wrapper {
        max-width: 100%;
    }

    .page-sports__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-sports__live-betting-section {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .page-sports__live-betting-content .page-sports__section-title,
    .page-sports__live-betting-content .page-sports__section-description {
        text-align: center;
    }

    .page-sports__live-betting-content ul {
        padding-left: 0;
        text-align: left;
    }

    .page-sports__live-betting-image-wrapper {
        margin-top: 30px;
    }

    .page-sports__why-choose-grid {
        grid-template-columns: 1fr;
    }

    .page-sports__why-choose-icon {
        width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    .page-sports__games-grid,
    .page-sports__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-sports__hero-image,
    .page-sports__game-card-image,
    .page-sports__live-betting-image,
    .page-sports__promotion-card-image,
    .page-sports__why-choose-icon {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content area images are not smaller than 200px */
    .page-sports img {
        min-width: 200px;
        min-height: 200px;
    }

    .page-sports__games-grid,
    .page-sports__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-sports__games-overview-section,
    .page-sports__live-betting-section,
    .page-sports__promotions-section,
    .page-sports__why-choose-section,
    .page-sports__faq-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-sports__hero-cta-button,
    .page-sports__live-betting-cta-button,
    .page-sports__game-card-button,
    .page-sports__promotion-card-button,
    .page-sports__view-all-button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 549px) {
    .page-sports__hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-sports__section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }

    .page-sports__hero-cta-button,
    .page-sports__live-betting-cta-button,
    .page-sports__game-card-button,
    .page-sports__promotion-card-button,
    .page-sports__view-all-button {
        width: 100%;
        max-width: 280px;
    }

    .page-sports__live-betting-section {
        padding: 20px;
    }
}