/* 3alTrack v2907 - Premium Light Mode + World League Cards */

/* World football league shortcuts: dark/default theme */
.world-league-subsections{
    margin-top:22px;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}
.world-league-card{
    min-height:112px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    border-radius:22px;
    text-decoration:none;
    color:#fff;
    background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
    border:1px solid rgba(255,255,255,.09);
    box-shadow:0 16px 40px rgba(0,0,0,.13);
    overflow:hidden;
    position:relative;
    transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.world-league-card::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:3px;
    background:linear-gradient(180deg,#ff4655,#7c3aed);
    opacity:.9;
}
.world-league-card:hover{
    transform:translateY(-4px);
    border-color:rgba(255,81,95,.38);
    box-shadow:0 22px 48px rgba(0,0,0,.20);
}
.world-league-logo{
    width:58px;
    height:58px;
    flex:0 0 58px;
    display:grid;
    place-items:center;
    border-radius:17px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 10px 24px rgba(0,0,0,.16);
}
.world-league-logo img{
    width:46px;
    height:46px;
    object-fit:contain;
    display:block;
}
.world-league-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:6px;
}
.world-league-copy small{
    color:#ff6975;
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.08em;
}
.world-league-copy strong{
    color:#fff;
    font-size:14px;
    line-height:1.45;
    font-weight:900;
}

