/* style/index-sports-betting-highlights.css */

:root {
    --primary-color: #0A2239;
    --secondary-color: #FFD700;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-dark: #0A2239;
    --bg-light: #F8F8F8;
    --accent-color: #E74C3C; /* A touch of red for emphasis, ensuring contrast */
}

.page-index-sports-betting-highlights {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.page-index-sports-betting-highlights__hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1A3A54 100%);
    color: var(--text-light);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-index-sports-betting-highlights__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-index-sports-betting-highlights__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-sports-betting-highlights__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-index-sports-betting-highlights__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-sports-betting-highlights__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.page-index-sports-betting-highlights__btn--primary {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    border: 2px solid var(--secondary-color);
}

.page-index-sports-betting-highlights__btn--primary:hover {
    background-color: #FFC400;
    border-color: #FFC400;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.page-index-sports-betting-highlights__btn--secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-index-sports-betting-highlights__btn--secondary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.page-index-sports-betting-highlights__hero-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin-top: 40px;
    z-index: 0; /* Ensure it's behind text for better contrast */
}

.page-index-sports-betting-highlights__hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(0.7) contrast(1.2);
}

.page-index-sports-betting-highlights__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-index-sports-betting-highlights__section:nth-of-type(even) {
    background-color: var(--bg-light);
}

.page-index-sports-betting-highlights__section-title {
    font-size: 2.5em;
    color: var(--bg-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-sports-betting-highlights__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-index-sports-betting-highlights__section-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-sports-betting-highlights__feature-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-sports-betting-highlights__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-index-sports-betting-highlights__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-index-sports-betting-highlights__feature-title {
    font-size: 1.5em;
    color: var(--bg-dark);
    margin-bottom: 15px;
}

.page-index-sports-betting-highlights__feature-text {
    font-size: 1em;
    color: #666;
}

.page-index-sports-betting-highlights__cta-center {
    margin-top: 50px;
}

.page-index-sports-betting-highlights__why-choose-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

.page-index-sports-betting-highlights__why-choose-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-index-sports-betting-highlights__why-choose-text {
    max-width: 700px;
    color: var(--text-dark);
}

.page-index-sports-betting-highlights__why-choose-text p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-index-sports-betting-highlights__why-choose-text p strong {
    color: var(--bg-dark);
}

.page-index-sports-betting-highlights__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-index-sports-betting-highlights__benefits-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
}

.page-index-sports-betting-highlights__icon-check {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #28A745; /* Green checkmark */
    border-radius: 50%;
    position: relative;
    margin-right: 10px;
    flex-shrink: 0;
}

.page-index-sports-betting-highlights__icon-check::before {
    content: '✔';
    color: white;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-index-sports-betting-highlights__app-promo {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 20px;
}

.page-index-sports-betting-highlights__app-promo .page-index-sports-betting-highlights__section-title {
    color: var(--secondary-color);
}

.page-index-sports-betting-highlights__app-promo .page-index-sports-betting-highlights__section-title::after {
    background-color: var(--text-light);
}

.page-index-sports-betting-highlights__app-promo-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.page-index-sports-betting-highlights__app-text {
    max-width: 700px;
}

.page-index-sports-betting-highlights__app-text p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: rgba(255, 255, 255, 0.9);
}

.page-index-sports-betting-highlights__app-cta-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-index-sports-betting-highlights__app-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-index-sports-betting-highlights__faq-container {
    margin-top: 40px;
    text-align: left;
}

.page-index-sports-betting-highlights__faq-item {
    background-color: var(--text-light);
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-index-sports-betting-highlights__faq-question {
    font-size: 1.3em;
    color: var(--bg-dark);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-index-sports-betting-highlights__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-index-sports-betting-highlights__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index-sports-betting-highlights__faq-answer {
    font-size: 1em;
    color: #666;
    display: none; /* Hidden by default */
    padding-top: 10px;
    border-top: 1px solid #EEE;
    margin-top: 10px;
}

.page-index-sports-betting-highlights__faq-answer.active {
    display: block;
}

.page-index-sports-betting-highlights__faq-answer a {
    color: var(--bg-dark);
    font-weight: bold;
    text-decoration: none;
}

.page-index-sports-betting-highlights__faq-answer a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.page-index-sports-betting-highlights__final-cta {
    background-color: #F0F2F5;
    padding: 80px 20px;
}

.page-index-sports-betting-highlights__final-cta .page-index-sports-betting-highlights__section-title {
    color: var(--bg-dark);
}

.page-index-sports-betting-highlights__final-cta .page-index-sports-betting-highlights__section-description {
    color: #444;
    margin-bottom: 50px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-index-sports-betting-highlights__hero {
        padding: 100px 40px;
        flex-direction: row;
        text-align: left;
    }

    .page-index-sports-betting-highlights__hero-content {
        text-align: left;
        flex: 1;
    }

    .page-index-sports-betting-highlights__hero-image-wrapper {
        flex: 1;
        margin-top: 0;
        max-width: 50%;
    }

    .page-index-sports-betting-highlights__cta-group {
        justify-content: flex-start;
    }

    .page-index-sports-betting-highlights__section {
        padding: 80px 40px;
    }

    .page-index-sports-betting-highlights__why-choose-content {
        flex-direction: row;
        text-align: left;
    }

    .page-index-sports-betting-highlights__why-choose-image {
        flex: 1;
        max-width: 50%;
    }

    .page-index-sports-betting-highlights__why-choose-text {
        flex: 1;
        padding-left: 40px;
    }

    .page-index-sports-betting-highlights__app-promo-content {
        flex-direction: row;
        text-align: left;
    }

    .page-index-sports-betting-highlights__app-image {
        flex: 1;
        max-width: 40%;
        order: 2;
    }

    .page-index-sports-betting-highlights__app-text {
        flex: 1;
        order: 1;
        padding-right: 40px;
    }

    .page-index-sports-betting-highlights__app-cta-group {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .page-index-sports-betting-highlights__title {
        font-size: 2.2em;
    }

    .page-index-sports-betting-highlights__subtitle {
        font-size: 1em;
    }

    .page-index-sports-betting-highlights__section-title {
        font-size: 1.8em;
    }

    .page-index-sports-betting-highlights__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-index-sports-betting-highlights__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-index-sports-betting-highlights__why-choose-content,
    .page-index-sports-betting-highlights__app-promo-content {
        flex-direction: column;
    }

    .page-index-sports-betting-highlights__why-choose-image,
    .page-index-sports-betting-highlights__app-image {
        margin-bottom: 30px;
    }
}

/* Ensure contrast for all text elements */
.page-index-sports-betting-highlights h1,
.page-index-sports-betting-highlights h2,
.page-index-sports-betting-highlights h3,
.page-index-sports-betting-highlights p,
.page-index-sports-betting-highlights li {
    /* Default text color for light backgrounds */
    color: var(--text-dark);
}

/* Specific overrides for dark backgrounds */
.page-index-sports-betting-highlights__hero h1,
.page-index-sports-betting-highlights__hero p,
.page-index-sports-betting-highlights__app-promo h2,
.page-index-sports-betting-highlights__app-promo p {
    color: var(--text-light); /* Light text on dark background */
}

.page-index-sports-betting-highlights__faq-answer a {
    color: var(--bg-dark); /* Ensure link color on light background is dark */
}

.page-index-sports-betting-highlights__faq-answer a:hover {
    color: var(--secondary-color); /* Hover color for links */
}