/* Enhanced Shizo CSS Styles with Dynamic Blur Effects */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --tertiary: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --quaternary: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --dark: #0a0a15;
    --darker: #050510;
    --light: #eee;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    --glow: 0 0 30px rgba(102, 126, 234, 0.6);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --blur-strong: blur(25px);
    --blur-medium: blur(15px);
    --blur-light: blur(8px);
}

/* Animated Background with Moving Gradients */
@keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes orb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.9); }
}

@keyframes orb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-40px, 30px) scale(1.2); }
    75% { transform: translate(60px, -20px) scale(0.8); }
}

@keyframes orb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(30px, 50px) scale(1.1); }
    80% { transform: translate(-50px, -30px) scale(0.9); }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: 
        linear-gradient(45deg, #0a0a15, #1a1a2e, #16213e, #2d1b69);
    background-size: 400% 400%;
    animation: backgroundShift 15s ease infinite;
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Dynamic Background Orbs */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
    opacity: 0.3;
}

body::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #667eea, #f093fb);
    top: -200px;
    right: -200px;
    animation: orb1 20s ease-in-out infinite;
}

body::after {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #4facfe, #fa709a);
    bottom: -175px;
    left: -175px;
    animation: orb2 25s ease-in-out infinite;
}

/* Additional floating orbs */
.floating-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(60px);
    opacity: 0.2;
}

.floating-orb:nth-child(1) {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #fee140, #fa709a);
    top: 20%;
    left: 10%;
    animation: orb3 30s ease-in-out infinite;
}

.floating-orb:nth-child(2) {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #a8edea, #fed6e3);
    top: 60%;
    right: 20%;
    animation: orb1 35s ease-in-out infinite reverse;
}

.app-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(240, 147, 251, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
}

/* Enhanced Header with Glassmorphism */
.header {
    background: rgba(10, 10, 21, 0.3);
    backdrop-filter: var(--blur-medium);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(240, 147, 251, 0.1) 50%, 
        rgba(79, 172, 254, 0.1) 100%);
    z-index: -1;
    animation: backgroundShift 10s ease infinite;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo i {
    font-size: 2.2rem;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

.logo h1 {
    font-size: 1.9rem;
    font-weight: 700;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.3));
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Enhanced Buttons with Blur Effects */
.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--blur-light);
}

.btn::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.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: rgba(102, 126, 234, 0.8);
    color: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid rgba(102, 126, 234, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
    background: rgba(102, 126, 234, 0.9);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

/* Enhanced Main Content */
.main-content {
    display: flex;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

/* Enhanced Sidebar with Advanced Glassmorphism */
.sidebar {
    width: 320px;
    background: rgba(10, 10, 21, 0.4);
    backdrop-filter: var(--blur-strong);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    height: fit-content;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.sidebar-header {
    margin-bottom: 1.5rem;
}

.sidebar-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(79, 172, 254, 0.3));
}

.category-item {
    margin-bottom: 0.8rem;
}

.category-btn {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--blur-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(102, 126, 234, 0.1), 
        transparent);
    transition: left 0.5s;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}

.category-btn.active {
    background: rgba(102, 126, 234, 0.8);
    border-color: rgba(102, 126, 234, 1);
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    transform: scale(1.02);
}

.subcategory-list {
    margin-top: 0.8rem;
    margin-left: 1rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.subcategory-list.open {
    max-height: 600px;
}

.subcategory-btn {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--blur-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--light);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.subcategory-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(240, 147, 251, 0.1), 
        transparent);
    transition: left 0.4s;
}

.subcategory-btn:hover::before {
    left: 100%;
}

.subcategory-btn:hover {
    background: rgba(240, 147, 251, 0.25);
    border-color: rgba(240, 147, 251, 0.5);
    transform: translateX(5px) scale(1.01);
    box-shadow: 0 10px 20px rgba(240, 147, 251, 0.2);
}

.subcategory-btn.active {
    background: rgba(240, 147, 251, 0.8);
    border-color: rgba(240, 147, 251, 1);
    box-shadow: 0 0 30px rgba(240, 147, 251, 0.5);
}

/* Enhanced Content Area */
.content-area {
    flex: 1;
    background: rgba(10, 10, 21, 0.4);
    backdrop-filter: var(--blur-strong);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-light);
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.breadcrumb-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.content-header {
    margin-bottom: 2.5rem;
}

.content-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.4));
}

.welcome-screen {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.welcome-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.welcome-screen h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--blur-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(79, 172, 254, 0.1), 
        transparent);
    transition: left 0.5s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(79, 172, 254, 0.2);
}

.stat-item i {
    font-size: 1.8rem;
    color: #4facfe;
    filter: drop-shadow(0 0 8px rgba(79, 172, 254, 0.5));
}

