/* Liquid Glass Effect Styles */
.liquid-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.liquid-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.liquid-glass:hover::before {
    left: 100%;
}

.liquid-glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.liquid-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.liquid-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.glass-button:hover::before {
    left: 100%;
}

.gradient-bg {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%,
        rgba(147, 51, 234, 0.1) 25%,
        rgba(236, 72, 153, 0.1) 50%,
        rgba(239, 68, 68, 0.1) 75%,
        rgba(245, 158, 11, 0.1) 100%
    );
}

.animated-bg {
    background: linear-gradient(-45deg, 
        #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    }
}

/* Dashboard Specific Styles */
.liquid-glass-dashboard {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.cyber-grid {
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    animation: floatOrb 8s ease-in-out infinite;
    z-index: 0;
}

.floating-orb:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-orb:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-orb:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-30px) scale(1.1);
        opacity: 0.6;
    }
}

.holographic {
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.1) 0%,
        rgba(255, 0, 255, 0.1) 25%,
        rgba(0, 255, 0, 0.1) 50%,
        rgba(255, 255, 0, 0.1) 75%,
        rgba(0, 255, 255, 0.1) 100%
    );
    animation: holographicShift 10s ease-in-out infinite;
    z-index: 0;
}

@keyframes holographicShift {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.glow-effect {
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.2),
        0 0 80px rgba(59, 130, 246, 0.1);
}

.neon-border {
    border: 2px solid rgba(0, 255, 255, 0.5);
    box-shadow: 
        0 0 10px rgba(0, 255, 255, 0.3),
        inset 0 0 10px rgba(0, 255, 255, 0.1);
}

.text-glow {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(59, 130, 246, 0.3),
        0 0 30px rgba(59, 130, 246, 0.2);
}

.stagger-animation {
    animation: staggerIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation:nth-child(6) { animation-delay: 0.6s; }

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.data-stream {
    position: relative;
    overflow: hidden;
}

.data-stream::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 255, 0.1),
        transparent
    );
    animation: dataFlow 3s ease-in-out infinite;
}

@keyframes dataFlow {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.animate-fade-in-delay {
    animation: fadeInDelay 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fadeInDelay {
    to {
        opacity: 1;
    }
}

/* Dark Theme Styles */
.dark-dashboard {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #1a1a1a 50%, #0f0f0f 75%, #000000 100%);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.dark-liquid-glass {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.dark-liquid-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s;
}

.dark-liquid-glass:hover::before {
    left: 100%;
}

.dark-liquid-glass-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dark-liquid-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.dark-cyber-grid {
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

.dark-floating-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    animation: floatOrb 8s ease-in-out infinite;
    z-index: 0;
}

.dark-floating-orb:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

.dark-floating-orb:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.2) 0%, transparent 70%);
}

.dark-floating-orb:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
}

.dark-holographic {
    background: linear-gradient(45deg, 
        rgba(0, 0, 0, 0.1) 0%,
        rgba(59, 130, 246, 0.05) 25%,
        rgba(147, 51, 234, 0.05) 50%,
        rgba(236, 72, 153, 0.05) 75%,
        rgba(0, 0, 0, 0.1) 100%
    );
    animation: holographicShift 10s ease-in-out infinite;
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .liquid-glass-dashboard,
    .dark-dashboard {
        padding: 1rem;
    }
    
    .floating-orb,
    .dark-floating-orb {
        width: 100px;
        height: 100px;
    }
    
    .cyber-grid,
    .dark-cyber-grid {
        background-size: 25px 25px;
    }
}
