/* Ultra Premium Navigation Button Styles - ENHANCED */

.nav-link-premium {
    position: relative;
    padding: 0.5rem 1.1rem !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(34, 129, 154, 0.9), rgba(144, 194, 231, 0.8));
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    color: #FFFFFF !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

/* Animated gradient border */
.nav-link-premium::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, #22819A, #90C2E7, #CDD4DD);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.nav-link-premium:hover::before {
    opacity: 1;
}

/* Shimmer animation - more pronounced */
.nav-link-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 25%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 75%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.7s ease;
}

.nav-link-premium:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Blue glow variant - ENHANCED */
.nav-link-premium[data-glow="blue"],
.nav-link-premium[data-glow="green"] {
    background: linear-gradient(135deg,
            #22819A,
            #48A3B8,
            #90C2E7);
    background-size: 200% 200%;
    animation: gradient-flow 4s ease infinite;
    box-shadow: 0 6px 24px rgba(34, 129, 154, 0.5),
        0 2px 12px rgba(34, 129, 154, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes gradient-flow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.nav-link-premium[data-glow="blue"]:hover,
.nav-link-premium[data-glow="green"]:hover {
    background: linear-gradient(135deg,
            rgba(34, 129, 154, 0.6),
            rgba(144, 194, 231, 0.5),
            rgba(34, 129, 154, 0.55));
    box-shadow: 0 12px 40px rgba(34, 129, 154, 0.5),
        0 6px 20px rgba(34, 129, 154, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 60px rgba(34, 129, 154, 0.3);
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(144, 194, 231, 0.6);
}

.nav-link-premium[data-glow="blue"]::before,
.nav-link-premium[data-glow="green"]::before {
    background: linear-gradient(135deg, #22819A, #90C2E7, #48A3B8, #22819A);
    background-size: 300% 300%;
}

/* Active state - ULTRA PREMIUM */
.nav-link-premium.active {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    box-shadow: 0 8px 32px rgba(34, 129, 154, 0.6),
        0 4px 16px rgba(34, 129, 154, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border-color: rgba(144, 194, 231, 0.6);
    animation: pulse-glow-teal 3s ease-in-out infinite, gradient-flow 4s ease infinite;
}

@keyframes pulse-glow-teal {
    0%,
    100% {
        box-shadow: 0 8px 32px rgba(34, 129, 154, 0.4),
            0 4px 16px rgba(34, 129, 154, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
    50% {
        box-shadow: 0 12px 48px rgba(34, 129, 154, 0.6),
            0 6px 24px rgba(34, 129, 154, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            0 0 80px rgba(34, 129, 154, 0.3);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-link-premium {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
}