/* ============================================================
   SpotLynk — Stadyum Teması (detay + ana sayfa ortak)
   .stadium-page wrapper'ı ile scope'lanır, mevcut layout'u bozmaz.
   ============================================================ */

.stadium-page {
    --st-neon: #2bff88;
    --st-neon-dim: #16a34a;
    --st-amber: #ffb020;
    --st-text: #eaf6ee;
    --st-muted: #8ba699;
    --st-danger: #ff5470;
    --st-card: rgba(255,255,255,.035);
    --st-border: rgba(255,255,255,.08);
    position: relative;
    color: var(--st-text);
}

    /* atmosfer ışıması (sayfa arka planına gömülü) */
    .stadium-page::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: radial-gradient(1200px 600px at 50% -200px, rgba(43,255,136,.10), transparent 60%), radial-gradient(900px 500px at 90% 0%, rgba(43,255,136,.05), transparent 55%);
    }

.st-fadeup {
    animation: stFadeUp .6s ease both
}

@keyframes stFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes stPulse {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}

/* ---------- SCOREBOARD ---------- */
.st-scoreboard {
    background: linear-gradient(160deg, rgba(43,255,136,.08), rgba(255,255,255,.02));
    border: 1px solid var(--st-border);
    border-radius: 24px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}

    .st-scoreboard::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: repeating-linear-gradient(90deg,transparent,transparent 38px,rgba(43,255,136,.03) 39px,transparent 40px);
    }

.st-league-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 18px
}

    .st-league-tag img {
        width: 22px;
        height: 22px;
        object-fit: contain
    }

    .st-league-tag span {
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--st-muted);
        font-weight: 600
    }

.st-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.st-team {
    flex: 1;
    text-align: center
}

    .st-team .st-logo {
        width: 76px;
        height: 76px;
        object-fit: contain;
        margin: 0 auto 12px;
        filter: drop-shadow(0 6px 16px rgba(0,0,0,.5));
        transition: .4s
    }

    .st-team:hover .st-logo {
        transform: scale(1.08) rotate(-2deg)
    }

    .st-team .st-name {
        font-size: 16px;
        font-weight: 700
    }

.st-center {
    flex: 0 0 auto;
    text-align: center;
    min-width: 120px
}

.st-status {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    color: var(--st-muted)
}

    .st-status.finished {
        color: var(--st-neon)
    }

    .st-status.live {
        color: var(--st-amber)
    }

        .st-status.live .st-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--st-amber);
            margin-right: 6px;
            animation: stPulse 1.2s infinite
        }

.st-score-big {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(43,255,136,.4)
}

.st-score-sub {
    font-size: 12px;
    color: var(--st-muted);
    margin-top: 8px;
    line-height: 1.6
}

.st-kickoff {
    font-size: 22px;
    font-weight: 800;
    color: var(--st-neon);
    text-shadow: 0 0 20px rgba(43,255,136,.5)
}

.st-kickoff-label {
    font-size: 11px;
    color: var(--st-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px
}

/* ---------- CONFIDENCE ---------- */
.st-conf {
    margin: 22px 0 4px;
    text-align: center
}

.st-conf-label {
    font-size: 12px;
    color: var(--st-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px
}

.st-conf-bar {
    height: 10px;
    background: rgba(255,255,255,.06);
    border-radius: 20px;
    overflow: hidden
}

.st-conf-fill {
    height: 100%;
    width: 0;
    border-radius: 20px;
    background: linear-gradient(90deg,var(--st-neon-dim),var(--st-neon));
    box-shadow: 0 0 16px rgba(43,255,136,.5);
    transition: width 1.4s cubic-bezier(.2,.8,.2,1)
}

.st-conf-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--st-neon);
    margin-top: 6px
}

/* ---------- SECTION TITLE ---------- */
.st-sec {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 16px;
    font-size: 15px;
    font-weight: 700
}

    .st-sec::before {
        content: "";
        width: 4px;
        height: 18px;
        background: var(--st-neon);
        border-radius: 2px;
        box-shadow: 0 0 10px var(--st-neon)
    }

/* ---------- SUMMARY ---------- */
.st-summary {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 18px 20px;
    font-size: 14.5px;
    line-height: 1.8;
    color: #d6e8dd
}

/* ---------- AD ---------- */
.st-ad {
    margin: 12px 0
}

/* ---------- MARKETS ---------- */
.st-markets {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 12px
}

.st-mcard {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
    transition: .3s
}

    .st-mcard:hover {
        transform: translateY(-4px);
        border-color: rgba(43,255,136,.4);
        box-shadow: 0 12px 30px rgba(0,0,0,.4)
    }

.st-mcard-title {
    font-size: 13px;
    color: var(--st-muted);
    font-weight: 600;
    margin-bottom: 10px
}

.st-mcard-pick {
    font-size: 20px;
    font-weight: 800
}

.st-mcard-conf {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px
}

.st-mini-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,.06);
    border-radius: 10px;
    overflow: hidden
}

.st-mini-fill {
    height: 100%;
    width: 0;
    border-radius: 10px;
    transition: width 1.2s ease
}

.st-mini-val {
    font-size: 12px;
    font-weight: 700;
    min-width: 38px;
    text-align: right
}

