/* Neon Effect CSS for Profile */

/* Base neon effect class */
.neon-effect {
    position: relative;
    overflow: hidden;
}

/* Nameplate with neon effect */
.nameplate-effect.neon-border {
    background-color: rgba(0, 10, 20, 0.8);
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.4);
}

.nameplate-effect.neon-border:hover {
    box-shadow: 0 0 25px rgba(0, 255, 200, 0.7), 0 0 15px rgba(180, 255, 230, 0.6);
}

.nameplate-effect.neon-border .nameplate-icon {
    color: #00ffc8;
    animation: neon-pulse 1.5s infinite ease-in-out;
}

@keyframes neon-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(0, 255, 200, 0.7);
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
        text-shadow: 0 0 10px rgba(0, 255, 200, 0.9), 0 0 20px rgba(0, 255, 200, 0.5), 0 0 30px rgba(0, 255, 200, 0.3);
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(0, 255, 200, 0.7);
    }
}

/* Neon particles container */
.neon-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Individual neon particles */
.neon-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(0, 255, 200, 0.9) 0%, rgba(0, 255, 200, 0.1) 70%);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    z-index: 1;
    animation: neon-float 3s infinite ease-out;
}

@keyframes neon-float {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(calc(var(--float-y, -20px) * 0.5)) translateX(var(--float-x, 0px)) scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: translateY(var(--float-y, -40px)) translateX(calc(var(--float-x, 0px) * 2)) scale(0);
        opacity: 0;
    }
}

/* Neon glow effect */
.neon-glow {
    position: absolute;
    background: radial-gradient(circle, rgba(0, 255, 200, 0.4) 0%, rgba(0, 255, 200, 0) 70%);
    border-radius: 50%;
    filter: blur(5px);
    opacity: 0;
    z-index: 1;
    animation: neon-glow 2s infinite ease-out;
}

@keyframes neon-glow {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Neon trail effect */
.neon-trail {
    position: absolute;
    background: linear-gradient(to bottom, rgba(0, 255, 200, 0), rgba(0, 255, 200, 0.7), rgba(0, 255, 200, 0));
    filter: blur(2px);
    opacity: 0;
    z-index: 1;
    animation: neon-trail 1.5s infinite ease-out;
}

@keyframes neon-trail {
    0% {
        height: 0;
        opacity: 0;
    }
    30% {
        height: var(--trail-height, 20px);
        opacity: 0.7;
    }
    100% {
        height: var(--trail-height, 20px);
        opacity: 0;
    }
}

/* Neon overlay effect */
.nameplate-effect.neon-border::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 8px;
    background: linear-gradient(45deg, #00ffc8, #00e6b5, #80ffe6, #ffffff, #80ffe6, #00e6b5, #00ffc8);
    background-size: 400%;
    animation: border-neon 3s linear infinite;
    opacity: 0.5;
    filter: blur(5px);
    z-index: -1;
    transition: all 0.3s ease;
}

.nameplate-effect.neon-border:hover::before {
    opacity: 0.7;
    filter: blur(7px);
    animation: border-neon 2s linear infinite;
}

@keyframes border-neon {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Live text effect */
.live-text {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    background-color: rgba(255, 0, 0, 0.3);
    color: #ff3333;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: bold;
    letter-spacing: 1px;
    animation: live-pulse 1.5s infinite ease-in-out;
}

@keyframes live-pulse {
    0% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 0, 0, 0.9), 0 0 20px rgba(255, 0, 0, 0.5);
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.9), 0 0 20px rgba(255, 0, 0, 0.5);
    }
    100% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
    }
}