/* Custom Utilities */
.glass-panel {
    background: rgba(20, 20, 25, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel-hover:hover {
    background: rgba(30, 30, 35, 0.75);
    border-color: rgba(0, 255, 194, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 194, 0.1);
}

.scanlines {
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.2)
    );
    background-size: 100% 4px;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 10;
    opacity: 0.15;
}

@keyframes text-flicker {
    0% { opacity: 0.8; }
    5% { opacity: 1; }
    10% { opacity: 0.9; }
    15% { opacity: 0.3; }
    20% { opacity: 1; }
    50% { opacity: 0.9; }
    100% { opacity: 1; }
}
.tech-flicker {
    animation: text-flicker 4s infinite;
}

.text-glow {
    text-shadow: 0 0 10px rgba(0, 255, 194, 0.4);
}

.box-glow {
    box-shadow: 0 0 15px rgba(0, 255, 194, 0.4);
}

/* Custom scrollbar for webkit */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #111; 
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #333; 
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #444; 
}

.hotspot-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid #00FFC2;
    animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.hotspot-core {
    transition: all 0.3s ease;
}

.hotspot-wrapper:hover .hotspot-core {
    background-color: #00FFC2;
    box-shadow: 0 0 20px #00FFC2;
    transform: scale(1.2);
}

.floating-pill {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-pill:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Modal and Panel Animations */
.fade-in {
    animation: fadeIn 0.3s ease-in-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
