﻿.deluxe-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(120deg, #0f1626 0%, #111936 45%, #15204c 100%);
    padding: 12px 0 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.nav-accent {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 30%, rgba(29, 211, 248, 0.14), transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(45, 85, 255, 0.22), transparent 45%);
    pointer-events: none;
}

.nav-glass {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: visible;
}

.nav-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-block img {
    max-height: 54px;
}

.nav-subtitle {
    color: #d7e7ff;
    font-size: 13px;
    letter-spacing: 0.2px;
    opacity: 0.85;
}

.nav-links .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #e8f0ff;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
    color: #1dd3f8;
    background: rgba(29, 211, 248, 0.08);
    box-shadow: 0 10px 25px rgba(29, 211, 248, 0.14);
}

.icon-circle {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #bcd3ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 991px) {
    .nav-actions {
        display: none;
    }
}

.pill-btn {
    background: linear-gradient(120deg, #1dd3f8 0%, #2d55ff 100%);
    color: #0b1122;
    padding: 11px 18px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    box-shadow: 0 12px 25px rgba(45, 85, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(45, 85, 255, 0.45);
    color: #0b1122;
}

.ghost-btn,
.primary-outline {
    padding: 11px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e8f0ff;
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.ghost-btn:hover,
.primary-outline:hover {
    color: #1dd3f8;
    border-color: rgba(29, 211, 248, 0.4);
    box-shadow: 0 12px 26px rgba(29, 211, 248, 0.2);
}

.user-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e8f0ff;
    position: relative;
    overflow: visible;
}

.user-pill.highlighted {
    background: linear-gradient(145deg, rgba(29, 211, 248, 0.15), rgba(45, 85, 255, 0.1));
    border-color: rgba(29, 211, 248, 0.4);
    box-shadow: 0 10px 24px rgba(29, 211, 248, 0.25);
}

.user-pill.subtle {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(160deg, #2d55ff, #1dd3f8);
    color: #0b1122;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.user-label {
    font-size: 11px;
    color: #c9d8f9;
    opacity: 0.85;
}

.user-name {
    font-weight: 700;
    color: #ffffff;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    position: absolute;
    inset-inline-end: 10px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 0 rgba(29, 211, 248, 0.35);
}

.status-dot.online {
    background: radial-gradient(circle at 35% 35%, #dff7ff, #1dd3f8 55%, #1177ff 100%);
    animation: pulseGlow 2s infinite;
}

.status-dot.offline {
    background: linear-gradient(145deg, #f8cdda, #1d2b64);
    opacity: 0.6;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(29, 211, 248, 0.45);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(29, 211, 248, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(29, 211, 248, 0);
    }
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-account-entry {
    margin-top: 16px;
}

.mobile-account-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(29, 211, 248, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
}

.mobile-account-card .mobile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(160deg, #2d55ff, #1dd3f8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #0b1122;
    margin-left: 10px;
}

.mobile-account-card .mobile-label {
    font-size: 12px;
    color: #c9d8f9;
    opacity: 0.8;
}

.mobile-account-card .mobile-name {
    font-weight: 700;
    color: #ffffff;
}

.mobile-account-card .mobile-account-actions {
    margin-top: 12px;
}

.mobile-account-card .btn {
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.mobile-account-card.is-authenticated {
    border-color: rgba(29, 211, 248, 0.35);
    box-shadow: 0 18px 36px rgba(29, 211, 248, 0.12);
}

.login-btn {
    background: linear-gradient(120deg, #fefefe 0%, #d8e7ff 100%);
    color: #0d1b3e;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 12px 28px rgba(216, 231, 255, 0.32);
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: linear-gradient(120deg, #1dd3f8 0%, #2d55ff 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(45, 85, 255, 0.35);
}

.mobile-language-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.desktop-language-container {
    display: none;
}

@media (max-width: 1199px) {
    .nav-grid {
        grid-template-columns: 1fr auto;
        grid-template-rows: repeat(2, auto);
        gap: 14px;
    }
}

@media (max-width: 991px) {
    .deluxe-nav {
        padding: 10px 0 14px;
    }

    .mobile-nav {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
    }

    .mobile-nav .logo img {
        max-height: 44px;
        width: auto;
    }

    .mobile-language-container {
        display: block !important;
    }

    .desktop-language-container {
        display: none !important;
    }

    .mobile-nav .logo {
        margin-right: auto;
    }

    .mobile-nav .meanmenu-reveal {
        margin-left: 0;
    }

    a.meanmenu-reveal.meanclose {
        top: 20px !important;
    }

    .mobile-nav .logo {
        top: 7px !important;
    }

    .mobile-nav .meanmenu-reveal {
        margin-left: 13px;
    }

    .mean-container a.meanmenu-reveal span {
        margin-top: 8px !important;
    }

    .mean-container .mean-bar {
        height: 82px;
        right:0 !important
    }

    .mean-container a.meanmenu-reveal {
        top: 13px !important;
    }
}

@media (min-width: 992px) {
    .mobile-language-container {
        display: none !important;
    }

    .desktop-language-container {
        display: block !important;
    }
}

.mean-container .mobile-account-entry {
    display: block;
    padding: 0 16px 16px;
}

.mean-container .mobile-account-card {
    margin-top: 14px;
}
