@font-face {
  font-family: DECTERM;
  src: url(../assets/_decterm.woff);
}

/* ---------- terminal page hero ---------- */
.term-hero{
    text-align: center;
    padding: 40px 20px 16px;
}
.term-hero h1{
    margin: 0;
    font-family: 'VT323', monospace;
    font-size: clamp(40px, 9vw, 72px);
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--amber);
    text-shadow:
            0 0 6px rgba(232,163,61,0.55),
            0 0 22px rgba(232,163,61,0.25);
}
.term-hero p{
    margin: 12px auto 0;
    max-width: 40em;
    font-size: 13px;
    color: var(--caliche-dim);
    line-height: 1.6;
}

/* ---------- terminal bezel ---------- */
.stage{
    display: flex;
    justify-content: center;
    padding: 8px 16px 40px;
}
.crt{
    position: relative;
    background: linear-gradient(180deg, #221a11, #14100b);
    border: 1px solid var(--panel-edge);
    border-radius: 14px;
    padding: 22px 22px 18px;
    box-shadow:
            0 0 0 1px rgba(0,0,0,0.6),
            0 30px 60px -20px rgba(0,0,0,0.85),
            inset 0 1px 0 rgba(255,255,255,0.04);
    max-width: 100%;
}
.crt::before{
    content: "";
    position: absolute;
    top: 10px; left: 22px; right: 22px; bottom: 10px;
    border-radius: 6px;
    box-shadow: inset 0 0 40px 6px rgba(0,0,0,0.55);
    pointer-events: none;
}
.crt-label{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--caliche-dim);
    margin-bottom: 10px;
    padding: 0 2px;
}
.crt-label .lamp{
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--rust);
    box-shadow: 0 0 5px 1px var(--rust);
    display: inline-block;
    margin-right: 6px;
    animation: pulse 3.4s ease-in-out infinite;
}

#vtxclient{
    position: relative;
    text-align: center;
    margin: 0 auto;
    display: inline-block;
    line-height: 0;
}

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

@media (max-width: 480px){
    .term-hero{ padding: 28px 14px 12px; }
    .crt{ padding: 16px 12px 14px; border-radius: 10px; }
}
