html, body {
    min-height: 100%;
    height: 100%;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 50% 25%, rgba(36, 255, 128, 0.10), transparent 34%),
        linear-gradient(135deg, #020403 0%, #050706 48%, #010201 100%);
    color: #b7ffc7;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.terminal-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    box-sizing: border-box;
}

.terminal-window {
    width: min(760px, 100%);
    border: 1px solid rgba(107, 255, 155, 0.28);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.82);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 40px rgba(38, 255, 126, 0.10);
    overflow: hidden;
}

.terminal-topbar {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dot {
    position: relative;
    display: inline-block;
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #2cff7f;
    opacity: 0.72;
    cursor: default;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

button.window-dot {
    cursor: pointer;
}

.window-dot:nth-child(2) {
    background: #9cffb9;
}

.window-dot:nth-child(3) {
    background: #ffffff;
}

button.window-dot:hover {
    opacity: 1;
    transform: scale(1.18);
}

button.window-dot:first-child:hover::before,
button.window-dot:first-child:hover::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 2px;
    width: 7px;
    height: 1px;
    background: rgba(0, 0, 0, 0.72);
}

button.window-dot:first-child:hover::before {
    transform: rotate(45deg);
}

button.window-dot:first-child:hover::after {
    transform: rotate(-45deg);
}

.terminal-content {
    padding: clamp(24px, 6vw, 56px);
}

.terminal-line {
    margin: 0 0 22px;
    color: #77d991;
    font-size: clamp(14px, 2vw, 18px);
}

.muted {
    color: rgba(183, 255, 199, 0.58);
}

.clock {
    display: block;
    margin: 0 0 28px;
    color: #d7ffe0;
    font-size: clamp(52px, 11vw, 112px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 0 18px rgba(44, 255, 127, 0.38);
}

.cursor {
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cursor {
        animation: none;
    }
}
