:root {
    --eva-bg-1: #0a0814;
    --eva-bg-2: #16112b;
    --eva-purple: #4f2b86;
    --eva-purple-strong: #7043b4;
    --eva-green: #9cff00;
    --eva-green-soft: #c9ff53;
    --eva-orange: #ff7a00;
    --eva-text: #e8e5ff;
    --eva-text-dim: #a8a4c4;
    --eva-panel: rgba(15, 12, 32, 0.84);
    --eva-border: rgba(156, 255, 0, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    color: var(--eva-text);
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    background:
        linear-gradient(rgba(6, 6, 14, 0.55), rgba(6, 6, 14, 0.78)),
        url("scene-bg.svg") center center / cover no-repeat fixed,
        linear-gradient(120deg, var(--eva-bg-1) 0%, var(--eva-bg-2) 55%, #0f1629 100%);
    position: relative;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dna-motion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.dna-motion-svg {
    width: 100%;
    height: 100%;
    display: block;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.025) 0,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px,
            transparent 3px
        );
        opacity: 0.18;
    pointer-events: none;
        z-index: 1;
}

body::after {
    content: none;
}

.eva-shell {
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 38px 20px 20px;
    position: relative;
    z-index: 2;
}

.pilot-card {
    width: min(1060px, 100%);
    background: linear-gradient(150deg, rgba(28, 17, 54, 0.9), rgba(12, 10, 27, 0.92));
    border: 1px solid rgba(156, 255, 0, 0.2);
    border-radius: 18px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 24px 70px rgba(0, 0, 0, 0.6),
        0 0 38px rgba(112, 67, 180, 0.35);
    overflow: hidden;
    position: relative;
    animation: panel-enter 0.8s ease-out both;
}

.alert-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 122, 0, 0.3);
    background: linear-gradient(90deg, rgba(255, 122, 0, 0.18), rgba(255, 122, 0, 0.06));
    font-family: "Orbitron", sans-serif;
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alert-strip span {
    color: #ffd0a3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sync-rate {
    color: var(--eva-green-soft);
    text-shadow: 0 0 12px rgba(156, 255, 0, 0.44);
    display: inline-block;
    min-width: 56px;
}

.pilot-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    min-height: 560px;
}

.panel-left {
    padding: 36px 30px;
    border-right: 1px solid rgba(156, 255, 0, 0.18);
    background:
        linear-gradient(180deg, rgba(112, 67, 180, 0.2), rgba(22, 17, 43, 0.2)),
        rgba(9, 8, 18, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
}

.avatar-container {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid rgba(156, 255, 0, 0.6);
    background: linear-gradient(45deg, rgba(79, 43, 134, 0.7), rgba(156, 255, 0, 0.12));
    box-shadow: 0 0 24px rgba(156, 255, 0, 0.2);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: saturate(1.05) contrast(1.05);
    -webkit-user-drag: none;
}

.pilot-id {
    font-family: "Orbitron", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    color: var(--eva-green-soft);
}

.pilot-name {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.42rem, 2.2vw, 2.1rem);
    letter-spacing: 0.05em;
    color: var(--eva-text);
    text-shadow: 0 0 10px rgba(156, 255, 0, 0.2);
}

.pilot-role {
    color: var(--eva-text-dim);
    font-size: 0.94rem;
}

.signal-bars {
    width: 100%;
    max-width: 220px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 8px;
}

.signal-bars span {
    display: block;
    height: 10px;
    background: rgba(156, 255, 0, 0.16);
    border: 1px solid rgba(156, 255, 0, 0.45);
    animation: signal 2.1s infinite ease-in-out;
}

.signal-bars span:nth-child(2) {
    animation-delay: 0.1s;
}

.signal-bars span:nth-child(3) {
    animation-delay: 0.2s;
}

.signal-bars span:nth-child(4) {
    animation-delay: 0.3s;
}

.signal-bars span:nth-child(5) {
    animation-delay: 0.4s;
}

.panel-right {
    padding: 40px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    position: relative;
}

.panel-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: "Orbitron", sans-serif;
    font-size: 0.78rem;
    color: var(--eva-green-soft);
    letter-spacing: 0.1em;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(156, 255, 0, 0.24);
}

.intro-title {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 2.2rem);
    line-height: 1.3;
    color: #efe9ff;
    max-width: 16em;
}

.intro-text {
    color: var(--eva-text-dim);
    font-size: 1rem;
    line-height: 1.95;
    max-width: 36em;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    border: 1px solid rgba(156, 255, 0, 0.35);
    color: var(--eva-green-soft);
    padding: 6px 10px;
    border-radius: 4px;
    font-family: "Orbitron", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    background: rgba(156, 255, 0, 0.08);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: "Orbitron", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: #0d0f1a;
    background: linear-gradient(90deg, var(--eva-green), #c8ff4f);
    padding: 10px 16px;
    border-radius: 6px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(156, 255, 0, 0.35);
}

.corner-deco {
    position: absolute;
    width: 78px;
    height: 78px;
    border-color: rgba(156, 255, 0, 0.45);
    border-style: solid;
    pointer-events: none;
}

.top-left {
    top: 12px;
    left: 12px;
    border-width: 2px 0 0 2px;
}

.bottom-right {
    right: 12px;
    bottom: 12px;
    border-width: 0 2px 2px 0;
}

.footer {
    text-align: center;
    width: min(1020px, calc(100% - 36px));
    margin: 14px auto 24px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--eva-panel);
    border: 1px solid rgba(156, 255, 0, 0.2);
    color: var(--eva-text-dim);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.footer p {
    margin: 4px 0;
    font-size: 0.82rem;
}

.footer a {
    color: var(--eva-green-soft);
    text-decoration: none;
}

.footer a:hover {
    color: #ecffb8;
}

.footer-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes panel-enter {
    from {
        transform: translateY(26px) scale(0.99);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes signal {
    0%,
    100% {
        transform: scaleY(0.5);
        opacity: 0.55;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@media (max-width: 980px) {
    .pilot-grid {
        grid-template-columns: 1fr;
    }

    .panel-left {
        border-right: 0;
        border-bottom: 1px solid rgba(156, 255, 0, 0.18);
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .panel-right {
        padding: 30px 24px;
    }

    .intro-text {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .eva-shell {
        padding-top: 16px;
    }

    .dna-motion {
        opacity: 0.68;
    }

    .pilot-card {
        border-radius: 14px;
    }

    .alert-strip {
        grid-template-columns: 1fr;
        font-size: 0.68rem;
    }

    .avatar-container {
        width: 162px;
        height: 162px;
    }

    .pilot-name {
        font-size: 1.28rem;
    }

    .intro-title {
        font-size: 1.15rem;
    }

    .intro-text {
        font-size: 0.92rem;
        line-height: 1.8;
    }

    .tags span {
        font-size: 0.68rem;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }

    .neural-wave-bg {
        opacity: 0.56;
    }

    .neural-metrics {
        grid-template-columns: 1fr;
    }

    .footer {
        width: calc(100% - 24px);
        margin: 12px auto 16px;
    }
}
