/* --- BAZA NAWIGACJI --- */
.glass-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; 
    background-color: rgba(15, 20, 25, 0.5) !important; 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9999;
    
    /* Zmiana koloru nadal niech będzie płynna */
    transition: background-color 0.4s ease !important,
                box-shadow 0.4s ease !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3%;
    height: 100%;
}

  /* --- LOGO (Dostosowane do 60px) --- */
         /* --- LOGO --- */
.nav-brand img {
    position: relative;
    height: 35px; 
    width: auto;
    top: -5px;
}

/* --- LINKI CENTRALNE --- */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active-glass {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);   
}

.nav-links a.active-glass {
    border-radius: 3px;
    border-bottom: 2px solid #3078ff; /* Aktywny element */
    padding-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 10, 20, 0.9);
}

/* --- WYSPA AKCJI (Pill Box) ze screena --- */
.nav-actions-pill {
    display: flex;
    align-items: center;
    background: rgba(10, 15, 25, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px; /* Okrągła pigułka */
    padding: 6px 18px;
    gap: 15px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.action-btn {
    color: #aaa;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.action-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.action-btn-blue {
    color: #3087ff; /* Niebieski akcent dla logowania z Twojej apki */
}
.action-btn-blue:hover {
    color: #5aa0ff;
}

.pill-separator {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.15); /* Cienka pionowa linia rozdzielająca */
}

/* ========================================= */
/* STANY ANIMACJI (Zarządzane przez JS)      */
/* ========================================= */

  /* --- STAN ZJECHANY PONIŻEJ (Złagodzony) --- */
      /* --- STAN ZJECHANY PONIŻEJ --- 
.glass-navbar.scrolled {
    background-color: rgba(10, 15, 20, 0.8) !important; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.5) !important;
}
   */ 
/* ========================================= */
/* --- POTĘŻNE ANIMACJE KEYFRAMES ---        */
/* ========================================= */

@keyframes slideUpHide {
    0% { transform: translateY(0); background-color: rgba(10, 15, 20, 0.3)}
    100% { transform: translateY(-100%); background-color: rgba(10, 15, 20, 0.8)}
}

@keyframes slideDownShow {
    0% { transform: translateY(-100%); background-color: rgba(10, 15, 20, 0.8)}
    100% { transform: translateY(0); background-color: rgba(10, 15, 20, 0.3)}
}

.glass-navbar.scrolled .nav-brand img {
    transform: scale(1); /* Delikatnie maleje, bez podskakiwania */
}

/* Klasy z 'forwards' sprawiają, że pasek ZOSTAJE w miejscu po skończeniu animacji */
.nav-anim-hide {
    animation: slideUpHide 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

.nav-anim-show {
    animation: slideDownShow 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}