/* style/sports.css */
/* Base styles for the sports page */
.page-sports {
    font-family: 'Arial', sans-serif;
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Custom Text Main */
    line-height: 1.6;
    font-size: 16px;
}

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

.page-sports__section {
    padding: 60px 0;
}

.page-sports__section-title {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #F2FFF6; /* Custom Text Main */
}

.page-sports__section-title--light {
    color: #F2FFF6;
}

.page-sports__section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #A7D9B8; /* Custom Text Secondary */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__section-subtitle--light {
    color: #A7D9B8;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.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;
    filter: brightness(0.5); /* Darken image for text readability */
    display: block;
}

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    margin-top: 100px; /* Adjust based on image and header */
}

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

.page-sports__description {
    font-size: clamp(16px, 2vw, 22px);
    margin-bottom: 40px;
    color: #A7D9B8; /* Custom Text Secondary */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-sports__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-sports__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Color */
    color: #F2FFF6; /* Text Main for button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-sports__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Main brand color for text */
    border: 2px solid #2AD16F; /* Main brand color for border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
    transform: translateY(-2px);
}

/* General Content Grid */
.page-sports__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.page-sports__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-sports__text-block,
.page-sports__image-block {
    flex: 1;
    min-width: 300px;
}

.page-sports__text-block p {
    margin-bottom: 15px;
    color: #A7D9B8; /* Custom Text Secondary */
}

.page-sports__text-block strong {
    color: #F2FFF6; /* Custom Text Main */
}

.page-sports__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-sports__feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #A7D9B8;
}

.page-sports__feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2AD16F; /* Highlight color */
    font-weight: bold;
}

/* Sports Categories Section */
.page-sports__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.page-sports__card {
    background-color: #11271B; /* Custom Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-sports__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-sports__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-sports__card-title {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 15px 10px 15px;
    color: #F2FFF6; /* Custom Text Main */
}

.page-sports__card-description {
    font-size: 15px;
    color: #A7D9B8; /* Custom Text Secondary */
    padding: 0 15px 20px 15px;
    flex-grow: 1; /* Ensures cards with less text still align bottom */
}

/* Promotions Section */
.page-sports__promotions-section {
    background-color: #11271B; /* Custom Card BG for dark section */
    padding: 80px 0;
}

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

.page-sports__promo-card {
    background-color: rgba(17, 39, 27, 0.8); /* Slightly lighter dark green */
    border: 1px solid #2E7A4E; /* Custom Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-sports__promo-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F2FFF6;
}

.page-sports__promo-description {
    font-size: 16px;
    color: #A7D9B8;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-sports__cta-promotions {
    text-align: center;
}

/* Responsible Gambling Section */
.page-sports__responsible-gambling-section {
    background-color: #08160F; /* Custom Background */
    padding: 60px 0;
    text-align: center;
}

.page-sports__responsible-gambling-section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #A7D9B8;
}

/* FAQ Section */
.page-sports__faq-section {
    background-color: #11271B; /* Custom Card BG for dark section */
    padding: 80px 0;
}

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

.page-sports__faq-item {
    background-color: rgba(17, 39, 27, 0.8); /* Slightly lighter dark green */
    border: 1px solid #2E7A4E; /* Custom Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-sports__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #F2FFF6;
    cursor: pointer;
    list-style: none; /* Remove default summary marker */
    position: relative;
}

.page-sports__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default summary marker for Webkit browsers */
}

.page-sports__faq-qtext {
    flex-grow: 1;
    color: #F2FFF6;
}

.page-sports__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F; /* Highlight color */
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
    content: '−';
}

.page-sports__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    color: #A7D9B8;
    border-top: 1px solid #2E7A4E; /* Custom Border */
    margin-top: -1px; /* Overlap border */
}

.page-sports__faq-answer p {
    margin-bottom: 0;
    color: #A7D9B8;
}

.page-sports__faq-answer a {
    color: #2AD16F;
    text-decoration: underline;
}

.page-sports__faq-answer a:hover {
    color: #13994A;
}

/* Final CTA Section */
.page-sports__final-cta-section {
    background-color: #08160F; /* Custom Background */
    padding: 80px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-sports__section-title {
        font-size: 32px;
    }
    .page-sports__hero-content {
        margin-top: 50px;
    }
    .page-sports__main-title {
        font-size: clamp(28px, 4.5vw, 48px);
    }
    .page-sports__description {
        font-size: clamp(15px, 1.8vw, 20px);
    }
    .page-sports__cards-grid,
    .page-sports__promotions-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-sports {
        font-size: 15px;
    }
    .page-sports__section {
        padding: 40px 0;
    }
    .page-sports__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-sports__section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-sports__hero-section {
        padding-bottom: 40px;
    }
    .page-sports__hero-content {
        margin-top: 30px;
    }
    .page-sports__main-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 15px;
    }
    .page-sports__description {
        font-size: clamp(14px, 3.5vw, 18px);
        margin-bottom: 30px;
    }
    .page-sports__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-sports__btn-primary,
    .page-sports__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    .page-sports__content-grid {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }
    .page-sports__content-grid--reverse {
        flex-direction: column; /* Revert to default column for mobile */
    }
    .page-sports__text-block,
    .page-sports__image-block {
        min-width: unset;
        width: 100%;
    }
    .page-sports__image-block img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-sports__cards-grid,
    .page-sports__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-sports__card-image {
        height: 180px;
    }

    .page-sports__promo-card {
        padding: 25px;
    }

    .page-sports__faq-list {
        padding: 0 15px;
    }
    .page-sports__faq-item summary {
        padding: 15px;
        font-size: 16px;
    }
    .page-sports__faq-toggle {
        font-size: 20px;
    }
    .page-sports__faq-answer {
        padding: 0 15px 15px 15px;
        font-size: 15px;
    }

    /* Image responsive force */
    .page-sports img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-sports__section,
    .page-sports__card,
    .page-sports__container,
    .page-sports__hero-section,
    .page-sports__cta-buttons,
    .page-sports__content-grid,
    .page-sports__cards-grid,
    .page-sports__promotions-grid,
    .page-sports__promo-card,
    .page-sports__faq-list,
    .page-sports__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-sports__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-sports__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-sports__hero-image-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Ensure images in content areas don't get too small */
.page-sports__content-grid img,
.page-sports__card-image {
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
}