/* Verre global cockpit */
.cockpit-header,
.cockpit-footer {
    position: relative;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: linear-gradient(
        135deg,
        rgba(0, 255, 255, 0.08),
        rgba(0, 0, 0, 0.6)
    );
    border-bottom: 1px solid rgba(0, 255, 255, 0.35);
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.25),
        inset 0 0 10px rgba(0, 255, 255, 0.15);
}

.cockpit-footer {
    border-top: 1px solid rgba(0, 255, 255, 0.35);
    border-bottom: none;
}

.cockpit-content {
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: radial-gradient(circle at top left,
        rgba(0, 255, 255, 0.12),
        rgba(0, 0, 0, 0.85)
    );
    border: 1px solid rgba(0, 255, 255, 0.25);
    box-shadow:
        0 0 25px rgba(0, 255, 255, 0.25),
        inset 0 0 15px rgba(0, 255, 255, 0.15);
    border-radius: 14px;
    padding: 24px;
}
/* Overlay HUD global */
body[class^="theme-"]::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    background:
        linear-gradient(
            rgba(0, 255, 255, 0.08) 1px,
            transparent 1px
        ) 0 0 / 100% 32px,
        linear-gradient(
            90deg,
            rgba(0, 255, 255, 0.06) 1px,
            transparent 1px
        ) 0 0 / 32px 100%;
    opacity: 0.35;
}

/* Réticule central */
body[class^="theme-"]::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 255, 0.6);
    box-shadow:
        0 0 18px rgba(0, 255, 255, 0.7),
        inset 0 0 12px rgba(0, 255, 255, 0.5);
    opacity: 0.35;
    pointer-events: none;
}
/* Lignes latérales */
.cockpit-content::before,
.cockpit-content::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(0, 255, 255, 0.0),
        rgba(0, 255, 255, 0.7),
        rgba(0, 255, 255, 0.0)
    );
    opacity: 0.6;
    pointer-events: none;
}

.cockpit-content::before { left: 32px; }
.cockpit-content::after  { right: 32px; }

/* Header : barres et marqueurs */
.cockpit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 20px;
}

.cockpit-header .logo {
    font-family: "Orbitron", system-ui, sans-serif;
    letter-spacing: 0.18em;
    font-size: 14px;
    text-transform: uppercase;
    color: #00f7ff;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.9);
}

.cockpit-header::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40%;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 255, 255, 0.9),
        transparent
    );
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.9);
    opacity: 0.7;
}

.btn-cockpit,
.cockpit-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 255, 0.6);
    color: #e6ffff;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: radial-gradient(circle at top,
        rgba(0, 255, 255, 0.25),
        rgba(0, 0, 0, 0.9)
    );
    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.4),
        inset 0 0 6px rgba(0, 255, 255, 0.3);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.btn-cockpit:hover,
.cockpit-nav a:hover {
    transform: translateY(-1px);
    border-color: #00f7ff;
    box-shadow:
        0 0 16px rgba(0, 255, 255, 0.8),
        inset 0 0 8px rgba(0, 255, 255, 0.5);
}
