/*
Theme Name: Lecira Node Monitor
Theme URI: https://lecira.com
Author: Lecira Systems
Description: A modern, one-page status monitor with real-time ping analysis.
Version: 1.0
*/

:root {
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent-green: #00ff9d;
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-stack);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    animation: fadeIn 1s ease-out;
}

/* LOGO */
.logo-container {
    margin-bottom: 3rem;
}

.logo-container img {
    height: 70px; /* Small, elegant */
    width: auto;
    opacity: 0.9;
}

/* STATUS CARD */
.status-card {
    background: var(--card-bg);
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* LIVE INDICATOR */
.indicator-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.pulsing-dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent-green);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.7);
    animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 15px rgba(0, 255, 157, 0);
    }
}

.status-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-green);
}

/* MAIN TITLE */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* PING DISPLAY */
.ping-container {
    margin-top: 2rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: #000;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #333;
}

.ping-value {
    color: #fff;
    font-weight: bold;
}

/* FOOTER info */
.node-id {
    margin-top: 3rem;
    font-size: 0.75rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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