/* Kõik serverid väljas teade */
.all-offline-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: #fff;
    border-radius: 18px;
    padding: 3rem 2rem;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(244,67,54,0.15);
    max-width: 500px;
    text-align: center;
    border: 2px solid #fff2;
    font-size: 1.2rem;
    animation: pulseOffline 1.5s infinite alternate;
}
.all-offline-message h2 {
    margin: 1rem 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #b71c1c44;
}
.all-offline-message p {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #fff;
    opacity: 0.95;
}
.offline-icon {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 8px #b71c1c66);
    animation: blinkOffline 1.2s infinite alternate;
}
@keyframes blinkOffline {
    0% { opacity: 1; }
    100% { opacity: 0.6; }
}
@keyframes pulseOffline {
    0% { box-shadow: 0 8px 32px rgba(244,67,54,0.15); }
    100% { box-shadow: 0 0 0 8px rgba(244,67,54,0.08); }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    color: #333;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: -1;
}

.header-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.header-controls {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.logo {
    height: 100px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 2rem;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-item i {
    font-size: 1.5rem;
    opacity: 0.8;
}

.stat-item span:first-of-type {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-item span:last-of-type {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.info-content i {
    font-size: 2rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.info-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-content p {
    margin: 0;
    opacity: 0.9;
}

/* Updates Section */
.updates-section {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.updates-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-bottom: 1px solid var(--border-glass);
}

.updates-header h2 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.updates-header h2 i {
    color: #4CAF50;
}

.toggle-updates {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.toggle-updates:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.updates-content {
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.updates-content.expanded {
    max-height: none;
}

.update-item {
    display: flex;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1.5rem;
}

.update-item:last-child {
    border-bottom: none;
}

.update-date {
    flex-shrink: 0;
    width: 150px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 500;
}

.update-date i {
    color: #4CAF50;
    margin-top: 2px;
}

.update-content-item {
    flex: 1;
}

.update-content-item h4 {
    color: white;
    font-size: 1.1rem;
    margin: 0 0 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.update-content-item h4 i {
    color: #4CAF50;
    font-size: 1rem;
}

.update-content-item ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.update-content-item li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    padding-left: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.update-content-item li:last-child {
    margin-bottom: 0;
}

/* Refresh Section */
.refresh-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.refresh-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.refresh-btn:active {
    transform: translateY(0);
}

.refresh-btn.loading .refresh-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border: none;
    cursor: pointer;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
    text-decoration: none;
    color: white;
}

.last-update {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Servers Grid */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.server-card {
    background: var(--bg-glass);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #9C27B0);
    border-radius: 20px 20px 0 0;
}

.server-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.server-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.server-ip {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-online {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.status-offline {
    background: linear-gradient(45deg, #f44336, #d32f2f);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.status-unknown {
    background: linear-gradient(45deg, #ff9800, #f57c00);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.server-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .server-info {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .servers-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
}

@media (max-width: 480px) {
    .server-info {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .servers-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.info-item {
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.info-item::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;
}

.info-item:hover::before {
    transform: translateX(100%);
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.info-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Server Actions */
.server-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.join-btn {
    flex: 1;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

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

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

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.join-btn.disabled {
    background: linear-gradient(45deg, #95a5a6, #7f8c8d);
    cursor: not-allowed;
    opacity: 0.6;
}

.join-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.copy-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

/* Loading */
.loading {
    text-align: center;
    color: white;
    padding: 3rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Error Message */
.error-message {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    color: #e74c3c;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.error-message h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.retry-btn {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.small-text {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
    backdrop-filter: blur(10px);
    color: #333;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #333;
}

.notification-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}

.notification-success {
    border-left: 4px solid #4CAF50;
}

.notification-success .notification-content i {
    color: #4CAF50;
}

.notification-error {
    border-left: 4px solid #f44336;
}

.notification-error .notification-content i {
    color: #f44336;
}

.notification-warning {
    border-left: 4px solid #ff9800;
}

.notification-warning .notification-content i {
    color: #ff9800;
}

.notification-info {
    border-left: 4px solid #2196F3;
}

.notification-info .notification-content i {
    color: #2196F3;
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 2rem 0;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .header-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .refresh-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .server-info {
        grid-template-columns: 1fr;
    }
    
    .server-actions {
        flex-direction: column;
    }
    
    .info-banner {
        padding: 1rem;
    }
    
    .info-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    /* Updates section mobile */
    .updates-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .updates-header h2 {
        font-size: 1.2rem;
    }
    
    .update-item {
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
    
    .update-date {
        width: auto;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 80px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .server-card {
        padding: 1.5rem;
    }
    
    .server-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 70px;
        padding: 0.5rem;
    }
    
    .stat-item span:first-of-type {
        font-size: 1.5rem;
    }
    
    .notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* Dark Mode Support */
:root {
    --bg-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-glass: rgba(255, 255, 255, 0.1);
    --bg-glass-hover: rgba(255, 255, 255, 0.2);
    --text-primary: #333;
    --text-light: white;
    --border-glass: rgba(255, 255, 255, 0.2);
    --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.1);
    --text-primary: #e0e0e0;
    --text-light: #f0f0f0;
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.3);
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Theme Toggle and Notification Buttons */
.theme-toggle, .notification-toggle {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover, .notification-toggle:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
}

.notification-toggle.active {
    background: rgba(76, 175, 80, 0.3);
    border-color: #4CAF50;
}

/* Controls Section */
.controls-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-filter-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 25px;
    color: var(--text-light);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #4CAF50;
    background: var(--bg-glass-hover);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: rgba(76, 175, 80, 0.3);
    border-color: #4CAF50;
}

/* Favorite Heart Button */
.favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.favorite-btn:hover {
    background: var(--bg-glass-hover);
    transform: scale(1.1);
}

.favorite-btn.active {
    background: rgba(220, 20, 60, 0.3);
    border-color: #dc143c;
    color: #dc143c;
}

/* Server Card Hover Effects */
.server-card:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow);
}

/* Responsive Updates */
@media (max-width: 768px) {
    .header-controls {
        position: relative;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .search-filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .filter-buttons {
        justify-content: center;
    }
}
