:root {
    --bg: #081b29;
    --panel: #10293f;
    --text: #f5f7fa;
    --muted: #b7c6d6;
    --accent: #f1a208;
    --success: #2fbf71;
    --danger: #ef476f;
    --scheduled: #5f6c7b;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--text);
    background: radial-gradient(circle at 10% 10%, #12395a, transparent 36%),
        radial-gradient(circle at 85% 15%, #1d4f68, transparent 35%),
        linear-gradient(155deg, #061420, #10273c 55%, #05121c);
}

.top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.brand-title {
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.nav-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.page-head h1 {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 700;
}

.page-head p {
    margin-top: 0.5rem;
    color: var(--muted);
}

.panel {
    background: linear-gradient(140deg, rgba(24, 53, 77, 0.95), rgba(12, 31, 50, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1rem;
}

.panel-title {
    margin: 0 0 0.9rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.metric-card {
    background: linear-gradient(140deg, rgba(241, 162, 8, 0.95), rgba(230, 130, 26, 0.95));
    color: #1d1d1d;
    border-radius: 0.9rem;
    padding: 1rem;
    min-height: 120px;
}

.metric-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
}

.sponsor-panel {
    margin-bottom: 1.5rem;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.sponsor-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.7rem;
    padding: 1rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 96px;
    object-fit: contain;
}

.sponsor-name {
    width: 100%;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.2;
    word-break: break-word;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-scheduled {
    background: rgba(95, 108, 123, 0.35);
    color: #d8dee7;
}

.status-live {
    background: rgba(47, 191, 113, 0.35);
    color: #9ff0be;
}

.status-completed {
    background: rgba(239, 71, 111, 0.35);
    color: #ffc6d4;
}

.team-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.7rem;
    padding: 0.8rem 1rem;
}

.team-name {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.player-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.score-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.score-team {
    text-align: center;
}

.score-team h2 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.score-number {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.score-vs {
    font-size: 1.4rem;
    color: var(--muted);
    font-weight: 700;
}

.status-box {
    text-align: right;
}

.lineup-summary {
    min-width: 220px;
    font-size: 0.9rem;
}

.lineup-summary div {
    white-space: normal;
}

.lineup-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.7rem;
    padding: 0.9rem;
}

.lineup-title {
    margin: 0 0 0.6rem;
    font-size: 1rem;
}

.lineup-current {
    color: var(--muted);
    font-size: 0.92rem;
}

.lineup-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

@media (max-width: 992px) {
    .score-grid {
        grid-template-columns: 1fr;
    }

    .score-vs {
        text-align: center;
    }

    .status-box {
        text-align: left;
    }
}
