/* ============================================
   DEATHSHRINE NAVBAR - ENHANCED REDESIGN
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100px; /* Larger static height */
    background: linear-gradient(to bottom, 
        rgba(10, 10, 10, 0.98), 
        rgba(15, 0, 0, 0.95));
    backdrop-filter: blur(15px);
    z-index: 10000;
    border-radius: 0 0 20px 20px; /* Rounded bottom corners */
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

/* Blood gradient border at bottom */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #8b0000 20%,
        #dc143c 50%,
        #8b0000 80%,
        transparent 100%);
    opacity: 0.6;
    border-radius: 2px;
}

/* Subtle blood mist effect */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(139, 0, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(220, 20, 60, 0.06) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.6;
    border-radius: 0 0 20px 20px;
}

.nav-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* LEFT NAVIGATION */
.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

/* LOGO - 50% Larger */
.nav-logo {
    height: 75px; /* Increased from 50px */
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-logo img {
    height: 100%;
    width: auto;
    filter: brightness(0.95) drop-shadow(0 0 10px rgba(139, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.nav-logo:hover img {
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(220, 20, 60, 0.6));
    transform: scale(1.05);
}

/* NAV LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px; /* Rounded edges */
    background: rgba(0, 0, 0, 0.3);
}

.nav-link .nav-icon {
    font-size: 18px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Link hover effect with smooth background */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background: linear-gradient(90deg, #dc143c, #8b0000);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(139, 0, 0, 0.15);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    opacity: 1;
}

.nav-link:hover .nav-icon {
    opacity: 1;
    color: #dc143c;
}

/* RIGHT NAVIGATION */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* DISCORD LINK - PULSING WITH DISCORD COLORS */
.discord-link {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid #5865F2;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.05));
    transition: all 0.3s ease;
    overflow: hidden;
    animation: discordPulse 2s ease-in-out infinite;
}

/* Discord icon */
.discord-link .discord-icon {
    width: 20px;
    height: 20px;
    fill: #5865F2;
    transition: all 0.3s ease;
}

/* Discord pulsing glow */
@keyframes discordPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(88, 101, 242, 0.4),
            0 0 40px rgba(88, 101, 242, 0.2),
            inset 0 0 15px rgba(88, 101, 242, 0.1);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(88, 101, 242, 0.6),
            0 0 60px rgba(88, 101, 242, 0.3),
            inset 0 0 20px rgba(88, 101, 242, 0.15);
    }
}

.discord-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.4), transparent);
    transition: width 0.4s ease, height 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.discord-link:hover::before {
    width: 150%;
    height: 150%;
}

.discord-link:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.3), rgba(88, 101, 242, 0.15));
    border-color: #7289DA;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 5px 30px rgba(88, 101, 242, 0.5),
        0 0 60px rgba(114, 137, 218, 0.3);
}

.discord-link:hover .discord-icon {
    fill: #7289DA;
    transform: rotate(20deg) scale(1.1);
}

/* REGISTER BUTTON - ENHANCED WITH SMOOTH TRANSITIONS */
.register-btn {
    position: relative;
    padding: 14px 36px;
    background: linear-gradient(135deg, #8b0000, #dc143c, #8b0000);
    background-size: 200% 200%;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid rgba(220, 20, 60, 0.3);
    border-radius: 12px; /* Rounded corners */
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: 
        pulseGlow 2s ease-in-out infinite,
        gradientShift 4s ease infinite;
}

/* Smooth pulsing glow effect */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 0 25px rgba(220, 20, 60, 0.4),
            0 0 50px rgba(220, 20, 60, 0.2),
            inset 0 0 20px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(220, 20, 60, 0.6),
            0 0 70px rgba(220, 20, 60, 0.3),
            inset 0 0 20px rgba(0, 0, 0, 0.3);
        transform: scale(1.02);
    }
}

/* Smooth gradient animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Shine effect */
.register-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

/* Smooth hover state */
.register-btn:hover {
    animation-play-state: paused;
    transform: translateY(-3px) scale(1.05);
    background-size: 300% 300%;
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 
        0 10px 40px rgba(220, 20, 60, 0.6),
        0 0 80px rgba(220, 20, 60, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.register-btn:hover::before {
    opacity: 1;
    left: 150%;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blood particles on hover */
.register-btn::after {
    content: '✦';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #dc143c;
    font-size: 20px;
    opacity: 0;
    transition: all 0.4s ease;
}

.register-btn:hover::after {
    opacity: 1;
    top: -30px;
    animation: float 1s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-5px) rotate(180deg);
    }
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(139, 0, 0, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #b0b0b0;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn:hover {
    background: rgba(139, 0, 0, 0.2);
    border-color: rgba(220, 20, 60, 0.5);
}

.mobile-menu-btn:hover span {
    background: #dc143c;
}

/* NO SCROLL CHANGES - Keep it static */
.navbar.scrolled {
    /* Remove all changes - navbar stays the same */
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar {
        height: 80px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-logo {
        height: 55px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .nav-logo {
        height: 45px;
    }
    
    .register-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .discord-link {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .discord-link .discord-icon {
        width: 18px;
        height: 18px;
    }
}