/* Ninan Welcome Notification Styles */
.nwn-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 20px 40px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 99999;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-width: 300px;
    text-align: center;
    opacity: 0;
}

/* 滑入效果 */
.nwn-notification.animation-slide {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nwn-notification.animation-slide.show {
    top: 0;
    opacity: 1;
}

/* 淡入效果 */
.nwn-notification.animation-fade {
    top: 20px;
    transition: opacity 0.5s ease-in-out;
}

.nwn-notification.animation-fade.show {
    opacity: 1;
}

/* 弹跳效果 */
.nwn-notification.animation-bounce {
    top: 0;
    animation: nwn-bounce-in 0.6s ease-out forwards;
}

@keyframes nwn-bounce-in {
    0% {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    60% {
        transform: translateX(-50%) translateY(20px);
        opacity: 1;
    }
    80% {
        transform: translateX(-50%) translateY(-5px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.nwn-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #6a5acd 20%, 
        #ff6b6b 50%, 
        #6a5acd 80%, 
        transparent 100%);
    animation: nwn-gradient-animation 3s ease infinite;
}

@keyframes nwn-gradient-animation {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.nwn-notification .nwn-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    animation: nwn-pulse 2s ease-in-out infinite;
}

@keyframes nwn-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nwn-notification {
        width: 90%;
        min-width: unset;
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* 预览样式（用于后台） */
.nwn-notification-preview {
    z-index: 999999;
}