.xeno-splash { --xeno-accent: #b3ff59; position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #030806; color: #edf2e8; overflow: hidden; font-family: 'Segoe UI', Arial, sans-serif; }
.xeno-splash::backdrop { background: #030806; }
body.xeno-splash-active { overflow: hidden; }
.xeno-splash-portrait { position: absolute; inset: 0; background: linear-gradient(90deg, #030806 5%, #030806f2 25%, #03080665 55%, #03080618 80%), linear-gradient(0deg, #030806 0%, transparent 25%, transparent 75%, #030806a6), url('../images/david-enigma.jpg') 70% center / cover no-repeat; opacity: .85; }
.xeno-splash-rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .36; pointer-events: none; }
.xeno-splash-grid { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 3px, #03080635 3px 4px); }
.xeno-splash-scan { position: absolute; left: 0; right: 0; height: 20%; top: -20%; pointer-events: none; background: linear-gradient(transparent, #b3ff590a 95%, #b3ff5930); animation: xeno-scan 5.5s linear both; }
.xeno-splash-top, .xeno-splash-bottom { position: absolute; left: clamp(24px, 5vw, 80px); right: clamp(24px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 10px/1.6 Consolas, monospace; letter-spacing: 2px; }
.xeno-splash-top { top: max(28px, env(safe-area-inset-top)); padding-bottom: 20px; border-bottom: 1px solid #b3ff5929; color: #b3c2b0; }
.xeno-splash-signal { display: flex; align-items: center; gap: 12px; color: var(--xeno-accent); }
.xeno-splash-signal i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--xeno-accent); box-shadow: 0 0 12px #b3ff5966; }
.xeno-splash-copy { position: absolute; left: clamp(24px, 7vw, 110px); top: 50%; transform: translateY(-50%); width: min(550px, 50%); }
.xeno-splash-coordinate { color: var(--xeno-accent); font: 10px/1.6 Consolas, monospace; letter-spacing: 3px; margin: 0 0 28px; }
.xeno-splash h2 { font-size: clamp(2.5rem, 5.8vw, 6rem); line-height: 1.05; letter-spacing: -.06em; font-weight: 500; margin: 0 0 24px; }
.xeno-splash h2 em { font-style: normal; color: var(--xeno-accent); }
#xenoSplashDescription { color: #b3c2b0; font-size: .95rem; margin-bottom: 40px; }
.xeno-splash-terminal { display: flex; flex-wrap: wrap; gap: 10px 18px; font: 10px/1.6 Consolas, monospace; letter-spacing: 1px; color: var(--xeno-accent); margin-bottom: 12px; }
.xeno-splash-terminal > span:first-child { color: #8c9c8b; }
.xeno-splash-progress { height: 2px; background: #b3ff5929; overflow: hidden; }
.xeno-splash-progress span { display: block; height: 100%; width: 100%; background: var(--xeno-accent); transform-origin: left; animation: xeno-progress 6s linear both; }
.xeno-splash-caption { display: flex; justify-content: space-between; gap: 16px; color: #8c9c8b; font: 9px/1.6 Consolas, monospace; letter-spacing: 1.5px; margin-top: 12px; }
.xeno-splash-bottom { bottom: max(28px, env(safe-area-inset-bottom)); color: #8c9c8b; }
.xeno-splash-bottom button { border: 1px solid #b3ff5966; border-radius: 0; background: #030806aa; color: var(--xeno-accent); font: 11px/1.5 'Segoe UI', sans-serif; letter-spacing: 1px; padding: 12px 18px; min-height: 44px; white-space: nowrap; }
.xeno-splash-bottom button span { margin-left: 24px; }
.xeno-splash-bottom button:hover { background: var(--xeno-accent); color: #030806; }
.xeno-splash-bottom button:focus-visible { outline: 2px solid var(--xeno-accent); outline-offset: 4px; }
.xeno-splash-leaving { opacity: 0; transition: opacity .5s ease; }
@keyframes xeno-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes xeno-scan { to { top: 100%; } }
@media (max-width: 767px) {
    .xeno-splash-portrait { background-position: 66% center; background-image: linear-gradient(0deg, #030806 0%, #030806e8 28%, #03080650 65%, #03080670), url('../images/david-enigma.jpg'); }
    .xeno-splash-copy { left: 24px; right: 24px; top: auto; bottom: 120px; transform: none; width: auto; }
    .xeno-splash h2 { font-size: clamp(2.4rem, 9vw, 4rem); }
    .xeno-splash-coordinate { margin-bottom: 16px; font-size: 9px; letter-spacing: 2px; }
    #xenoSplashDescription { margin-bottom: 24px; }
    .xeno-splash-top, .xeno-splash-bottom { font-size: 8px; letter-spacing: 1px; }
    .xeno-splash-bottom > span { max-width: 145px; }
}
@media (max-height: 540px) {
    .xeno-splash-copy { top: 50%; bottom: auto; transform: translateY(-50%); }
    .xeno-splash h2 { font-size: 2rem; margin-bottom: 12px; }
    .xeno-splash-coordinate { margin-bottom: 10px; }
    #xenoSplashDescription { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .xeno-splash-scan, .xeno-splash-rain { display: none; }
    .xeno-splash-progress span { animation: none; }
    .xeno-splash-leaving { transition: none; }
}
