@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_24pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_28pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_28pt-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

body {
    background-color: #16181d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
    padding: 2rem;
    box-sizing: border-box;
}

.clock-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.clock {
    display: flex;
    gap: 12px;
    align-items: center;
}

.digit {
    background: #1d2028;
    width: calc(22vw);
    max-width: 220px;
    height: calc(32vw);
    max-height: 320px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(16vw);
    font-weight: 800;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #1d2028, #2d3038);
}

.digit span {
    color: #c0c8d1;
    text-shadow: 2px 2px 8px rgba(192, 200, 209, 0.3);
}

.digit::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.3);
    top: 50%;
    left: 0;
}

.divider {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0 8px;
}

.divider-dot {
    width: 16px;
    height: 16px;
    background: #c0c8d1;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(192, 200, 209, 0.3);
}

.ampm {
    color: #c0c8d1;
    font-size: calc(3vw);
    font-weight: 600;
    margin-left: 20px;
    opacity: 0.9;
}

.date-container {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
}

@media (min-width: 1200px) {
    .digit {
        font-size: 192px;
    }
    .ampm {
        font-size: 36px;
    }
}