/* style/live-scores.css */
.page-live-scores {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-live-scores__section {
    padding: 60px 0;
    position: relative;
}

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

.page-live-scores__heading {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-live-scores__heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-live-scores__heading--white {
    color: #ffffff;
}

.page-live-scores__heading--white::after {
    background-color: #ffffff;
}

.page-live-scores__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
}

.page-live-scores__image--centered {
    margin-left: auto;
    margin-right: auto;
}

.page-live-scores__image--margin-top {
    margin-top: 40px;
}

.page-live-scores__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-live-scores__list li {
    background: #ffffff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-size: 17px;
}

.page-live-scores__list li::before {
    content: '✅';
    margin-right: 15px;
    font-size: 20px;
}

.page-live-scores__list--white li {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-live-scores__list--white li::before {
    content: '✅';
}

.page-live-scores__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, #26A9E0, #34C7F2);
    color: #ffffff;
}

.page-live-scores__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-live-scores__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-live-scores__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-live-scores__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-live-scores__hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-live-scores__hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-live-scores__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-live-scores__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-live-scores__btn-primary {
    background: #EA7C07; /* Login color for primary CTA */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-live-scores__btn-primary:hover {
    background: #d46a00;
    border-color: #d46a00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-live-scores__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-live-scores__btn-secondary:hover {
    background: #e0f7fa;
    color: #1a7bb7;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-live-scores__introduction p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-live-scores__features {
    background: #26A9E0;
    color: #ffffff;
}

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

.page-live-scores__card {
    background: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live-scores__card-title {
    font-size: 24px;
    font-weight: 700;
    color: #26A9E0;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-live-scores__card p {
    font-size: 16px;
    line-height: 1.7;
}

.page-live-scores__guide ol {
    list-style-type: decimal;
    padding-left: 25px;
    margin-top: 30px;
}

.page-live-scores__guide ol li {
    background: none;
    box-shadow: none;
    padding: 10px 0;
    margin-bottom: 10px;
    font-size: 18px;
    display: list-item;
    align-items: flex-start;
}

.page-live-scores__guide ol li::before {
    content: '';
    margin-right: 0;
}

.page-live-scores__guide p {
    font-size: 18px;
    margin-top: 30px;
    text-align: justify;
}

.page-live-scores__benefits {
    background: #26A9E0;
    color: #ffffff;
}

.page-live-scores__benefits .page-live-scores__list li {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-live-scores__benefits .page-live-scores__list li::before {
    color: #ffffff;
}

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

.page-live-scores__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.page-live-scores__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

.page-live-scores__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #333333;
}

.page-live-scores__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #26A9E0;
    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: 28px;
    height: 28px;
}

.page-live-scores__faq-item.active .page-live-scores__faq-toggle {
    transform: rotate(45deg); /* Changed to rotate for a different effect */
    color: #EA7C07;
}

.page-live-scores__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 20px;
    opacity: 0;
    background: #f9f9f9;
    color: #555555;
    border-top: 1px solid #e0e0e0;
}

.page-live-scores__faq-item.active .page-live-scores__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    border-radius: 0 0 5px 5px;
}

.page-live-scores__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.page-live-scores__conclusion {
    background: linear-gradient(135deg, #26A9E0, #1a7bb7);
    color: #ffffff;
    text-align: center;
}

.page-live-scores__conclusion p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* Color Contrast Adjustments */
.page-live-scores__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

.page-live-scores__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live-scores__hero-content h1 {
        font-size: 42px;
    }
    .page-live-scores__hero-content p {
        font-size: 18px;
    }
    .page-live-scores__heading {
        font-size: 32px;
    }
    .page-live-scores__card-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-live-scores__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-live-scores__hero-content h1 {
        font-size: 32px;
    }
    .page-live-scores__hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-live-scores__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-live-scores__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-live-scores__container {
        padding: 0 15px;
    }
    .page-live-scores__heading {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-live-scores__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-live-scores__card {
        padding: 25px;
    }
    .page-live-scores__card-title {
        font-size: 20px;
    }
    .page-live-scores__introduction p,
    .page-live-scores__guide ol li,
    .page-live-scores__guide p,
    .page-live-scores__conclusion p {
        font-size: 16px;
        text-align: left;
    }
    .page-live-scores__list li {
        padding: 12px 15px;
        font-size: 15px;
    }
    .page-live-scores__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-live-scores__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    .page-live-scores__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-live-scores__faq-answer {
        padding: 0 15px;
    }
    .page-live-scores__faq-item.active .page-live-scores__faq-answer {
        padding: 15px !important;
    }
    .page-live-scores img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-live-scores__section,
    .page-live-scores__card,
    .page-live-scores__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}