.text-red-600, .list-inside li {
    color: #f94f4f;
    font-weight: 600;
}

#features-section .single-item .img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

#features-section .single-item .img-area {
    border-radius: 50%;
    overflow: hidden;
    width: 90px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#banner-section {
    background-image: none;
}

#banner-section .banner-content {
    position: relative;
    z-index: 1;
}

#banner-section .banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#banner-section .banner-content {
    padding-bottom: 40px;
}

/* ── Deferred below-fold background images ─────────────────────────────────
   background-image: none keeps the browser from requesting these files on
   initial load. IntersectionObserver in home.blade.php sets the real URL via
   inline style just before each section scrolls into view.               */
#how-works-section,
#counter-section,
#tournaments-section,
#features-section {
    background-image: none !important;
}

/* ── Compact section — card sits right at the colour-wave boundary */
#testimonials-section .overlay {
    padding-top: 50px !important;
    padding-bottom: 8px !important;
}

#testimonials-section .review-card-wrapper {
    margin-top: 10px;
}

/* Card reduced ~30% from original */
#testimonials-section .review-card {
    height: 100%;
    min-height: 115px;
    padding: 12px 13px 11px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(9, 3, 48, 0.95), rgba(3, 0, 30, 0.9));
    border-color: rgba(237, 184, 255, 0.55);
    color: #fff;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.24);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 3px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

#testimonials-section .review-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

#testimonials-section .review-quote-mark {
    display: inline-block;
    font-size: 26px;
    line-height: 0.8;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.72) !important;
}

#testimonials-section .review-rating {
    margin-top: -2px;
}

#testimonials-section .review-rating span {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 1px;
    color: #ffd76a !important;
}

#testimonials-section .review-card-text {
    overflow: hidden;
}

#testimonials-section .review-card-text p,
#testimonials-section .review-card .title-area h6,
#testimonials-section .review-card .title-area span {
    color: #fff;
}

#testimonials-section .review-card p {
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9) !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#testimonials-section .review-card .bottom-area {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 8px;
    margin-top: auto;
}

#testimonials-section .review-card .bottom-area,
#testimonials-section .review-card .bottom-area strong {
    color: #fff;
}

#testimonials-section .review-card .left-area {
    gap: 7px;
}

#testimonials-section .review-card .title-area {
    text-align: left;
}

#testimonials-section .review-card .title-area h6 {
    margin-bottom: 2px;
    font-size: 11px;
    line-height: 1.2;
}

#testimonials-section .review-card .title-area span {
    font-size: 10px;
    line-height: 1.2;
    text-transform: none;
    opacity: 0.72;
}

#testimonials-section .review-card img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

#testimonials-section .review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 26px rgba(0, 0, 0, 0.32);
}

@media (max-width: 991px) {
    #testimonials-section .review-card-wrapper {
        margin-top: 10px;
    }
    #testimonials-section .review-card {
        min-height: 100px;
        padding: 11px 12px 10px;
    }
}

@media (max-width: 575px) {
    #testimonials-section .review-card-wrapper {
        margin-top: 12px;
    }

    #testimonials-section .review-card {
        min-height: 0;
        padding: 14px 14px 12px;
        gap: 0px;
        border-radius: 12px;
    }

    #testimonials-section .review-quote-mark {
        font-size: 36px;
    }

    #testimonials-section .review-card p {
        font-size: 13px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
    }

    #testimonials-section .review-rating span {
        font-size: 12px;
    }

    #testimonials-section .review-card .bottom-area {
        padding-top: 10px;
    }

    #testimonials-section .review-card .left-area {
        gap: 8px;
    }

    #testimonials-section .review-card img {
        width: 36px;
        height: 36px;
    }

    #testimonials-section .review-card .title-area h6 {
        font-size: 14px;
        margin-bottom: 2px;
    }

    #testimonials-section .review-card .title-area span {
        font-size: 11px;
    }
    .bottom-area{
        margin-top: 0px !important;
    }
    @media (max-width: 991px) {
        #testimonials-section .single-item {
            margin-bottom: 18px;
        }
    }

}

/* ── CLS prevention: reserve space for dynamic/upload images ───────────────
   Only applied where the image has no inline width/height already set.     */

/* Tournament banner thumbnails — 4:3 ratio at their display width.
   These are user-uploaded images with no fixed natural size, so aspect-ratio
   lets the browser reserve space without blocking the element's width. */
#tournaments-section .single-item .top-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* Alert readability (2026-09-06).
   style.css has a global `li,p,span{color:var(--body-color)!important}` with
   --body-color:#fff, which overrides Bootstrap's alert text colour. Login and
   password-reset errors were rendering white-on-light-pink, i.e. invisible.
   Each variant is restated with matching specificity so the text wins. */
.alert-danger,
.alert-danger li,
.alert-danger p,
.alert-danger span { color: #721c24 !important; }

.alert-success,
.alert-success li,
.alert-success p,
.alert-success span { color: #0f5132 !important; }

.alert-warning,
.alert-warning li,
.alert-warning p,
.alert-warning span { color: #664d03 !important; }

.alert-info,
.alert-info li,
.alert-info p,
.alert-info span { color: #055160 !important; }
