/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: radial-gradient(circle at center, #0f1b28, #06090f);
    color: #e5f4ff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Animated Grid Background */
body::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}
@keyframes gridMove {
    from { transform: translate(0,0); }
    to { transform: translate(-50px,-50px); }
}

/* Modal Container */
.maintenance-box {
    position: relative;
    z-index: 1;
    background: rgba(15, 27, 40, 0.95);
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.3);
    backdrop-filter: blur(8px);
    animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Header */
.maintenance-box h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #4dd9ff;
    text-shadow: 0 0 10px rgba(77, 217, 255, 0.8);
    animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(77, 217, 255, 0.8); }
    50% { text-shadow: 0 0 20px rgba(77, 217, 255, 1); }
}

/* Static Status Message */
.status {
    font-size: 1rem;
    text-align: center;
    color: #a9cbe3;
    min-height: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Server List */
.server-list {
    margin: 1rem 0 1.5rem;
}
.server {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}
.server:last-child {
    border-bottom: none;
}
.server-name {
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 6px #00ff88;
}
.ping {
    color: #4dd9ff;
}

/* Footer Contact */
.footer {
    text-align: center;
    font-size: 0.8rem;
    color: #6f8fa8;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
}
.footer a {
    color: #4dd9ff;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* Last Checked */
.last-checked {
    text-align: center;
    font-size: 0.75rem;
    color: #7fa3b9;
    margin-top: 0.5rem;
}
