/* SPORTELIVO NEON — visual refresh v1 */

:root {
    --bg: #0b111b;
    --ink: #f0f5fc;
    --muted: #9baec6;
    --line: #26374b;
}

body {
    background: #0b111b;
    color: #f0f5fc;
}

main {
    max-width: 1500px;
    padding-top: 20px;
}

.top {
    background: linear-gradient(110deg,#101b2c,#070c14);
}

.nav {
    background: #101b2b;
    border-bottom: 1px solid #26374b;
}

.lead, .small, .card, .panel, .live {
    border-radius: 12px;
    border: 1px solid #26374b;
}

.lead {
    min-height: 365px;
    background-size: cover;
    background-position: center;
}

.lead h1 {
    font-size: clamp(25px,2.4vw,39px);
    line-height: 1.1;
}

.small {
    min-height: 175px;
    background-size: cover;
    background-position: center;
}

.small h3 {
    font-size: 17px;
    line-height: 1.25;
}

.card {
    background: #142033;
    color: #f0f5fc;
    transition: transform .2s, border-color .2s;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #e72d51;
}

.card .pic {
    height: 155px;
    background-size: cover;
    background-position: center;
}

.card .body {
    padding: 16px;
}

.card h3 {
    font-size: 15px;
    line-height: 1.4;
}

.card .meta {
    color: #9baec6;
}

.live {
    background: #142033;
    color: #f0f5fc;
}

.agenda-sport-main {
    background: #1b2b41;
    border-color: #34465c;
    color: #f0f5fc;
}

.agenda-sport.active > .agenda-sport-main {
    background: #e72d51;
    border-color: #e72d51;
}

.agenda-item {
    border-bottom-color: #26374b;
}

.agenda-team, .agenda-score {
    color: #f0f5fc;
}

.agenda-dropdown {
    background: #142033;
    border-color: #34465c;
}

.agenda-dropdown button {
    background: #142033;
    color: #f0f5fc;
    border-bottom-color: #26374b;
}

.agenda-dropdown button:hover,
.agenda-dropdown button.active {
    background: #263d58;
}

.sportelivo-chat {
    background: #142033;
}

.sportelivo-chat-messages {
    height: 330px !important;
}

.topic {
    border: 1px solid #34465c;
    background: linear-gradient(135deg,#18273d,#263f58);
}

.section-title h2 {
    color: #f0f5fc;
}

@media(max-width:700px) {
    main { padding: 12px; }
    .hero { display: block; }
    .lead { min-height: 300px; }
    .small { min-height: 145px; }
    .sportelivo-main-content .grid {
        grid-template-columns: 1fr;
    }
    .sportelivo-main-content .topics {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .card .pic { height: 185px; }
}

/* SPORTELIVO NEON v1.1 — compact hero section */
@media (min-width: 901px) {
    .lead {
        min-height: 390px;
        height: 390px;
    }

    .side {
        height: 390px;
    }

    .side .small {
        min-height: 0;
        height: calc((390px - 12px) / 2);
    }
}

/* SPORTELIVO NEON v1.2 — fixed compact hero */
@media (min-width: 1051px) {
    main .hero {
        height: 390px !important;
        min-height: 0 !important;
        grid-template-rows: 390px !important;
        align-items: stretch;
    }

    main .hero > .lead {
        height: 390px !important;
        min-height: 0 !important;
        max-height: 390px !important;
    }

    main .hero > .side {
        height: 390px !important;
        min-height: 0 !important;
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    main .hero > .side > .small {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}

/* SPORTELIVO HEADER 2.0 */

.top {
    position: relative;
    background:
        radial-gradient(ellipse at 12% 55%,
            rgba(229,35,70,.13),transparent 36%),
        radial-gradient(ellipse at 80% 20%,
            rgba(28,105,195,.12),transparent 42%),
        linear-gradient(110deg,#0b1422,#101e30 55%,#080f1b);
    border-bottom: 1px solid #22364f;
}

.top .bar {
    min-height: 82px;
    gap: 26px;
}

.top .sportelivo-brand {
    position: relative;
}

.top .sportelivo-wordmark {
    filter: drop-shadow(0 0 11px rgba(235,40,75,.19));
}

.top .sportelivo-tagline {
    letter-spacing: 2.1px;
}

.top .search {
    background: #14263b;
    border: 1px solid #294765;
    border-radius: 10px;
    color: #a7bdd4;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.22);
}

.top .search::before {
    content: "⌕";
    font-size: 22px;
    line-height: 0;
    margin-right: 9px;
    color: #6eabed;
}

.site-nav {
    background: #0c1727 !important;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(
        90deg,#f02b50 0%,#b52e70 35%,#287bd2 70%,#101b2d 100%
    ) 1;
}

.site-nav-link,
.site-nav-toggle {
    transition: background .18s ease,color .18s ease;
}

.site-nav-link:hover,
.site-nav-toggle:hover,
.site-nav-item.open > .site-nav-toggle {
    background: #1a2d45 !important;
    color: #ffffff;
}

.site-nav-link.active {
    background: rgba(237,42,76,.09);
    box-shadow: inset 0 -3px #ff3658;
}

.sportelivo-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: #dce8f7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.sportelivo-live-dot {
    width: 7px;
    height: 7px;
    background: #ff3658;
    border-radius: 50%;
    box-shadow: 0 0 9px rgba(255,54,88,.65);
}

@media(max-width:700px) {
    .top .bar {
        min-height: 0;
        gap: 12px;
    }

    .top .search {
        width: 100%;
    }
}

/* SPORTELIVO COMPACT HEADER 3.0 */
/* Desktop: naglowek + menu okolo 80px */

@media (min-width: 901px) {

    .top .bar {
        min-height: 45px !important;
        height: 45px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        gap: 20px !important;
        align-items: center !important;
    }

    .top .sportelivo-brand {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
    }

    .top .sportelivo-wordmark {
        line-height: 1 !important;
        font-size: 23px !important;
    }

    .top .sportelivo-tagline {
        font-size: 7px !important;
        line-height: 1.1 !important;
        margin-top: 2px !important;
        letter-spacing: 1.4px !important;
    }

    .top .sportelivo-live-indicator {
        font-size: 8px !important;
        line-height: 1 !important;
        margin-top: 2px !important;
        letter-spacing: 1px !important;
    }

    .top .sportelivo-live-dot {
        width: 5px !important;
        height: 5px !important;
    }

    .top .search {
        min-height: 30px !important;
        height: 30px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex;
        align-items: center;
        font-size: 12px !important;
    }

    .top .bar > a {
        font-size: 12px !important;
        white-space: nowrap;
    }

    .site-nav-link,
    .site-nav-toggle {
        padding: 10px 12px !important;
        font-size: 12px !important;
        line-height: 14px !important;
    }

    .site-nav-menu {
        min-height: 34px;
    }
}

/* Telefon: zachowaj wygodne przyciski i menu */
@media (max-width: 900px) {

    .top .bar {
        height: auto !important;
        min-height: 0 !important;
    }

    .top .sportelivo-live-indicator {
        font-size: 8px;
        margin-top: 3px;
    }

    .site-nav-link,
    .site-nav-toggle {
        min-height: 40px;
    }
}