/* Premium light mode: clearer hierarchy, calmer surfaces, stronger typography */
html[data-theme=light] body,
html[data-visual-theme=light] body{
    background:
        radial-gradient(circle at 12% 0,rgba(37,99,235,.075),transparent 27%),
        radial-gradient(circle at 88% 8%,rgba(225,29,46,.055),transparent 30%),
        linear-gradient(180deg,#f7f9fd 0%,#eef3f9 100%)!important;
    color:#111827!important;
}

html[data-theme=light] body.home-page .category-pro-section,
html[data-visual-theme=light] body.home-page .category-pro-section{
    position:relative!important;
    padding:28px!important;
    border-radius:30px!important;
    background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,250,253,.96))!important;
    border:1px solid rgba(15,23,42,.08)!important;
    box-shadow:0 22px 58px rgba(15,23,42,.075)!important;
    overflow:hidden!important;
}
html[data-theme=light] body.home-page .category-pro-section::before,
html[data-visual-theme=light] body.home-page .category-pro-section::before{
    content:""!important;
    display:block!important;
    position:absolute!important;
    top:0!important;
    right:24px!important;
    left:24px!important;
    height:4px!important;
    border-radius:0 0 999px 999px!important;
    background:linear-gradient(90deg,#e11d2e 0%,#f97316 32%,#2563eb 68%,#7c3aed 100%)!important;
    opacity:.88!important;
    pointer-events:none!important;
}
html[data-theme=light] body.home-page .category-pro-section>.pro-section-head,
html[data-visual-theme=light] body.home-page .category-pro-section>.pro-section-head{
    margin-bottom:24px!important;
}
html[data-theme=light] body.home-page .category-pro-section>.pro-section-head h2,
html[data-visual-theme=light] body.home-page .category-pro-section>.pro-section-head h2{
    color:#0f172a!important;
    text-shadow:none!important;
    font-weight:950!important;
    letter-spacing:-.02em!important;
}
html[data-theme=light] body.home-page .category-pro-section>.pro-section-head span,
html[data-visual-theme=light] body.home-page .category-pro-section>.pro-section-head span{
    color:#c81e33!important;
    font-weight:950!important;
    letter-spacing:.13em!important;
}
html[data-theme=light] body.home-page .category-pro-section>.pro-section-head .view-all-link,
html[data-visual-theme=light] body.home-page .category-pro-section>.pro-section-head .view-all-link{
    color:#fff!important;
    background:linear-gradient(135deg,#d91f35,#ef4444)!important;
    border-color:transparent!important;
    box-shadow:0 12px 24px rgba(217,31,53,.18)!important;
}

/* Keep editorial image cards rich and readable inside the light layout */
html[data-theme=light] body.home-page .category-pro-section .pro-news-card,
html[data-visual-theme=light] body.home-page .category-pro-section .pro-news-card{
    border-color:rgba(15,23,42,.11)!important;
    box-shadow:0 18px 42px rgba(15,23,42,.16)!important;
}
html[data-theme=light] body.home-page .category-pro-section .pro-news-content h3,
html[data-visual-theme=light] body.home-page .category-pro-section .pro-news-content h3{
    color:#fff!important;
    text-shadow:0 3px 14px rgba(0,0,0,.92)!important;
}
html[data-theme=light] body.home-page .category-pro-section .pro-news-content p,
html[data-visual-theme=light] body.home-page .category-pro-section .pro-news-content p{
    color:rgba(255,255,255,.82)!important;
}

/* Egyptian + world shortcuts become clean premium cards in light mode */
html[data-theme=light] body.home-page .egypt-subsections a,
html[data-visual-theme=light] body.home-page .egypt-subsections a,
html[data-theme=light] body.home-page .world-league-card,
html[data-visual-theme=light] body.home-page .world-league-card{
    background:linear-gradient(145deg,#ffffff,#f6f8fc)!important;
    border:1px solid rgba(15,23,42,.09)!important;
    box-shadow:0 14px 34px rgba(15,23,42,.065)!important;
}
html[data-theme=light] body.home-page .egypt-subsections a:hover,
html[data-visual-theme=light] body.home-page .egypt-subsections a:hover,
html[data-theme=light] body.home-page .world-league-card:hover,
html[data-visual-theme=light] body.home-page .world-league-card:hover{
    border-color:rgba(217,31,53,.22)!important;
    box-shadow:0 18px 38px rgba(15,23,42,.10)!important;
}
html[data-theme=light] body.home-page .egypt-subsections a span,
html[data-visual-theme=light] body.home-page .egypt-subsections a span,
html[data-theme=light] body.home-page .world-league-copy small,
html[data-visual-theme=light] body.home-page .world-league-copy small{
    color:#c81e33!important;
}
html[data-theme=light] body.home-page .egypt-subsections a strong,
html[data-visual-theme=light] body.home-page .egypt-subsections a strong,
html[data-theme=light] body.home-page .world-league-copy strong,
html[data-visual-theme=light] body.home-page .world-league-copy strong{
    color:#111827!important;
}
html[data-theme=light] body.home-page .world-league-logo,
html[data-visual-theme=light] body.home-page .world-league-logo{
    background:#fff!important;
    border-color:rgba(15,23,42,.08)!important;
    box-shadow:0 8px 20px rgba(15,23,42,.08)!important;
}

/* Category listing pages: clean light surfaces without changing their layout/spacing */
html[data-theme=light] body.category-page .category-news-card,
html[data-visual-theme=light] body.category-page .category-news-card{
    background:#fff!important;
    border-color:rgba(15,23,42,.09)!important;
    box-shadow:0 16px 36px rgba(15,23,42,.08)!important;
}
html[data-theme=light] body.category-page .category-news-content,
html[data-visual-theme=light] body.category-page .category-news-content{
    background:#fff!important;
}
html[data-theme=light] body.category-page .category-news-content h3,
html[data-visual-theme=light] body.category-page .category-news-content h3{
    color:#111827!important;
    text-shadow:none!important;
}
html[data-theme=light] body.category-page .category-news-content p,
html[data-visual-theme=light] body.category-page .category-news-content p{
    color:#64748b!important;
}
html[data-theme=light] body.category-page .category-news-content time,
html[data-visual-theme=light] body.category-page .category-news-content time{
    color:#64748b!important;
}
html[data-theme=light] body.category-page .category-news-content span,
html[data-visual-theme=light] body.category-page .category-news-content span{
    color:#b91c1c!important;
    background:#fff1f2!important;
    border:1px solid #ffe4e6!important;
}

/* Leagues and info pages: consistent light premium cards */
html[data-theme=light] .league-clean-card,
html[data-visual-theme=light] .league-clean-card,
html[data-theme=light] .info-card-v2906,
html[data-visual-theme=light] .info-card-v2906{
    background:linear-gradient(145deg,#fff,#f7f9fc)!important;
    color:#111827!important;
    border-color:rgba(15,23,42,.09)!important;
    box-shadow:0 16px 38px rgba(15,23,42,.075)!important;
}
html[data-theme=light] .league-clean-card h3,
html[data-visual-theme=light] .league-clean-card h3{
    color:#111827!important;
}
html[data-theme=light] .league-clean-card p,
html[data-visual-theme=light] .league-clean-card p{
    color:#64748b!important;
}

@media (max-width:1100px){
    .world-league-subsections{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:760px){
    html[data-theme=light] body.home-page .category-pro-section,
    html[data-visual-theme=light] body.home-page .category-pro-section{
        width:calc(100% - 20px)!important;
        padding:18px 14px 20px!important;
        border-radius:24px!important;
        margin:34px auto!important;
    }
    html[data-theme=light] body.home-page .category-pro-section::before,
    html[data-visual-theme=light] body.home-page .category-pro-section::before{
        right:14px!important;
        left:14px!important;
    }
    .world-league-subsections{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
        margin-top:18px;
    }
    .world-league-card{
        min-height:108px;
        padding:12px;
        gap:10px;
        border-radius:18px;
    }
    .world-league-logo{
        width:50px;
        height:50px;
        flex-basis:50px;
        border-radius:14px;
    }
    .world-league-logo img{width:40px;height:40px;}
    .world-league-copy strong{font-size:12.5px;}
    .world-league-copy small{font-size:8px;}
}
@media (max-width:430px){
    .world-league-card{min-height:102px;}
    .world-league-logo{width:46px;height:46px;flex-basis:46px;}
    .world-league-logo img{width:37px;height:37px;}
}
