:root {
    --bg-primary: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    --bg-secondary: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    --bg-tertiary: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent-primary: #6b7280;
    --accent-secondary: #9ca3af;
    --accent-tertiary: #4b5563;
    --accent-light: #d1d5db;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --glow-primary: 0 0 20px rgba(107, 114, 128, 0.4);
    --glow-secondary: 0 0 20px rgba(156, 163, 175, 0.4);
    --border-light: rgba(255, 255, 255, 0.08);
}

/* Disk Space Progress Bar */
.disk-space-bar {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
}

.disk-space-container {
    width: 100%;
}

.disk-space-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.disk-label {
    font-weight: 500;
}

.disk-details {
    display: flex;
    align-items: center;
    gap: 8px;
}

.disk-percentage {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 11px;
}

#diskDetails {
    font-size: 10px;
    color: var(--text-muted);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--success);
    border-radius: 3px;
    transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(15, 15, 23, 0.97) 0%, rgba(25, 25, 35, 0.95) 50%, rgba(15, 15, 23, 0.97) 100%),
        radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    background-size: 100% 100%, 120% 120%, 120% 120%, 100% 100%;
    z-index: -1;
    animation: modernGlow 25s ease-in-out infinite;
}


@keyframes modernGlow {
    0%, 100% { 
        transform: scale(1);
        background-position: 0% 0%, 0% 0%, 100% 100%, 50% 50%;
    }
    33% { 
        transform: scale(1.02);
        background-position: 10% 20%, 30% 10%, 90% 80%, 60% 40%;
    }
    66% { 
        transform: scale(0.98);
        background-position: 20% 10%, 70% 30%, 80% 90%, 40% 60%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    filter: drop-shadow(0 0 15px rgba(156, 163, 175, 0.3));
    animation: glow-subtle 4s ease-in-out infinite alternate;
}

@keyframes glow-subtle {
    from { filter: drop-shadow(0 0 15px rgba(156, 163, 175, 0.3)); }
    to { filter: drop-shadow(0 0 25px rgba(209, 213, 219, 0.4)); }
}

.title .logo {
    height: 3rem;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(156, 163, 175, 0.5));
    animation: logo-glow 3s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes logo-glow {
    0% { 
        filter: drop-shadow(0 0 8px rgba(156, 163, 175, 0.4));
        opacity: 0.9;
    }
    100% { 
        filter: drop-shadow(0 0 16px rgba(209, 213, 219, 0.8));
        opacity: 1;
    }
}

@keyframes pulse-subtle {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-section {
    margin-bottom: 2rem;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--glass-border);
    background: linear-gradient(135deg, var(--accent-light), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Mobile list view for phones */
@media (max-width: 768px) {
    .category-section {
        margin-bottom: 1.2rem;
    }
    
    .category-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
        padding-bottom: 0.3rem;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card {
        border-radius: 8px;
        height: auto;
        min-height: 35px;
    }
    
    .service-link {
        padding: 0.4rem 0.6rem;
        flex-direction: row;
        align-items: center;
        gap: 0.6rem;
        min-height: 35px;
    }
    
    .service-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
        margin-bottom: 0;
        flex-shrink: 0;
        border-radius: 4px;
    }
    
    .service-info {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .service-info h3 {
        font-size: 0.85rem;
        margin-bottom: 0;
        line-height: 1;
        font-weight: 500;
        flex-shrink: 0;
    }
    
    .service-info p {
        font-size: 0.7rem;
        margin-bottom: 0;
        line-height: 1;
        opacity: 0.7;
        text-align: right;
        flex-shrink: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .future-url {
        display: none;
    }
    
    /* Reduce header size on mobile */
    .container {
        padding: 0.6rem;
    }
    
    .header {
        margin-bottom: 0.8rem;
        padding: 0.8rem 0;
    }
    
    .title {
        font-size: 1.8rem;
        margin-bottom: 0.2rem;
    }
    
    .title .logo {
        height: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .header-update {
        margin: 0.8rem 0 0.4rem 0;
    }
    
    .update-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        border-radius: 12px;
    }
    
    /* Compact footer */
    .footer {
        padding: 1rem 0;
        margin-top: 1rem;
        font-size: 0.75rem;
    }
    
    .server-info {
        margin-top: 0.3rem;
        font-size: 0.7rem;
    }
    
    /* Language selector adjustments */
    .language-selector {
        top: 0.8rem;
        right: 0.8rem;
    }
    
    .language-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        border-radius: 12px;
    }
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: var(--glass-shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        var(--glow-primary);
    border-color: var(--accent-secondary);
}

.service-card.media:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(245, 158, 11, 0.4);
    border-color: var(--warning);
}

.service-card.dashboard:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(16, 185, 129, 0.4);
    border-color: var(--success);
}

.service-card.download:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(52, 144, 220, 0.4);
    border-color: rgba(52, 144, 220, 0.6);
}

.service-card.docker:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.6);
}

