* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 850px;
    margin: auto;
    padding: 50px 20px;
}

header {
    text-align: center;
    margin-bottom: 35px;
}

header h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
}

header p {
    color: #777;
    margin-top: 8px;
    font-size: 15px;
}

.clock-card,
.status-card {
    background: #080808;
    border: 1px solid #1d1d1d;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 18px;
}

.label {
    color: #666;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

#date {
    font-size: 20px;
    font-weight: 600;
}

#time {
    font-size: 38px;
    font-weight: 700;
    margin-top: 4px;
}

.time-label {
    margin-top: 25px;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-top h2 {
    font-size: 22px;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #555;
}

.status-dot.online {
    background: #fff;
    box-shadow: 0 0 12px #fff;
}

.status-dot.offline {
    background: #777;
}

.status-dot.checking {
    background: #444;
}

.status {
    font-size: 18px;
    font-weight: 700;
    margin-top: 25px;
}

.online-text {
    color: #fff;
}

.offline-text {
    color: #777;
}

.checking-text {
    color: #555;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.stat {
    background: #000;
    border: 1px solid #1b1b1b;
    border-radius: 10px;
    padding: 18px;
}

.stat span {
    display: block;
    color: #666;
    font-size: 12px;
    margin-bottom: 8px;
}

.stat strong {
    font-size: 20px;
}

.last-check {
    color: #555;
    font-size: 12px;
    margin-top: 22px;
}

.last-check span {
    color: #888;
}

button {
    width: 100%;
    border: 1px solid #292929;
    background: #fff;
    color: #000;
    padding: 15px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #ddd;
}

footer {
    text-align: center;
    color: #444;
    font-size: 12px;
    margin-top: 30px;
}

@media (max-width: 600px) {
    .container {
        padding: 30px 15px;
    }

    header h1 {
        font-size: 34px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    #time {
        font-size: 32px;
    }
}