/* ===== ADVANCED RIVEN EFFECTS STYLES ===== */

/* Interaction canvas for particles and effects */
#interaction-canvas {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
}

/* Runic Blade on avatar hover */
.avatar-wrap {
    position: relative;
    cursor: pointer;
}

.avatar-wrap::before {
    content: "⚔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    font-size: 120px;
    color: rgba(0, 255, 136, 0);
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: -1;
}

.avatar-wrap:hover::before {
    transform: translate(-50%, -50%) rotate(405deg) scale(1.5);
    color: rgba(0, 255, 136, 0.6);
    animation: runicPulse 2s ease-in-out infinite;
}

@keyframes runicPulse {

    0%,
    100% {
        text-shadow: 0 0 30px rgba(0, 255, 136, 0.8),
            0 0 60px rgba(0, 255, 136, 0.4);
    }

    50% {
        text-shadow: 0 0 40px rgba(0, 255, 136, 1),
            0 0 80px rgba(0, 255, 136, 0.6);
    }
}

/* Broken Wings Counter */
.broken-wings-counter {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    display: flex;
    gap: 15px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.broken-wings-counter.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.broken-wings-counter .wing {
    font-size: 32px;
    color: rgba(0, 255, 136, 0.3);
    filter: grayscale(1);
    transition: all 0.2s ease;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.broken-wings-counter .wing.active {
    color: rgba(0, 255, 136, 1);
    filter: grayscale(0);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.8),
        0 0 40px rgba(0, 255, 136, 0.4);
    animation: wingActivate 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes wingActivate {
    0% {
        transform: scale(0.5) rotate(-20deg);
    }

    50% {
        transform: scale(1.3) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Valor Dash Effect */
.valor-dash {
    position: fixed;
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 255, 136, 0.8) 50%,
            transparent 100%);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    pointer-events: none;
    z-index: 999;
    animation: valorDashAnim 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes valorDashAnim {
    0% {
        transform: translateX(-100px) scaleX(0.5);
        opacity: 1;
    }

    50% {
        transform: translateX(300px) scaleX(2);
        opacity: 0.8;
    }

    100% {
        transform: translateX(600px) scaleX(0.5);
        opacity: 0;
    }
}

/* Noxian Arena Background Pattern */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(0, 255, 136, 0.02) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(0, 255, 136, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

/* Enhanced link button hover for Wind Aura */
.link-btn {
    position: relative;
    overflow: visible;
}

.link-btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(circle at center,
            rgba(0, 255, 136, 0.1) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.link-btn:hover::after {
    opacity: 1;
    animation: windAuraPulse 2s ease-in-out infinite;
}

@keyframes windAuraPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}