:root {
    --widget-width: 720px;
    --widget-height: 420px;
    --background: rgba(0, 38, 65, 0.92);
    --border: rgba(144, 185, 226, 0.86);
    --primary-text: #fff;
    --secondary-text: rgba(237, 237, 237, 0.76);
    --accent: #faa634;
}

* { box-sizing: border-box; }

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: transparent;
    font-family: Inter, Arial, Helvetica, sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-soon-widget {
    position: relative;
    width: var(--widget-width);
    height: var(--widget-height);
    overflow: hidden;
    color: var(--primary-text);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.055), transparent 48%),
        linear-gradient(90deg, rgba(0,85,150,0.34), transparent),
        var(--background);
    border: 2px solid var(--border);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 100% 0 0);
}

body::before,
body::after {
    content: "";
    position: fixed;
    left: calc(50% - (var(--widget-width) / 2));
    top: calc(50% - (var(--widget-height) / 2));
    width: 2px;
    height: var(--widget-height);
    background: var(--border);
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

body::before {
    transform: scaleY(0);
    transform-origin: center;
    animation: drawLeftBorder 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body::after {
    animation: moveRightBorder 0.62s 0.36s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.back-soon-widget.reveal-animation {
    visibility: visible;
    animation: revealWidget 0.62s 0.36s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.back-soon-widget.ready {
    opacity: 1;
    visibility: visible;
    clip-path: inset(0);
}

body.widget-ready::before,
body.widget-ready::after { opacity: 0; }

.timer-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 66px 45px;
    opacity: 0;
}

.back-soon-widget.reveal-animation .timer-content {
    animation: contentIn 0.36s 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.back-soon-widget.ready .timer-content { opacity: 1; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.28em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(250,166,52,0.15);
}

h1 {
    margin: 0;
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
}

p {
    margin: 13px 0 18px;
    color: var(--secondary-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.21em;
}

.timer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 465px;
    font-variant-numeric: tabular-nums;
    font-size: 112px;
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: 0.025em;
}

.separator {
    position: relative;
    top: -7px;
    margin: 0 13px;
    color: rgba(255,255,255,0.72);
    animation: separatorPulse 1s steps(1, end) infinite;
}

.progress-track {
    width: 100%;
    height: 4px;
    margin-top: 30px;
    overflow: hidden;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
}

.progress-fill {
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: inherit;
    transform-origin: left;
}

.back-soon-widget.complete .status-dot { animation: completePulse 1.1s ease-in-out infinite; }
.back-soon-widget.complete .separator { animation: none; }

@keyframes drawLeftBorder {
    from { opacity: 1; transform: scaleY(0); }
    to { opacity: 1; transform: scaleY(1); }
}

@keyframes moveRightBorder {
    0% { opacity: 1; transform: translateX(0); }
    99% { opacity: 1; transform: translateX(calc(var(--widget-width) - 2px)); }
    100% { opacity: 0; transform: translateX(calc(var(--widget-width) - 2px)); }
}

@keyframes revealWidget {
    from { opacity: 1; clip-path: inset(0 100% 0 0); }
    to { opacity: 1; clip-path: inset(0); }
}

@keyframes contentIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes separatorPulse { 50% { opacity: 0.35; } }
@keyframes completePulse { 50% { opacity: 0.35; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
    }
}
