:root {
    --bg: #0b31ff;
    --screen: #0b1020;
    --lime: #57ff4a;
    --pink: #ff2dbd;
    --gray: #95a0b5;
    --white: #f5f7ff;
    --shadow: rgba(0, 0, 0, .55);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: radial-gradient(1200px 800px at 50% 35%, #000000 0%, #000000 35%, #171717 100%);
    display: grid;
    place-items: center;
    font-family: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--white);
}

.desktop {
    width: min(1120px, 94vw);
    height: min(680px, 88vh);
    padding: 10px;
    position: relative;
    filter: drop-shadow(0 32px 60px var(--shadow)) drop-shadow(0 10px 25px var(--shadow));
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)) border-box,
        linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05)) padding-box,
        #9e9e9e;
    border: 1.5px solid rgba(255, 255, 255, .18);
    overflow: hidden;
}


.win {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    background: #1108ff;
    border: 2px solid #35415f;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .03), 0 20px 60px rgba(0, 0, 0, .35);
    position: relative;
    overflow: hidden;
}


.bar {
    position: relative;
    height: 42px;
    background: #0b1124;
    border-bottom: 2px solid #2a3552;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bar .led {
    width: 10px;
    height: 10px;
    margin-left: 14px;
    border-radius: 2px;
    background: #00ffc6;
    box-shadow: 0 0 10px #00ffc6, inset 0 0 6px rgba(0, 0, 0, .6);
    animation: led 1.6s infinite steps(2, end);
}

@keyframes led {
    50% {
        opacity: .5
    }
}

.ticker {
    position: absolute;
    inset: 0 12px 0 42px;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.ticker p {
    white-space: nowrap;
    font-family: "Press Start 2P", system-ui;
    font-size: 12px;
    letter-spacing: 1px;
    color: #d7e1ff;
    animation: marquee 18s linear infinite;
}

.ticker p span {
    color: #0ef;
    margin: 0 .75rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


.screen {
    flex: 1;
    position: relative;
    padding: clamp(18px, 4.2vw, 36px);
    display: grid;
    align-items: center;
    justify-items: center;
    overflow: hidden;
}


.scanlines:before,
.scanlines:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.scanlines:before {
    background-image: linear-gradient(rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 2px);
    background-size: 100% 3px;
    mix-blend-mode: overlay;
    opacity: .4;
}

.scanlines:after {
    background: radial-gradient(ellipse at center, rgba(140, 170, 255, .12) 0%, rgba(0, 0, 0, 0) 60%);
}


.hero {
    width: 100%;
    max-width: 960px;
    display: grid;
    gap: clamp(14px, 2.8vw, 22px);
    text-align: center;
    z-index: 2;
}

.logo {
    display: inline-grid;
    grid-auto-flow: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
    user-select: none;
    filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .05));
}

.logo img {
    height: clamp(38px, 7vw, 56px);
    image-rendering: pixelated;
}

.brand {
    font-family: "Press Start 2P", system-ui;
    font-size: clamp(16px, 3.4vw, 24px);
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1 {
    font-family: "Press Start 2P", system-ui;
    font-size: clamp(18px, 4.2vw, 30px);
    line-height: 1.45;
    margin: 0;
    color: var(--white);
    text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}

.subtitle {
    margin: 0 auto;
    max-width: 820px;
    font-size: clamp(12px, 2.6vw, 16px);
    line-height: 1.7;
    color: #c4d0ff;
}

.subtitle b {
    color: var(--lime);
}

.bullets {
    margin: 2px auto 0;
    list-style: none;
    padding: 0;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    color: #a9b6d6;
    font-size: clamp(10px, 2.4vw, 13px);
}

.bullets li {
    border: 1px dashed #ffffff69;
    padding: 6px 10px;
    border-radius: 8px;
    color: #ffffffce;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
}

.cta {
    justify-self: center;
    --padY: clamp(12px, 3vw, 16px);
    --padX: clamp(18px, 6vw, 36px);
    margin-top: 4px;
    padding: var(--padY) var(--padX);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0)) padding-box,
        linear-gradient(90deg, #ffffff, #d9e9ff) border-box;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .35),
        0 0 22px rgba(255, 45, 189, .35),
        inset 0 0 12px rgba(255, 255, 255, .06);
    color: #0a0d16;
    font-family: "Press Start 2P", system-ui;
    font-size: clamp(12px, 2.8vw, 16px);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: transform .08s ease, filter .12s ease;
    user-select: none;
}

.cta:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
}

.cta:active {
    transform: translateY(0);
}


.vert-cursor {
    position: absolute;
    right: 10px;
    top: 60px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(var(--pink), #00e6ff);
    opacity: .4;
    animation: blink 1.2s steps(1, end) infinite;
}

@keyframes blink {
    50% {
        opacity: .05
    }
}


.foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38px;
    border-top: 2px solid #2a3552;
    background: #0b1124;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: #9cb0ea;
}

.foot b {
    color: #fff;
}


.glitch {
    position: relative;
    display: inline-block;
}

.glitch:before,
.glitch:after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    clip-path: inset(0 0 0 0);
    opacity: .85;
    pointer-events: none;
}

.glitch:before {
    transform: translate(1px, 0);
    color: #00eaff;
    mix-blend-mode: screen;
    animation: g1 2.2s infinite linear;
}

.glitch:after {
    transform: translate(-1px, 0);
    color: #ff2dbd;
    mix-blend-mode: screen;
    animation: g2 1.9s infinite linear;
}

@keyframes g1 {

    0%,
    100% {
        clip-path: inset(0 0 86% 0);
    }

    10% {
        clip-path: inset(0 0 20% 0)
    }

    30% {
        clip-path: inset(40% 0 40% 0)
    }

    50% {
        clip-path: inset(65% 0 10% 0)
    }

    70% {
        clip-path: inset(10% 0 70% 0)
    }

    90% {
        clip-path: inset(30% 0 30% 0)
    }
}

@keyframes g2 {

    0%,
    100% {
        clip-path: inset(80% 0 0 0);
    }

    15% {
        clip-path: inset(15% 0 55% 0)
    }

    35% {
        clip-path: inset(50% 0 20% 0)
    }

    60% {
        clip-path: inset(20% 0 60% 0)
    }

    85% {
        clip-path: inset(70% 0 5% 0)
    }
}

@media (max-width: 640px) {
    .desktop {
        padding: 10px;
    }

    .bar {
        height: 38px;
    }

    .foot {
        height: 34px;
        font-size: 11px;
    }

    .ticker p {
        animation-duration: 24s;
    }

    .logo img {
        height: 40px;
    }
}