/* Enhanced Response Area */
.response-area {
    margin-top: 2.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: var(--blur-medium);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.response-header {
    padding: 1.2rem 1.8rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--blur-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.response-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.response-body {
    padding: 2rem;
    max-height: 450px;
    overflow-y: auto;
}

.response-body pre {
    background: transparent;
    color: #00f2fe;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.3));
}

/* Enhanced Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 21, 0.95);
    backdrop-filter: var(--blur-strong);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(102, 126, 234, 0.3);
    border-top: 5px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

/* Enhanced Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    width: auto;
    max-width: 380px;
}

.toast {
    padding: 1.2rem 1.8rem;
    margin-bottom: 0.8rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: var(--blur-medium);
    color: var(--white);
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast.success {
    background: rgba(76, 175, 80, 0.8);
    border-color: rgba(76, 175, 80, 1);
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.3);
}

.toast.error {
    background: rgba(244, 67, 54, 0.8);
    border-color: rgba(244, 67, 54, 1);
    box-shadow: 0 0 30px rgba(244, 67, 54, 0.3);
}

.toast.info {
    background: rgba(33, 150, 243, 0.8);
    border-color: rgba(33, 150, 243, 1);
    box-shadow: 0 0 30px rgba(33, 150, 243, 0.3);
}

/* Enhanced Footer */
.app-footer {
    background: rgba(10, 10, 21, 0.6);
    backdrop-filter: var(--blur-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.app-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--tertiary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 1rem;
    font-size: 1.6rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.social-links a:hover {
    color: var(--white);
    transform: scale(1.2) translateY(-3px);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Enhanced API Key Input */
.api-key-input-container {
    margin-top: 1.5rem;
}

.api-key-input-dynamic {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-light);
    color: var(--white);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    outline: none;
    transition: var(--transition);
    width: calc(100% - 80px);
    flex-grow: 1;
}

.api-key-input-dynamic::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.api-key-input-dynamic:focus {
    border-color: #4facfe;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

/* Enhanced Animations */
@keyframes glow {
    0% { filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.5)); }
    100% { filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.9)); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideIn {
    from { 
        transform: translateX(120%) scale(0.8); 
        opacity: 0; 
    } 
    to { 
        transform: translateX(0) scale(1); 
        opacity: 1; 
    }
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    backdrop-filter: var(--blur-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
    box-shadow: 0 0 15px rgba(240, 147, 251, 0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
    }
    
    .header-content {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-around;
    }
    
    body::before,
    body::after {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .social-links a {
        margin: 0 0.8rem;
        font-size: 1.4rem;
    }
    
    .welcome-icon {
        font-size: 4rem;
    }
    
    .content-header h2 {
        font-size: 1.8rem;
    }
    
    .welcome-screen h3 {
        font-size: 1.6rem;
    }
    
    body::before,
    body::after {
        width: 250px;
        height: 250px;
        filter: blur(60px);
    }
    
    .floating-orb:nth-child(1) {
        width: 150px;
        height: 150px;
    }
    
    .floating-orb:nth-child(2) {
        width: 120px;
        height: 120px;
    }
}

/* Ultra-wide screen optimizations */
@media (min-width: 1920px) {
    .main-content {
        max-width: 1600px;
        gap: 3rem;
    }
    
    .sidebar {
        width: 350px;
    }
    
    .content-area {
        padding: 3rem;
    }
    
    .header-content {
        max-width: 1600px;
    }
    
    body::before {
        width: 500px;
        height: 500px;
        filter: blur(100px);
    }
    
    body::after {
        width: 450px;
        height: 450px;
        filter: blur(90px);
    }
}

/* Additional Interactive Elements */
.pulse-effect {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Particle effect for background (CSS only) */
.particle {
    position: fixed;
    pointer-events: none;
    opacity: 0.1;
    animation: particle-float 20s linear infinite;
}

.particle:nth-child(odd) {
    animation-duration: 25s;
    animation-delay: -5s;
}

.particle:nth-child(even) {
    animation-duration: 30s;
    animation-delay: -10s;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Hover effects for enhanced interactivity */
.interactive-glow {
    transition: var(--transition);
}

.interactive-glow:hover {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* Focus states for accessibility */
button:focus,
.btn:focus,
.category-btn:focus,
.subcategory-btn:focus {
    outline: 2px solid rgba(79, 172, 254, 0.8);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
        --glow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
    
    .sidebar,
    .content-area,
    .header {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    body::before,
    body::after,
    .floating-orb {
        animation: none;
    }
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .header,
    .sidebar,
    .app-footer {
        display: none;
    }
    
    .main-content {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .content-area {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
}