* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.clock-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#flipclock {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem !important;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    color: #ffffff;
    font-size: 10px;
    line-height: 1.6;
    opacity: 0.7;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.separator {
    opacity: 0.6;
}

#date,
#statusText,
.status,
.offset,
.update-time {
    color: #ffffff;
    font-weight: 500;
}

.status-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.footer-attributes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 8px;
    font-size: 10px;
    opacity: 0.7;
}

.attribute {
    color: #ffffff;
    font-weight: 400;
}

.attribute-separator {
    opacity: 0.5;
}

.label {
    color: #666;
    font-weight: 600;
}

.status {
    color: #667eea;
    font-weight: 700;
}

.offset {
    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #4caf50;
        animation: pulse 2s infinite;
    }

    .dot.error {
        background: #ff6b6b;
        animation: none;
    }

    /* Animations */
    @keyframes pulse {

        0%,
        100% {
            box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
        }

        50% {
            box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
        }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .main-container {
            padding: 30px 20px;
        }

        #flipclock {
            font-size: 5rem !important;
        }

        .footer {
            padding: 15px;
            font-size: 6px;
        }

        .footer-content {
            gap: 8px;
        }
    }

    @media (max-width: 480px) {
        .main-container {
            padding: 20px;
        }

        #flipclock {
            font-size: 3rem !important;
        }

        .footer {
            padding: 12px;
            font-size: 6px;
        }

        .footer-content {
            gap: 6px;
        }
    }
}