:root {
    --bg: #0A0A0A;
    --accent: #14CEDC;
    --accent-glow: rgba(20, 206, 220, .3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
    width: 100%;
    background: #000;
    font-family: Inter, system-ui, sans-serif;
}

.gate-page {
    min-height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gate-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 27px;
}

.gate-video-wrap {
    position: relative;
    width: min(480px, 90vw);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
}

.gate-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .4s;
}

.gate-video-active { opacity: 1; }
.gate-fadeout { opacity: 0; transition: opacity 1s ease; }

.gate-form { width: min(480px, 90vw); }

.gate-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
    background: #060608f2;
    border: 1px solid rgba(180, 200, 205, .08);
    border-radius: 16px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    letter-spacing: 4px;
    outline: none;
    font-family: Inter, monospace;
    caret-color: transparent;
    transition: background 3s ease, box-shadow 3s ease, border-color 3s ease, caret-color .5s ease;
}

.gate-input-glow {
    background: #080a0cfa;
    border-color: #c8d7dc29;
    box-shadow: 0 0 12px #c8dce10d;
    caret-color: #fffc;
}

.gate-input:focus { caret-color: #fff; }
.gate-input:disabled { opacity: .4; }

.gate-locked {
    width: 100vw;
    height: 100vh;
    background: #000;
}

.gate-title {
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: .4;
    margin-top: -8px;
}
