/* ==========================================
   HEADER / ZAGLAVLJE
   ========================================== */

.header {
    background-color: #1a1a1a;
    padding: 12px 0;
    border-bottom: 1px solid #2c2c2c;
    position: sticky;
    top: 0;
    z-index: 99999;
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    height: 62px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.logo-box {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================
   KICK BEDŽ
   ========================================== */

.kick-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.kick-logo-text {
    font-size: 11px;
    font-weight: 800;
    opacity: 0.9;
}

.kick-badge.offline {
    background-color: #1a1a1a;
    color: #8acc88;
    border: 1px solid #53FC18;
}

.kick-badge.online {
    background-color: #53FC18;
    color: #000000;
    box-shadow: 0 0 12px rgba(83, 252, 24, 0.5);
    border: 1px solid #53FC18;
}


/* ==========================================
   YOUTUBE BEDŽ
   ========================================== */

.yt-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.3s;
}

.yt-logo-text {
    font-size: 11px;
    font-weight: 800;
    opacity: 0.9;
}

.yt-badge.offline {
    background-color: #1a1a1a;
    color: #aaaaaa;
    border: 1px solid #FF0000;
}

.yt-badge.online {
    background-color: #FF0000;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
    border: 1px solid #FF0000;
}


/* ==========================================
   PILL NAVIGACIJA
   ========================================== */

.nav-pill-container {
    display: inline-flex;
    align-items: center;
    background-color: #242424;
    border: 1px solid #3a3a3a;
    border-radius: 30px;
    padding: 3px 6px;
    gap: 4px;
}

.pill-item {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 7px 14px;
    border-radius: 20px;
    transition: all .2s ease-in-out;
    white-space: nowrap;
}

.pill-item:hover {
    color: #53FC18;
    transform: scale(1.05);
    background-color: #333333;
}

.pill-item.active {
    color: #ffffff;
    background-color: #3a3a3a;
}


/* ==========================================
   KICK DUGME
   ========================================== */

.btn-kick {
    background-color: #53FC18;
    color: #0a0a0a;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.btn-kick:hover {
    background-color: #6dff3d;
}


/* ==========================================
   HEADER RESPONSIVE
   ========================================== */

@media (max-width: 900px) {

    .header-inner {
        position: relative;
        height: auto !important;
        min-height: 62px;
        display: flex;
        flex-wrap: wrap;
        padding: 10px 15px;
        gap: 10px;
    }

    .header-left {
        flex: 1;
        min-width: max-content;
    }

    .header-center {
        position: static;
        transform: none;
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header-right {
        margin-left: auto;
        min-width: max-content;
    }

    .nav-pill-container {
        flex-wrap: wrap;
        justify-content: center;
    }

}