* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2980b9 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content {
    text-align: center;
    flex: 1;
}

.header-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.header-content h1 i {
    color: #3498db;
    margin-right: 15px;
    filter: drop-shadow(0 2px 4px rgba(52, 152, 219, 0.3));
}

.header-content p {
    font-size: 1.2rem;
    color: #5d6d7e;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cluster-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #34495e;
    font-weight: 500;
    background: rgba(52, 152, 219, 0.1);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.info-item i {
    color: #3498db;
    width: 20px;
}

/* Sections */
.servers-section, .applications-section {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.servers-section h2, .applications-section h2 {
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.servers-section h2 i, .applications-section h2 i {
    color: #3498db;
    filter: drop-shadow(0 2px 4px rgba(52, 152, 219, 0.3));
}

/* Servers Grid */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.server-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 24px;
    border-left: 5px solid;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(236, 240, 241, 0.8);
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s;
}

.server-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.server-card:hover::before {
    transform: translateX(100%);
}

.server-card.online {
    border-color: #27ae60;
    background: linear-gradient(135deg, #d5f4e6 0%, #ffffff 100%);
}

.server-card.offline {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #fadbd8 0%, #ffffff 100%);
}

.server-card.planned {
    border-color: #f39c12;
    background: linear-gradient(135deg, #fdeaa7 0%, #ffffff 100%);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.server-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.server-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-status.online {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.server-status.offline {
    background: linear-gradient(135deg, #e74c3c, #ec7063);
    color: white;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.server-status.planned {
    background: linear-gradient(135deg, #f39c12, #f4d03f);
    color: white;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.server-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #5d6d7e;
    font-weight: 500;
}

/* Categories */
.category {
    margin-bottom: 50px;
}

.category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 3px solid #ecf0f1;
    position: relative;
}

.category h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    border-radius: 2px;
}

.category h3 i {
    color: #3498db;
    filter: drop-shadow(0 2px 4px rgba(52, 152, 219, 0.3));
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.app-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(52, 152, 219, 0.08) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s;
}

.app-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
    background: linear-gradient(135deg, #ffffff 0%, #eaf2f8 100%);
}

.app-card:hover::before {
    transform: translateX(100%);
}

.app-card:hover i {
    transform: scale(1.1);
    color: #2980b9;
}

.app-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(52, 152, 219, 0.2));
}

.app-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.app-card p {
    font-size: 0.95rem;
    color: #5d6d7e;
    line-height: 1.5;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .container {
        padding: 15px;
    }
    
    .servers-section, .applications-section {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .app-card {
        padding: 24px;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ecf0f1;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: rgba(52, 152, 219, 0.2);
    color: #2c3e50;
}