/* ========================================
   Tron Animated Logo
   ======================================== */

.logo-icon-tron {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon-tron i {
    font-size: 22px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    z-index: 5;
}

/* The Spinning Rings */
.logo-icon-tron::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #00d4ff;
    border-bottom-color: #7c3aed;
    animation: logo-spin 30s linear infinite;
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.6)) drop-shadow(0 0 8px rgba(124, 58, 237, 0.4));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.logo-icon-tron::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-left-color: rgba(0, 212, 255, 0.5);
    border-right-color: rgba(124, 58, 237, 0.5);
    animation: logo-spin-reverse 30s linear infinite;
    filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.4)) drop-shadow(0 0 6px rgba(124, 58, 237, 0.3));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* ========================================
   Sidebar Profile Tron (Desktop)
   ======================================== */
.profile-tron-rings {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    flex-shrink: 0;
}

.profile-tron-rings::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--accent-cyan);
    border-bottom-color: var(--accent-purple);
    animation: logo-spin 30s linear infinite;
    filter: drop-shadow(0 0 5px var(--accent-cyan));
    z-index: 1;
}

.profile-tron-rings::after {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid transparent;
    border-left-color: rgba(0, 212, 255, 0.4);
    border-right-color: rgba(124, 58, 237, 0.4);
    animation: logo-spin-reverse 30s linear infinite;
    z-index: 0;
}

/* Tron Spin: Rotates 360deg then holds for the remainder of the 30s cycle */
@keyframes logo-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    10% { transform: translate(-50%, -50%) rotate(360deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes logo-spin-reverse {
    0% { transform: translate(-50%, -50%) rotate(360deg); }
    10% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Sidebar Specific Adjustments */