
.header-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 40px;
    height: 80px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px; 
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.switch-container {
    display: flex;
    align-items: center;
}



.keyboard-hero {
    padding: 60px 0;
    display: flex;
    justify-content: center;
    background: transparent;
}

.full-width {
    width: 98%;
    max-width: 1550px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.keyboard-chassis {
    background: linear-gradient(145deg, #16161a, #09090b);
    padding: 70px 30px 30px 30px;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.brand-logo {
    position: absolute;
    top: 25px;
    left: 40px;
    font-family: var(--font-cyber);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.1);
    letter-spacing: 10px;
    text-transform: uppercase;
}

.keyboard-layout {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}


.keyboard-main-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kb-row {
    display: flex;
    gap: 7px;
}

.key {
    background: #1e1e24;
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: #f7f4f4;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-cyber);
    font-size: 0.65rem;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 0 #000;
    transition: all 0.1s ease;
    user-select: none;
}

.key:hover {
    background: #25252d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #000, 0 0 15px rgba(21, 113, 182, 0.3);
}

.key:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #000;
}


.backspace { width: 95px; }
.tab { width: 70px; }
.capslock { width: 85px; }
.enter { width: 100px; }
.shift { width: 115px; }
.space { width: 310px; border-color: var(--blue); }
.ctrl, .alt { width: 65px; }
.spacer-sm { width: 25px; } 

.key-active-effect {
    transform: translateY(3px) !important;
    box-shadow: 0 1px 0 #000 !important;
    background: var(--blue) !important; 
    color: #fff !important;
}


.keyboard-center-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 48px);
    gap: 7px;
    margin-bottom: 30px;
}

.arrow-container {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.justify-center { justify-content: center; }


.numpad-grid {
    display: grid;
    grid-template-columns: repeat(4, 48px);
    grid-template-rows: repeat(5, 48px);
    gap: 7px;
    margin-top: 55px; 
}

.zero-key { grid-column: span 2; width: 103px; }
.plus-key { grid-row: span 2; height: 103px; }
.enter-num { grid-row: span 2; height: 103px; }


.neon-blue { border-color: rgba(21, 113, 182, 0.5); color: var(--blue); }
.neon-pink { border-color: rgba(233, 21, 161, 0.5); color: var(--pink); }



.display-panel {
    width: 100%;
    max-width: 900px;
    background: #1e1e24;
    border-radius: 20px;
    border-left: 5px solid var(--blue);
    padding: 25px;
    margin-bottom: 50px;
}

.panel-label {
    font-family: var(--font-cyber);
    color: var(--pink);
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}

.panel-text {
    font-size: 2rem;
    font-family: var(--font-cyber);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}

.blink { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }