@import url('https://googleapis.com');

/* --- RESPONSIVE TYPOGRAPHY CONFIGURATION --- */
html { font-size: 100%; }
@media (min-width: 600px) { html { font-size: 106%; } }
@media (min-width: 1000px) { html { font-size: 112%; } }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    overflow-x: hidden;
    overflow-y: auto;
    background: #05050a;
    font-family: 'Rajdhani', sans-serif;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

/* --- CANVAS ACCELERATION DEPTH --- */
#universe {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: -1;
background: radial-gradient(circle at center, #110524 0%, #030307 100%);
}

/* --- CONTAINER-BOUNDED NAVIGATION DOCK --- */
.cyber-dock {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 230px;
    background: rgba(8, 8, 16, 0.85);
    border: 1px solid rgba(0, 255, 255, 0.25);
    border-left: 4px solid #00ffff;
    border-radius: 4px;
    padding: 24px 14px;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 35px rgba(0, 243, 255, 0.1);
}

.dock-header {
    font-family: 'Orbitron', sans-serif;
    color: rgba(0, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    padding-left: 8px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.12);
    padding-bottom: 8px;
}

.dock-btn {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 14px;
    clip-path: polygon(0 0, 92% 0, 100% 25%, 100% 100%, 0 100%);
}

.dock-btn i { color: #00ffff; opacity: 0.5; transition: 0.3s; }
.dock-btn:hover {
    background: rgba(0, 243, 255, 0.08);
    border-color: rgba(0, 243, 255, 0.4);
    color: #fff;
    transform: translateX(6px);
}

.dock-btn.active {
    background: rgba(0, 243, 255, 0.15);
    border-color: #00ffff;
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}
.dock-btn.active i { opacity: 1; text-shadow: 0 0 8px #00ffff; }

/* --- DYNAMIC CENTRAL CONTAINER FRAMEWRORK --- */
.container-3d {
    position: relative;
    z-index: 10;
    perspective: 1200px;
    margin-left: 230px; /* Aligns smoothly alongside structural side menus */
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
}

/* --- SYSTEM INTERFACE CONFIGURATIONS --- */
.cyber-card {
    display: none; /* Syncs hidden layouts directly with state logic variables */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 45px 35px;
    border-radius: 16px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transform-style: preserve-3d;
    background: rgba(8, 12, 24, 0.45);
    background-image: radial-gradient(rgba(157, 0, 255, 0.06) 1px, transparent 0);
    background-size: 20px 20px;
    border: 1px solid rgba(157, 0, 255, 0.3);
    box-shadow: 0 0 50px rgba(157, 0, 255, 0.08), inset 0 0 20px rgba(157, 0, 255, 0.03);
    transform: scale(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
}

/* --- INDIVIDUAL COMPONENT BOX COMPASS OVERRIDES --- */
.size-standard {
    width: clamp(300px, 90vw, 440px);
    min-height: 520px;
}

.size-medium {
    width: clamp(320px, 90vw, 650px);
    min-height: 540px;
}

.size-dashboard {
    width: clamp(340px, 85vw, 980px);
    min-height: 580px;
}

/* --- VISUAL VISIBILITY INJECTION PARAMS --- */
.active-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: scale(1) rotateX(0deg) rotateY(0deg);
    z-index: 50;
}

.content { transform: translateZ(60px); }

/* Typography Formatting */
h2 {
    color: #fff; font-family: 'Orbitron', sans-serif; font-size: 2.1rem;
    text-align: center; margin-bottom: 8px; letter-spacing: 3px;
    text-transform: uppercase; text-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}
.cyber-title { text-shadow: 0 0 12px rgba(157, 0, 255, 0.6) !important; color: #fff; }
p.subtitle {
    color: rgba(0, 255, 255, 0.65); text-align: center; margin-bottom: 35px;
    font-size: 0.85rem; letter-spacing: 2px; font-weight: 500;
}

/* Floating Input Blocks */
.input-group { position: relative; margin-bottom: 26px; }
.input-group input {
    width: 100%; padding: 14px 8px; background: transparent; border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    color: #fff; font-size: 1.1rem; font-family: 'Rajdhani', sans-serif;
    outline: none; transition: 0.3s;
}
.input-group label {
    position: absolute; top: 14px; left: 8px; color: rgba(255, 255, 255, 0.4);
    pointer-events: none; transition: 0.3s; font-size: 1rem;
}
.input-group input:focus,
.input-group input:valid {
    border-bottom-color: #00ffff; text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}
.input-group input:focus ~ label,
.input-group input:valid ~ label {
    top: -18px; left: 0; color: #00ffff; font-size: 0.8rem;
}
.input-group i {
    position: absolute; right: 10px; top: 16px; color: #00ffff; opacity: 0.5;
}

/* Glowing Interactive Submits */
.btn-glow {
    width: 100%; padding: 14px; background: transparent;
    color: #00ffff; border: 2px solid #00ffff;
    font-family: 'Orbitron', sans-serif; font-size: 0.95rem; letter-spacing: 2px;
    text-transform: uppercase; cursor: pointer; transition: 0.3s;
    margin-top: 10px; font-weight: 700;
}
.btn-glow:hover {
    background: #00ffff; color: #000; box-shadow: 0 0 25px #00ffff;
}

/* Footer Links */
.footer-links { margin-top: 25px; display: flex; justify-content: space-between; font-size: 0.9rem; }
.footer-links a { color: rgba(255, 255, 255, 0.5); text-decoration: none; transition: 0.3s; font-weight: 500; }
.footer-links a:hover { color: #00ffff; text-shadow: 0 0 5px #00ffff; }

/* HARDWARE CORNER EMBELLISHMENTS */
.cyber-corner {
    position: absolute; width: 14px; height: 14px;
    border: 2px solid #9d00ff; pointer-events: none;
}
.top-left { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.top-right { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.bottom-left { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.bottom-right { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* RASTER SCANLINE EFFECT */
.cyber-scanline {
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(to bottom, rgba(157, 0, 255, 0), rgba(157, 0, 255, 0.3), rgba(157, 0, 255, 0));
    animation: cyberScan 5s linear infinite; pointer-events: none;
}
@keyframes cyberScan { 0% { top: 0%; } 100% { top: 100%; } }

/* IMAGE CONTAINER WRAPPERS */
.cyber-title-img {
    width: 100%; height: 120px; margin-bottom: 25px;
    background: rgba(157, 0, 255, 0.04);
    border: 1px dashed rgba(157, 0, 255, 0.25);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.cyber-title-img::before {
    content: ''; position: absolute; width: 200%; height: 100%;
    background: linear-gradient(45deg, transparent 45%, rgba(157, 0, 255, 0.08) 50%, transparent 55%);
    animation: diagShimmer 4s infinite linear;
}
.img-label {
    font-family: 'Orbitron', sans-serif; font-size: 0.7rem;
    color: rgba(157, 0, 255, 0.5); letter-spacing: 2px;
}
.text-neon { color: #00ffff; text-shadow: 0 0 6px #00ffff; font-weight: 700; }

.cyber-data-body {
    margin-top: 15px; font-family: 'Rajdhani', sans-serif;
    color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; line-height: 1.6;
}
.matrix-loader {
    width: 100%; height: 4px; background: rgba(255,255,255,0.04);
    margin-top: 20px; position: relative; overflow: hidden;
}
.matrix-loader::after {
    content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 40%;
    background: #00ffff; box-shadow: 0 0 8px #00ffff;
    animation: loadMove 1.8s infinite ease-in-out;
}

/* PLASMA SPHERE ORBS */
.orb {
    position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; opacity: 0.35;
    animation: floatOrb 12s infinite alternate ease-in-out; pointer-events: none;
}
.orb-1 { top: -5%; left: -5%; width: 350px; height: 350px; background: #6200b3; }
.orb-2 { bottom: -5%; right: -5%; width: 420px; height: 420px; background: #254beb; }

@keyframes floatOrb { 0% { transform: translate(0, 0); } 100% { transform: translate(40px, 60px); } }
@keyframes loadMove { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes diagShimmer { 0% { transform: translateX(-50%); } 100% { transform: translateX(35%); } }

/* --- RESPONSIFICATION RESPONSIVE BREAKPOINTS --- */
@media (max-width: 820px) {
    body {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 140px;
    }
    .cyber-dock {
        position: fixed;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 90vw;
        max-width: 440px;
        height: auto;
        display: flex;
        flex-direction: row;
        gap: 8px;
        padding: 10px;
        border-left: none;
        border-top: 3px solid #00ffff;
        justify-content: space-around;
        align-items: center;
    }
    .dock-header { display: none; }
    .dock-btn { margin-bottom: 0; padding: 10px 12px; font-size: 0.9rem; justify-content: center; clip-path: none; border-radius: 4px; }
    .container-3d { margin-left: 0; margin-top: 20px; }}@media (max-width: 480px) {.dock-btn { text-indent: -9999px; width: auto; flex: 1; }.dock-btn i { text-indent: 0; font-size: 1.2rem; margin: 0 auto; }.container-3d { height: auto; width: 100%; }.cyber-card { padding: 35px 24px; }h2 { font-size: 1.7rem; }}
