/* Live Sports Schedule - Estilo moderno tipo app de streaming com tema vermelho */

/* Remover sublinhado dos links dentro dos cards */
.lss-card-link,
.lss-card-link * {
    text-decoration: none !important;
}

/* =========================================================================
 *  Cards de jogos
 * ========================================================================= */

.lss-grid-jogos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.lss-card-link {
    display: block;
    color: inherit;
}

.lss-card-jogo {
    position: relative;
    padding: 1rem 1.1rem 1.2rem;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(153, 27, 27, 0.28), transparent 55%),
                linear-gradient(135deg, #020617, #020617);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    overflow: hidden;
    border: 1px solid rgba(127, 29, 29, 0.55);
    backdrop-filter: blur(8px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.lss-card-jogo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(248, 250, 252, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lss-card-jogo:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.95);
    border-color: rgba(248, 113, 113, 0.85);
}

.lss-card-jogo:hover::after {
    opacity: 1;
}

.lss-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.lss-hora {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fef2f2;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: radial-gradient(circle at top left, #f97316, #ef4444);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
}

/* Badge AO VIVO / estados */

.lss-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fee2e2;
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.8);
    background: radial-gradient(circle at top left, rgba(127, 29, 29, 0.95), rgba(185, 28, 28, 0.9));
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lss-label::before,
.lss-label-dot {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #f97316;
    box-shadow: 0 0 0 5px rgba(248, 113, 113, 0.3);
}

/* estados específicos */
.lss-label-upcoming {
    background: rgba(30, 64, 175, 0.9);
    border-color: rgba(96, 165, 250, 0.9);
    color: #dbeafe;
}

.lss-label-upcoming::before {
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.35);
}

.lss-label-finished {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(75, 85, 99, 0.9);
    color: #e5e7eb;
}

.lss-label-finished::before {
    background: #6b7280;
    box-shadow: 0 0 0 5px rgba(31, 41, 55, 0.6);
}

.lss-label-live {
    /* default vermelho já definido acima */
}

.lss-label-big {
    font-size: 0.78rem;
    padding: 0.28rem 0.9rem;
}

/* Times */

.lss-times {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.8rem 0 1.2rem;
}

.lss-time {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.lss-time-home {
    justify-content: flex-start;
}

.lss-time-away {
    justify-content: flex-end;
    text-align: right;
}

.lss-time-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: #f9fafb;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.85);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.lss-vs {
    font-weight: 800;
    font-size: 0.95rem;
    color: #e5e7eb;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(75, 85, 99, 0.9);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.9);
}

/* Logo */

.lss-team-logo {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 10%, #ffffff, #9ca3af);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.85),
                0 8px 18px rgba(15, 23, 42, 0.9);
}

.lss-team-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

/* Botão (visual) */

.lss-acao {
    display: flex;
    justify-content: flex-end;
}

.lss-btn-assistir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ecfdf5;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.7);
    border: 1px solid rgba(34, 197, 94, 0.95);
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.lss-card-jogo:hover .lss-btn-assistir {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(22, 163, 74, 0.9);
    background: linear-gradient(135deg, #4ade80, #16a34a);
}

/* =========================================================================
 *  Lista de jogos ao vivo
 * ========================================================================= */

.lss-lista-jogos-ao-vivo {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin: 1.5rem 0 2.5rem;
}

.lss-item-jogo {
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.lss-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.75rem;
}

.lss-item-times {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.lss-item-hora {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
}

.lss-item-desc {
    font-size: 1.02rem;
    font-weight: 600;
    color: #e5e7eb;
}

/* Player responsivo */

.lss-player-wrapper {
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(circle at top left, #111827, #020617);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(127, 29, 29, 0.7);
}

.lss-player-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.lss-player-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Estados vazios */

.lss-empty {
    margin: 1rem 0 2rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px dashed rgba(75, 85, 99, 0.95);
    color: #9ca3af;
    font-size: 0.95rem;
}

/* =========================================================================
 *  Página single do jogo
 * ========================================================================= */

.lss-single-wrapper {
    margin: 0 auto 3rem;
    max-width: 1120px;
    padding: 1.5rem 1.25rem 3rem;
}

.lss-single-hero {
    margin-bottom: 1.5rem;
}

.lss-single-hero-inner {
    padding: 1.25rem 0 0.5rem;
}

.lss-single-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    font-weight: 800;
    color: #f9fafb;
    margin: 0.4rem 0 0.35rem;
}

.lss-single-subtitle {
    margin: 0;
    font-size: 0.98rem;
    color: #9ca3af;
}

.lss-single-main {
    margin: 1.5rem 0 1.75rem;
}

.lss-single-player {
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.98);
}

/* Troca de servidor - estilo mais limpo */

.lss-server-switch {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.lss-server-btn {
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #e5e7eb;
    font-size: 0.8rem;
    padding: 0.25rem 0.8rem;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.lss-server-btn:hover {
    background: rgba(31, 41, 55, 0.95);
}

.lss-server-btn.is-active {
    background: rgba(248, 113, 113, 0.16);
    border-color: #ef4444;
    color: #fecaca;
    transform: translateY(-1px);
}

/* Linha com equipas e descrição */

.lss-single-meta-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 1.75rem;
    align-items: flex-start;
}

.lss-single-teams {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 999px;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(2, 6, 23, 0.96));
    border: 1px solid rgba(75, 85, 99, 0.9);
}

.lss-single-team {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.lss-single-team .lss-team-logo {
    width: 38px;
    height: 38px;
}

.lss-single-team-name {
    font-size: 0.96rem;
    font-weight: 600;
}

.lss-single-vs {
    font-weight: 800;
    font-size: 0.95rem;
    color: #e5e7eb;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(75, 85, 99, 0.9);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.9);
}

.lss-single-description {
    font-size: 0.98rem;
    color: #e5e7eb;
    line-height: 1.7;
}

/* =========================================================================
 *  Responsividade
 * ========================================================================= */

@media (max-width: 768px) {
    .lss-single-wrapper {
        padding-inline: 1rem;
    }

    .lss-single-meta-row {
        grid-template-columns: 1fr;
    }

    .lss-single-teams {
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .lss-card-jogo {
        padding: 0.95rem;
    }

    .lss-times {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        text-align: left;
    }

    .lss-time-away {
        justify-content: flex-start;
        text-align: left;
    }

    .lss-vs {
        align-self: flex-start;
    }

    .lss-item-desc {
        font-size: 0.98rem;
    }
}
