/* --- ISOLATED NAVBAR CSS --- */
.skip-announcement-bar {
    background-color: #1F2123;
    color: #EDEFF3;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem; /* 14px */
    line-height: 1.25rem;
    letter-spacing: -0.1px;
    z-index: 1001;
    position: fixed !important;
    top: 0;
    width: 100%;
}

.skip-announcement-link,
.skip-announcement-link:visited {
    color: #34AC80;
    font-weight: 400;
    font-size: 0.75rem; /* 12px */
    line-height: 1rem;
    text-decoration: none;
}
.skip-announcement-link:hover { text-decoration: underline; }
.skip-close-topbar { font-size: 0.6rem; cursor: pointer; }

.skip-navbar-wrapper {
    position: fixed;
    top: 2.375rem; /* 38px */
    left: 0;
    right: 0;
    z-index: 1000;
    padding-top: 1rem;
    transition: top 0.3s ease;
}

body.announcement-closed .skip-navbar-wrapper {
    top: 0;
}

.skip-navbar-custom {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    padding: 0.5rem;
    margin: 0 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 992px) {
    @media (min-width: 992px) {
        .skip-navbar-custom {
            max-width: 44.375rem; /* 710px */
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 1rem; /* 16px */
            border: 1px solid #E8E8E8;
            padding: 0;
            min-height: 3.5rem; /* 56px */
            transition: max-width 0.3s ease; /* Plynule roztiahnutie ramceka */
        }
        .skip-navbar-custom.nojoin {
            max-width: 38rem;
        }

        /* Ak je uzivatel prihlaseny, ramcek sa roztiahne pre ikonu Profilu */
        .skip-navbar-custom.is-logged-in {
            max-width: 48rem; /* 768px */
        }
    }
}

.skip-navbar-brand { padding-left: 1.5rem; }
.skip-navbar-brand img { height: 2.5rem; width: auto; }

.skip-nav-links-container {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
    gap: 1.125rem; /* 18px */
}

@media (min-width: 992px) {
    .skip-navbar-custom { gap: 3.6875rem; /* 59px */ }
}

.skip-nav-links-container li { display: flex; }

.skip-nav-link,
.skip-nav-link:visited {
    color: #1F2123;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.875rem; /* 14px */
    line-height: 0.875rem;
    text-decoration: none;
    padding: 0 0.25rem;
    white-space: nowrap;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    position: relative; /* Dôležité pre animáciu pseudo-elementu */
}

/* Animovaný podčiarkovník (vlnovka) */
.skip-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5rem;
    background-image: url('../images/menu_effect.svg');
    background-repeat: repeat-x;
    background-position: bottom;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: -1;
}

.skip-nav-link.active::before,
.skip-nav-link:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* Rezervácia miesta pre bold text (zamezuje poskakovaniu) */
.skip-nav-link::after {
    content: attr(data-text);
    height: 0;
    visibility: hidden;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
    font-weight: 600;
}

.skip-nav-link.active,
.skip-nav-link:hover {
    font-weight: 600;
}

.skip-btn-join,
.skip-btn-join:visited {
    background-color: #1F2123;
    color: #FFFFFF;
    border-radius: 0.5rem;
    border: 1px solid #000000;
    padding: 0.5rem 1rem;
    margin-right: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    transition: background-color 0.2s;
    height: 2rem;
    white-space: nowrap;
}
.skip-btn-join:hover { background-color: #000000; color: #ffffff; }
.skip-navbar-toggler { cursor: pointer; }
/* --- PROFILE LINK --- */
.skip-profile-link,
.skip-profile-link:visited {
    color: #1F2123;
    transition: color 0.2s ease;
}

.skip-profile-link:hover {
    color: #00d09c; /* Brand green */
}

/* Zabezpečí, že stroke vo vnútri SVG zmení farbu spolu s textom */
.skip-profile-link svg {
    stroke: currentColor;
    transition: stroke 0.2s ease;
}

.skip-profile-link-mobile,
.skip-profile-link-mobile:visited {
    color: #1F2123 !important;
}