.service-card.automation:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 193, 7, 0.4);
    border-color: rgba(255, 193, 7, 0.6);
}

.service-card.radarr:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 193, 7, 0.4);
    border-color: rgba(255, 193, 7, 0.6);
}

.service-card.bazarr:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(147, 51, 234, 0.4);
    border-color: rgba(147, 51, 234, 0.6);
}

.service-card.admin:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(239, 68, 68, 0.4);
    border-color: var(--error);
}

.service-card.jellyseerr:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(236, 72, 153, 0.4);
    border-color: rgba(236, 72, 153, 0.6);
}

.service-card.sonarr:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(20, 184, 166, 0.4);
    border-color: rgba(20, 184, 166, 0.6);
}

.service-card.prowlarr:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(251, 146, 60, 0.4);
    border-color: rgba(251, 146, 60, 0.6);
}

.service-card.bullseye:hover {
    box-shadow: 
        var(--glass-shadow),
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(6, 182, 212, 0.4);
    border-color: rgba(6, 182, 212, 0.6);
}

.service-link {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.media .service-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(217, 119, 6, 0.9));
    color: white;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.dashboard .service-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.9));
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.download .service-icon {
    background: linear-gradient(135deg, rgba(52, 144, 220, 0.9), rgba(37, 117, 180, 0.9));
    color: white;
    box-shadow: 0 8px 25px rgba(52, 144, 220, 0.3);
}

.docker .service-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.9));
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.automation .service-icon {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(245, 158, 11, 0.9));
    color: white;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.radarr .service-icon {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(245, 158, 11, 0.9));
    color: white;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.bazarr .service-icon {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.9), rgba(126, 34, 206, 0.9));
    color: white;
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.3);
}

.admin .service-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
    color: white;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.jellyseerr .service-icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.9), rgba(219, 39, 119, 0.9)) !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3) !important;
}

.sonarr .service-icon {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.9), rgba(13, 148, 136, 0.9)) !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.3) !important;
}

.prowlarr .service-icon {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.9), rgba(245, 124, 0, 0.9)) !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(251, 146, 60, 0.3) !important;
}

.bullseye .service-icon {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.9), rgba(8, 145, 178, 0.9));
    color: white;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.service-info p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.future-url {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
    display: block;
    margin-top: 0.5rem;
}


.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    color: var(--text-muted);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px 20px 0 0;
}

.server-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

/* Additional mobile adjustments for larger phones/tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.6rem;
    }
    
    .service-link {
        padding: 0.35rem 0.5rem;
        min-height: 30px;
    }
    
    .service-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .service-info h3 {
        font-size: 0.8rem;
    }
    
    .service-info p {
        font-size: 0.65rem;
    }
    
    .language-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .update-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Loading animation */
.service-card {
    animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
.service-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(107, 114, 128, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-light));
    box-shadow: 0 0 15px rgba(156, 163, 175, 0.4);
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-secondary);
    box-shadow: 
        var(--glass-shadow),
        var(--glow-primary);
    transform: translateY(-2px);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    min-width: 180px;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.language-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    position: relative;
}

.language-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-secondary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1.5rem;
}

.language-option:hover::before {
    transform: scaleY(1);
}

.language-option.active {
    background: rgba(156, 163, 175, 0.15);
    border-left: 3px solid var(--accent-secondary);
}

/* Update Button */
.update-section {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.header-update {
    margin: 1.5rem 0 0.5rem 0;
}

.update-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 32px rgba(107, 114, 128, 0.3),
        var(--glass-shadow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.update-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.update-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(107, 114, 128, 0.4),
        var(--glow-primary),
        var(--glass-shadow);
}

.update-btn:hover::before {
    transform: translateX(100%);
}

.update-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.update-btn.loading {
    pointer-events: none;
    opacity: 0.8;
    animation: loading-pulse-dark 1.5s infinite;
}

@keyframes loading-pulse-dark {
    0%, 100% { 
        box-shadow: 
            0 8px 32px rgba(107, 114, 128, 0.3),
            var(--glass-shadow);
    }
    50% { 
        box-shadow: 
            0 8px 32px rgba(107, 114, 128, 0.6),
            0 0 30px rgba(156, 163, 175, 0.5),
            var(--glass-shadow);
    }
}

.update-btn.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.update-status {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid transparent;
    font-weight: 500;
}

.update-status.show {
    opacity: 1;
    transform: translateY(0);
}

.update-status.success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.update-status.error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
}

/* Language selector mobile adjustments are handled in main mobile section */
