* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #58658a 0%, #7c588a 100%);
    min-height: 100vh;
    padding: 20px;
    color: #111111;
}

.container {
    max-width: 1104px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

header {
	background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    text-align: center;
}

h1 {
    color: #78882d;
    font-size: 2em;
    margin-bottom: 10px;
}

.server-info {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.credit {
    color: #999;
    font-size: 0.9em;
    margin-top: 10px;
}

.status-section {
    margin: 30px 0;
}

.section-title {
    font-size: 1.3em;
    color: #78882d;
    margin-bottom: 15px;
    font-weight: 600;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.status-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.status-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.status-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.status-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.status-name {
    font-weight: 600;
    color: #111111;
    font-size: 1em;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

#nginx-pulse {
    background: #28a745;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.status-value {
    font-size: 0.85em;
    color: #666;
}

.info-item {
    background: #e7f3ff;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.info-name {
    font-weight: 600;
    color: #78882d;
    font-size: 1em;
    margin-bottom: 8px;
}

.info-value {
    color: #111111;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

footer {
	background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: 0.9em;
}

.loading {
    text-align: center;
    color: #666;
    padding: 20px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    body {
        padding: 10px;
    }

    header, .status-card, .accordion, footer {
        padding: 20px;
    }
}
