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

body {
    background-color: #000000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.status-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    animation: borderPulse 3s infinite;
}

@keyframes borderPulse {
    0%, 100% {
        border-color: #00ff00;
        box-shadow: 0 10px 40px rgba(0, 255, 0, 0.1);
    }
    50% {
        border-color: #00cc00;
        box-shadow: 0 10px 40px rgba(0, 255, 0, 0.2);
    }
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.subtitle {
    color: #888888;
    font-size: 0.9em;
    letter-spacing: 1px;
}

.status-indicator {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.pulse {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #00ff00;
    border-radius: 50%;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px #00ff00;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.status-indicator h2 {
    font-size: 2em;
    color: #00ff00;
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    margin: 0;
}

.status-message {
    text-align: center;
    margin-bottom: 30px;
}

.working-text {
    font-size: 1.3em;
    color: #00ff00;
    font-weight: bold;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    }
}

.service-status {
    background-color: #0a0a0a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #1a1a1a;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a1a;
    gap: 15px;
}

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

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

.status-dot.online {
    background-color: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 10px #00ff00;
    }
    50% {
        box-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00;
    }
}

.service-name {
    flex: 1;
    font-size: 0.95em;
    color: #dddddd;
}

.service-state {
    font-size: 0.85em;
    color: #00ff00;
    font-weight: bold;
    background-color: rgba(0, 255, 0, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #00ff00;
}

.button-container {
    text-align: center;
    margin-bottom: 30px;
}

.dashboard-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    color: #000000;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
    letter-spacing: 0.5px;
}

.dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 0, 0.5);
    background: linear-gradient(135deg, #00ff00 0%, #00ff00 100%);
}

.dashboard-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 15px rgba(0, 255, 0, 0.3);
}

.footer {
    text-align: center;
    color: #666666;
    font-size: 0.85em;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
}

#timestamp {
    color: #00ff00;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 600px) {
    .status-card {
        padding: 25px;
    }

    .header h1 {
        font-size: 2em;
    }

    .status-indicator h2 {
        font-size: 1.5em;
    }

    .working-text {
        font-size: 1.1em;
    }

    .dashboard-btn {
        padding: 12px 30px;
        font-size: 1em;
    }
}