.st-result {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px
}

    .st-result.hit {
        background: rgba(43,255,136,.15);
        color: var(--st-neon);
        border: 1px solid rgba(43,255,136,.4)
    }

    .st-result.miss {
        background: rgba(255,84,112,.12);
        color: var(--st-danger);
        border: 1px solid rgba(255,84,112,.35)
    }

/* locked premium */
.st-mcard.locked {
    cursor: pointer
}

    .st-mcard.locked .st-mcard-pick, .st-mcard.locked .st-mcard-conf {
        filter: blur(7px);
        user-select: none;
        opacity: .7
    }

.st-lock {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(5,16,11,.55)
}

.st-lock-badge {
    background: linear-gradient(135deg,var(--st-amber),#ff8a00);
    color: #2a1600;
    font-weight: 800;
    font-size: 11px;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 0 16px rgba(255,176,32,.5)
}

.st-lock-sub {
    font-size: 11px;
    color: var(--st-muted)
}

/* ---------- HOME: match grid ---------- */
.st-datebar {
    display: flex;
    gap: 8px;
    margin: 18px 0 26px;
    flex-wrap: wrap
}

.st-datebtn {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    color: var(--st-text);
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
    display: inline-block
}

    .st-datebtn:hover {
        border-color: rgba(43,255,136,.4);
        color: var(--st-text)
    }

    .st-datebtn.active {
        background: linear-gradient(135deg,var(--st-neon),var(--st-neon-dim));
        color: #03150c;
        box-shadow: 0 0 18px rgba(43,255,136,.4);
        border-color: transparent
    }

.st-league {
    margin-bottom: 30px
}

.st-league-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--st-border)
}

    .st-league-head img {
        width: 24px;
        height: 24px;
        object-fit: contain
    }

    .st-league-head span {
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--st-muted);
        font-weight: 700
    }

.st-daydiv {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 20px
}

    .st-daydiv::before, .st-daydiv::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--st-border)
    }

    .st-daydiv span {
        font-size: 13px;
        font-weight: 700;
        color: var(--st-muted);
        letter-spacing: 1px
    }

.st-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap: 14px
}

.st-match {
    display: block;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 18px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--st-text);
    position: relative;
    overflow: hidden;
    transition: .3s
}

    .st-match::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(var(--st-neon),var(--st-neon-dim));
        opacity: 0;
        transition: .3s
    }

    .st-match:hover {
        transform: translateY(-4px);
        border-color: rgba(43,255,136,.35);
        box-shadow: 0 14px 34px rgba(0,0,0,.45)
    }

        .st-match:hover::before {
            opacity: 1
        }

.st-match-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px
}

.st-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--st-neon);
    background: rgba(43,255,136,.1);
    padding: 3px 10px;
    border-radius: 20px
}

.st-mstatus {
    font-size: 11px;
    color: var(--st-muted);
    letter-spacing: 1px;
    text-transform: uppercase
}

    .st-mstatus.live {
        color: var(--st-amber)
    }

        .st-mstatus.live::before {
            content: "";
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--st-amber);
            margin-right: 5px;
            animation: stPulse 1.2s infinite
        }

.st-mteams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.st-mt {
    flex: 1;
    text-align: center;
    min-width: 0
}

    .st-mt img {
        width: 46px;
        height: 46px;
        object-fit: contain;
        margin-bottom: 8px;
        transition: .3s
    }

.st-match:hover .st-mt img {
    transform: scale(1.1)
}

.st-mt .nm {
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.st-mmid {
    flex: 0 0 auto;
    min-width: 52px;
    text-align: center
}

    .st-mmid .vs {
        font-size: 13px;
        color: var(--st-muted);
        font-weight: 700
    }

    .st-mmid .sc {
        font-size: 22px;
        font-weight: 800;
        letter-spacing: 1px;
        text-shadow: 0 0 16px rgba(43,255,136,.35)
    }

    .st-mmid .ft {
        font-size: 9px;
        color: var(--st-muted);
        letter-spacing: 1px;
        margin-top: 2px
    }
/* İstatistik bloğu */
.st-stats {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 14px 18px
}

.st-stat-row {
    padding: 8px 10px;
    font-size: 13.5px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255,255,255,.05)
}

    .st-stat-row:last-child {
        border-bottom: none
    }

    .st-stat-row.sub {
        padding-left: 24px;
        font-size: 12.5px;
        color: var(--st-muted);
        background: rgba(255,255,255,.02)
    }

    .st-stat-row:first-child {
        color: var(--st-neon);
        font-weight: 600
    }

    .st-stat-head {
        margin: 10px 0 4px;
        padding: 6px 10px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--st-neon);
        border-bottom: 1px solid rgba(255,255,255,.08)
    }

.st-search {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 14px 0
}

    .st-search input {
        flex: 1;
        background: var(--st-card);
        border: 1px solid var(--st-border);
        border-radius: 12px;
        padding: 10px 14px;
        color: #fff;
        font-size: 14px;
        outline: none
    }

        .st-search input:focus {
            border-color: var(--st-neon)
        }

    .st-search button {
        background: var(--st-neon);
        color: #052;
        border: none;
        border-radius: 12px;
        padding: 10px 18px;
        font-weight: 700;
        cursor: pointer
    }

    .st-search-clear {
        color: var(--st-muted);
        font-size: 13px;
        text-decoration: none;
        white-space: nowrap
    }

    .st-search-clear:hover {
        color: var(--st-neon)
    }
