/* Base Theme Configurations */
:root {
    --space-black: #040406;
    --interface-blue: #00d9ff;
    --panel-dark: #0a0e14;
    --slate-text: #b0c4de;
    --pure-white: #ffffff;
    --earth-glow: rgba(0, 217, 255, 0.4);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body, html {
    width: 100%;
    height: 100%;
    background-color: var(--space-black);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--pure-white);
    overflow: hidden;
}
.hidden {
    display: none !important;
}
/* Background Layer */
.star-field {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--space-black) 85%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://w3.org" width="200" height="200"><circle cx="15" cy="25" r="1" fill="white" opacity="0.4"/><circle cx="80" cy="15" r="1.5" fill="white" opacity="0.7"/><circle cx="145" cy="75" r="0.8" fill="white" opacity="0.3"/><circle cx="35" cy="135" r="1.2" fill="white" opacity="0.5"/><circle cx="115" cy="175" r="1.5" fill="white" opacity="0.6"/></svg>');
    background-repeat: repeat;
    z-index: 1;
}
/* Cinematic Terminal Intro Layout */
.intro-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    padding-top: 8vh;
    background-color: var(--space-black);
}
.crawl-wrapper {
    position: relative;
    width: 90%;
    max-width: 550px;
    height: 65vh;
    overflow: hidden;
    z-index: 2;
    margin-top: 5vh;
}
.crawl-content {
    position: absolute;
    top: 100%;
    width: 100%;
    text-align: center;
    animation: terminalScroll 45s linear forwards;
}
.transmission-header {
    color: var(--interface-blue);
    letter-spacing: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 0.6rem;
}
.transmission-title {
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 2.2rem;
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.3);
}
.crawl-content p {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 1.8rem;
    color: var(--slate-text);
    text-align: justify;
    text-justify: inter-word;
}
@keyframes terminalScroll {
    0% { top: 100%; }
    100% { top: -160%; }
}
/* Trigger Controls pinned firmly at the bottom */
.dashboard-enter-btn {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: transparent;
    border: 2px solid var(--interface-blue);
    color: var(--interface-blue);
    padding: 0.8rem 2.4rem;
    font-size: 0.95rem;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.25s ease;
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.1);
}
.dashboard-enter-btn:hover {
    background: var(--interface-blue);
    color: var(--space-black);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}
/* Standby Dashboard Workspace Layout */
.dashboard-container {
    width: 100%;
    height: 100%;
    background-color: var(--panel-dark);
    display: flex;
    flex-direction: column;
}
.dash-header {
    padding: 1rem;
    background: rgba(4, 4, 6, 0.85);
    border-bottom: 1px solid rgba(0, 217, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dash-header h2 {
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--interface-blue);
}
.utility-btn {
    background: transparent;
    border: 1px solid #3a4250;
    color: #8a99ad;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    border-radius: 4px;
    cursor: pointer;
}
.dash-grid {
    width: 100%;
    height: 100%;
    flex: 1;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Tactical Radar Scanner Layout Matrix */
.canvas-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(0, 217, 255, 0.15);
    border-radius: 6px;
    overflow: hidden;
}

/* Layered Parallax Starfield Components */
.parallax-layer {
    position: absolute;
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.1s ease-out;
}
.layer-back {
    z-index: 1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://w3.org" width="100" height="100"><circle cx="10" cy="20" r="0.5" fill="white" opacity="0.2"/><circle cx="70" cy="60" r="0.7" fill="white" opacity="0.3"/></svg>');
}
.layer-mid {
    z-index: 2;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://w3.org" width="150" height="150"><circle cx="30" cy="40" r="1" fill="white" opacity="0.5"/><circle cx="110" cy="90" r="1.2" fill="white" opacity="0.4"/></svg>');
}
.layer-front {
    z-index: 3;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://w3.org" width="200" height="200"><circle cx="50" cy="80" r="1.5" fill="white" opacity="0.6"/><circle cx="150" cy="30" r="1.8" fill="white" opacity="0.7"/></svg>');
}

.radar-grid-lines {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
    z-index: 4;
    animation: gridSlowDrift 60s linear infinite;
    pointer-events: none;
}
.radar-crosshairs {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, transparent 49.8%, rgba(0, 217, 255, 0.12) 50%, transparent 50.2%),
        linear-gradient(to bottom, transparent 49.8%, rgba(0, 217, 255, 0.12) 50%, transparent 50.2%);
    z-index: 5;
    pointer-events: none;
}

/* Exact Point-Center Absolute Vector Anchor Locks */
.earth-system {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    transform: translate(-50%, -50%);
    z-index: 6;
    pointer-events: none;
}
.earth-body {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Cinematic crisp illumination shader */
    background: radial-gradient(circle at 35% 35%, #0099ff 0%, #004488 40%, #031126 70%, #010408 100%);
    border: 1px solid rgba(0, 217, 255, 0.5);
    box-shadow: inset -15px -15px 30px rgba(0, 0, 0, 0.95), 
                inset 10px 10px 25px rgba(0, 217, 255, 0.3);
}
.earth-atmosphere {
    position: absolute;
    top: -12px;
    left: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 25px var(--earth-glow);
    animation: atmosphericPulse 3.5s ease-in-out infinite alternate;
}

.radar-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    margin-top: -70px;
    margin-left: -70px;
    z-index: 7;
    border: 1.5px solid rgba(0, 217, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    animation: sweep 3s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
}
.status-text {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 8;
    color: var(--interface-blue);
    font-size: 0.7rem;
    font-family: monospace;
    text-transform: uppercase;
    opacity: 0.65;
    letter-spacing: 2px;
}

@keyframes sweep {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px rgba(0, 217, 255, 0.2); }
    100% { transform: scale(2.8); opacity: 0; box-shadow: 0 0 40px rgba(0, 217, 255, 0); }
}
@keyframes gridSlowDrift {
    0% { transform: translate(-25%, -25%) rotate(0deg); }
    100% { transform: translate(-25%, -25%) rotate(360deg); }
}
@keyframes atmosphericPulse {
    0% { transform: scale(0.99); opacity: 0.7; }
    100% { transform: scale(1.01); opacity: 1; }
}

/* Universal App Signature */
.app-signature {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(176, 196, 222, 0.4);
    letter-spacing: 1px;
    z-index: 9;
    pointer-events: none;
}
.dashboard-footer {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    text-align: center;
    padding: 0.8rem;
    background: rgba(4, 4, 6, 0.5);
    border-top: 1px solid rgba(0, 217, 255, 0.05);
}
