@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');

:root {
    --color-black: #050505;
    --color-white: #e9e9e9;
    --color-track: #cfd4d8;
    --color-accent: #111827;
    --color-disabled: #808693;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Heebo', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--color-white);

}

main {
    position: relative;
    width: 100vw;
    min-height: 100vh;

    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #f4f4f4 0%, #e9e9e9 65%, #d9d9d9 100%);
}

.light-source {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle, #fffbe6 0%, #ffe799 55%, #ffc94a 100%);
    box-shadow: 0 0 25px rgba(255, 201, 74, 0.8);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.main-object {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background-color: var(--color-black);
    border-radius: 50%;
    z-index: 2;
}

header {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    top: 16px;
    left: 0;
    padding: 0 20px;
    z-index: 3;
}

.header-content {
    display: flex;
    flex-direction: column;
}

.header-content>h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-black);
}

.header-content>p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-black);
    opacity: 0.8;
}

.header-time {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.header-time-data {
    display: flex;
    flex-direction: column;
    align-items: end;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: var(--color-black);
}

.header-time-data>span {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
    color: var(--color-black);
}

footer {
    position: absolute;
    left: 0;
    bottom: 24px;
    width: 100%;
    padding: 0 24px;
    z-index: 3;
}

.liveToggle {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: end;
    padding: 8px 0px;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
}

.liveToggle button {
    display: flex;
    align-items: center;
    border: none;
    gap: 8px;
    background: var(--color-track);
    padding: 4px 12px;
    border-radius: 8px;
    color: var(--color-accent);
    cursor: pointer;


}

.liveDotDisabled {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: solid 2px var(--color-disabled);
}

.liveDot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent);
}

.time-scale {
    position: relative;
    height: 44px;
    cursor: pointer;
}

.time-scale-track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: repeating-linear-gradient(to right,
            transparent 0 calc((100% / 24) - 1px),
            rgba(5, 5, 5, 0.55) calc((100% / 24) - 1px) calc(100% / 24)),
        repeating-linear-gradient(to right,
            transparent 0 calc((100% / 96) - 1px),
            rgba(5, 5, 5, 0.24) calc((100% / 96) - 1px) calc(100% / 96)),
        linear-gradient(to right, #d9dde1, #bcc4cc);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.time-scale-cursor {
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid #ffffff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.time-scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(5, 5, 5, 0.75);
    user-select: none;
}

@media (max-width: 720px) {
    .main-object {
        width: 150px;
        height: 150px;
    }

    .header-content>h1 {
        font-size: 20px;
    }

    .header-content>p,
    .header-time-data {
        font-size: 12px;
    }

    .header-time-data>span {
        font-size: 20px;
    }
}