/* ===== Global Styles ===== */
body {
    margin: 0;
    background: #050d1a;
    font-family: "Courier New", monospace;
    color: #00bfff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::after {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 191, 255, 0.03),
        rgba(0, 191, 255, 0.03) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: -1;
}

/* ===== Terminal Container ===== */
.terminal {
    flex: 1;
    padding: 60px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== Header ===== */
.header {
    margin-bottom: 50px;
}

.title {
    font-size: 32px;
    color: #4fc3f7;
}

.subtitle {
    color: #1e88e5;
    font-size: 14px;
    margin-top: 5px;
}

/* ===== Grid Layout ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

/* ===== Cards ===== */
.card {
    border: 1px solid #003366;
    padding: 25px;
    background: rgba(0, 20, 40, 0.85);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
    transition: 0.3s ease;
}

.card:hover {
    box-shadow: 0 0 35px rgba(0, 191, 255, 0.4);
    transform: translateY(-3px);
}

.card-title {
    font-size: 14px;
    color: #1e88e5;
    margin-bottom: 15px;
}

.card-content {
    font-size: 18px;
    color: #90caf9;
    word-break: break-word;
}

/* ===== Status Indicator ===== */
.status-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: gray;
    box-shadow: 0 0 10px gray;
    transition: 0.3s ease;
}

.online {
    background: #00ffcc;
    box-shadow: 0 0 20px #00ffcc;
}

.offline {
    background: #ff4c4c;
    box-shadow: 0 0 20px #ff4c4c;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    border-top: 1px solid #003366;
    background: rgba(0, 20, 40, 0.9);
    color: #90caf9;
}

footer a {
    color: #4fc3f7;
    text-decoration: none;
}

footer a:hover {
    text-shadow: 0 0 8px #4fc3f7;
}
