/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background: #000; 
    overflow: hidden; 
    font-family: 'Share Tech Mono', monospace; /* Google Font required */
    cursor: none; /* Hide default cursor */
}

#container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

/* --- CUSTOM CURSOR (Targeting Reticle) --- */
.cursor-reticle {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 69, 0, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s;
    mix-blend-mode: screen;
}
.cursor-reticle::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 4px; height: 4px;
    background: #ff4500;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
/* Expand cursor when clicking */
.cursor-reticle.active { width: 30px; height: 30px; background: rgba(255, 69, 0, 0.1); }

/* --- PARALLAX HUD LAYER --- */
/* This container moves slightly with mouse */
.hud-layer {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* --- DECORATIVE GRID --- */
.grid-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(rgba(255, 69, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 69, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

/* --- TOP BAR (Coordinates) --- */
.header-bar {
    position: absolute;
    top: 0; left: 0; width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.brand {
    font-size: 1.5rem;
    color: #ff4500;
    text-shadow: 0 0 10px #ff4500;
    letter-spacing: 4px;
}

.coords {
    color: #ff4500;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- RIGHT SIDE: LIVE LOGS --- */
.system-logs {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    text-align: right;
    color: rgba(255, 69, 0, 0.6);
    font-size: 0.7rem;
    line-height: 1.6;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.log-entry {
    margin-bottom: 4px;
    opacity: 0.5;
}
.log-entry:first-child { color: #fff; opacity: 1; text-shadow: 0 0 5px #ff4500; }

/* --- LEFT SIDE: VERTICAL BARS --- */
.status-bars {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-container {
    width: 150px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.label { color: #ff4500; font-size: 0.6rem; width: 40px; }
.track { flex: 1; height: 4px; background: rgba(255, 69, 0, 0.2); }
.fill { height: 100%; background: #ff4500; width: 0%; transition: width 0.5s; box-shadow: 0 0 5px #ff4500; }

/* --- BOTTOM: INPUT AREA --- */
.command-center {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    max-width: 90%;
    z-index: 100;
    pointer-events: auto; /* Enable clicking here */
}

.input-group {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

/* The bracket effects */
.bracket {
    font-size: 3rem;
    color: rgba(255, 69, 0, 0.5);
    font-weight: 100;
    transition: all 0.3s;
}

.input-field {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 69, 0, 0.3);
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.5rem;
    padding: 10px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.input-field:focus {
    outline: none;
    border-bottom-color: #ff4500;
    text-shadow: 0 0 8px rgba(255, 69, 0, 0.5);
}

.input-field::placeholder { color: rgba(255, 69, 0, 0.3); }

/* Focus Animation: Brackets move closer */
.input-group:focus-within .bracket {
    color: #ff4500;
    text-shadow: 0 0 10px #ff4500;
    transform: scale(1.1);
}

.action-btn {
    position: absolute;
    right: -120px;
    bottom: 5px;
    background: transparent;
    border: 1px solid #ff4500;
    color: #ff4500;
    padding: 8px 20px;
    font-family: 'Share Tech Mono';
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.action-btn:hover {
    background: #ff4500;
    color: #000;
    box-shadow: 0 0 15px #ff4500;
}