:root {
    --bg-color: #000000;
    --primary-color: #21d8d6; /* Skygrid Cyan */
    --accent-color: #ff9d00; /* Skygrid Orange */
    --primary-glow: rgba(33, 216, 214, 0.85); 
    --primary-dim: rgba(33, 216, 214, 0.4); 
    --accent-glow: rgba(255, 157, 0, 0.85);
    --panel-bg: rgba(5, 10, 15, 0.7);
    --text-main: #ffffff;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --font-serif: 'Playfair Display', serif;
    --font-tech: 'Share Tech Mono', monospace;
    --font-headings: 'Orbitron', sans-serif;
    --color-platinum: #D4D4D4;
}

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

body, html {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
}

.orbitron-text {
    font-family: var(--font-headings);
}
.tech-text {
    font-family: var(--font-tech);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-dim);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-glow);
}

/* Global Iron Man Background */
.global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.bg-image {
    position: absolute;
    top: -5%; left: -5%;
    width: 110%; height: 110%; /* Prevent blur edges from showing */
    background-image: url('frames/background.jpeg');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
}
.bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Reduced opacity so image is visible */
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}
.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-platinum);
    letter-spacing: 0.15em;
    font-weight: 500;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    font-family: var(--font-tech);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s, opacity 0.3s;
    position: relative;
    opacity: 0.7;
}
.nav-links a::before {
    content: '[ ';
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--primary-color);
}
.nav-links a::after {
    content: ' ]';
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--primary-color);
}
.nav-links a:hover, .nav-links a.active {
    opacity: 1;
    text-shadow: 0 0 8px var(--primary-glow);
}
.nav-links a:hover::before, .nav-links a:hover::after,
.nav-links a.active::before, .nav-links a.active::after {
    opacity: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
}

.hero-pinned-content {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-color);
}

.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.canvas-container canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-titles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
}

.hero-titles h1 {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 500;
    color: var(--color-platinum);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.hero-titles h2 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-platinum);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s;
}
.scroll-text {
    font-family: var(--font-tech);
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--color-platinum);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    text-shadow: 0 0 10px rgba(212, 212, 212, 0.4);
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-platinum), transparent);
    animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    50.1% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* HUD Overlay */
.hud-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 500;
    opacity: 0; /* Shown during boot */
    transition: opacity 1s;
}
.hud-overlay.active {
    opacity: 1;
}

/* No scanline */

.hud-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--primary-dim);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
    opacity: 0;
    transition: opacity 2s ease 1s; /* Fades in slowly */
}
.hud-overlay.active .hud-frame {
    opacity: 1;
}
.hud-frame::before, .hud-frame::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--primary-color);
    border-style: solid;
    transition: border-color 0.5s;
}
.hud-frame::before {
    top: -1px; left: -1px;
    border-width: 2px 0 0 2px;
}
.hud-frame::after {
    bottom: -1px; right: -1px;
    border-width: 0 2px 2px 0;
}

.reticle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    opacity: 0;
}
.reticle.animating {
    animation: reticleDraw 1.5s forwards 0.5s;
}
.reticle-circle {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px dashed var(--primary-dim);
    border-radius: 50%;
    animation: spin 10s linear infinite;
}
.reticle-line {
    position: absolute;
    background: var(--primary-dim);
}
.h-line { top: 50%; left: -20px; right: -20px; height: 1px; }
.v-line { left: 50%; top: -20px; bottom: -20px; width: 1px; }

@keyframes reticleDraw {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}

.hud-status {
    position: absolute;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--primary-color);
    opacity: 0;
    letter-spacing: 1px;
}
.hud-status::after {
    content: '_';
    animation: blinker 1s step-end infinite;
    opacity: 0.8;
}
.hud-status.animating {
    animation: flickerIn 2s forwards 1s;
}
.top-left { top: 100px; left: 35px; }
.top-right { top: 100px; right: 35px; }
.bottom-left { bottom: 35px; left: 35px; }
.bottom-right { bottom: 35px; right: 35px; }

@keyframes flickerIn {
    0% { opacity: 0; }
    10% { opacity: 0.5; }
    20% { opacity: 0; }
    30% { opacity: 1; }
    40% { opacity: 0.2; }
    100% { opacity: 0.6; }
}

.content-wrapper {
    position: relative;
    z-index: 100;
}

.hud-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}

/* About Section: Two-Column Reticle */
.two-column-layout {
    display: flex;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 0 8vw;
    gap: 4vw;
}

/* Left: Bio */
.bio-column {
    flex: 1;
    position: relative;
    max-width: 600px;
    z-index: 10;
}
.bio-arcs {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 180%; height: 180%;
    border: 2px dashed rgba(0,191,255,0.4);
    border-radius: 50%;
    animation: slowSpin 40s linear infinite;
    z-index: -1;
    pointer-events: none;
    box-shadow: 0 0 20px var(--primary-dim), inset 0 0 20px var(--primary-dim);
}
.bio-glow-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150%; height: 150%;
    background: radial-gradient(circle, rgba(0,191,255,0.25) 0%, transparent 70%);
    z-index: -1;
    animation: pulseGlow 4s infinite alternate;
    pointer-events: none;
}
.progress-label {
    display: block;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-shadow: 0 0 10px var(--primary-glow);
    animation: blinker 2s infinite;
}
.about-title {
    font-size: 3.5rem;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--primary-glow);
}
.about-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 2rem;
    display: block;
    text-shadow: 0 0 10px var(--primary-glow);
}
.bio-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* Right: Targeting Reticle */
.reticle-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}
.targeting-reticle {
    position: relative;
    width: 500px;
    height: 500px;
    animation: pulseGlow 2.5s infinite alternate;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}
.ret-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow), inset 0 0 15px var(--primary-glow);
}
.ret-outer-dashed {
    width: 100%; height: 100%;
    border: 3px dashed var(--primary-color);
    animation: slowSpin 25s linear infinite;
}
.ret-mid-solid {
    width: 75%; height: 75%;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow), inset 0 0 15px var(--accent-glow);
}
.ret-inner-dotted {
    width: 50%; height: 50%;
    border: 4px dotted var(--primary-color);
    animation: slowSpin 15s linear infinite reverse;
}
.ret-crosshairs {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.ret-h, .ret-v {
    position: absolute;
    background: rgba(0,191,255,0.3);
}
.ret-h { top: 50%; left: -10%; right: -10%; height: 1px; }
.ret-v { left: 50%; top: -10%; bottom: -10%; width: 1px; }

.ret-core-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 40px 10px #fff, 0 0 60px 20px var(--primary-color);
    animation: pulseNode 1s infinite alternate;
}

.data-tag {
    position: absolute;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-glow);
    letter-spacing: 1.5px;
    background: rgba(33, 216, 214, 0.1);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px var(--primary-dim);
    padding: 6px 12px;
    white-space: nowrap;
}
.tag-1 {
    top: -5%; right: -20%;
    animation: floatY 4s ease-in-out infinite;
}
.tag-2 {
    bottom: 20%; left: -10%; 
    animation: floatY 5s ease-in-out infinite reverse; 
    border-color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}
.tag-3 {
    top: 30%; right: -30%;
    animation: floatY 6s ease-in-out infinite;
    border-color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Skills Section: Clean Data Bars */
.skills-list-container {
    width: 800px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.skill-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.skill-row:hover {
    opacity: 1;
    transform: translateX(10px);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.skill-header h3 {
    font-size: 1rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin: 0;
    transition: all 0.3s ease;
}

.skill-level {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-glow);
}

.skill-bar-track {
    width: 100%;
    height: 4px;
    background: rgba(33, 216, 214, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
    transition: all 0.5s ease;
}

.skill-row:hover .skill-header h3 {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-glow);
}

.skill-row:hover .skill-bar-fill {
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

.skill-desc {
    font-size: 0.85rem;
    color: #a0c0d0;
    line-height: 1.4;
    margin: 0;
}

/* Projects Section: Terminal Split View */
.projects-terminal-container {
    width: 900px;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.terminal-header {
    border-bottom: 1px solid rgba(33, 216, 214, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.terminal-split-view {
    display: flex;
    gap: 40px;
    height: 400px;
}

.dir-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-right: 1px solid rgba(33, 216, 214, 0.2);
    padding-right: 20px;
}

.dir-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 15, 25, 0.4);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dir-item:hover {
    background: rgba(0, 25, 45, 0.8);
    border-color: var(--accent-color);
    box-shadow: inset 0 0 15px rgba(33, 216, 214, 0.1);
}

.dir-id {
    color: var(--primary-color);
    font-size: 0.9rem;
    opacity: 0.6;
}

.dir-item h3 {
    font-size: 1rem;
    color: #fff;
    margin: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dir-item:hover h3 {
    opacity: 1;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

.dir-item:hover .dir-id {
    opacity: 1;
    color: var(--accent-color);
}

.dir-readout {
    flex: 1.2;
    position: relative;
    background: rgba(0, 5, 10, 0.6);
    border: 1px solid rgba(33, 216, 214, 0.3);
    padding: 30px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.readout-panel {
    position: absolute;
    top: 30px; left: 30px; right: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.readout-panel h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.readout-panel p {
    font-size: 0.9rem;
    color: #a0c0d0;
    line-height: 1.6;
}

/* Hover Logic to show readout panels */
.terminal-split-view:has(.dir-item[data-target="p1"]:hover) .readout-panel.p1,
.terminal-split-view:has(.dir-item[data-target="p2"]:hover) .readout-panel.p2,
.terminal-split-view:has(.dir-item[data-target="p3"]:hover) .readout-panel.p3,
.terminal-split-view:has(.dir-item[data-target="p4"]:hover) .readout-panel.p4 {
    opacity: 1;
    visibility: visible;
}

/* Default show first panel if no hover */
.terminal-split-view:not(:has(.dir-item:hover)) .readout-panel.p1 {
    opacity: 1;
    visibility: visible;
}

/* Platforms Section: Data Chips Grid */
.platforms-chips-container {
    width: 900px;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.platform-category {
    background: rgba(0, 15, 25, 0.4);
    border: 1px solid rgba(33, 216, 214, 0.15);
    padding: 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.platform-category:hover {
    background: rgba(0, 25, 45, 0.6);
    border-color: rgba(33, 216, 214, 0.4);
    box-shadow: inset 0 0 20px rgba(33, 216, 214, 0.05);
}

.category-title {
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px var(--primary-glow);
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.data-chip {
    font-size: 0.8rem;
    color: #a0c0d0;
    padding: 6px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(160, 192, 208, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: default;
}

.data-chip:hover {
    color: #fff;
    border-color: var(--accent-color);
    background: rgba(33, 216, 214, 0.1);
    box-shadow: 0 0 10px var(--accent-glow);
    transform: translateY(-2px);
}

/* Contact Section: Terminal View */
.terminal-contact-box {
    width: 700px;
    max-width: 95vw;
    background: rgba(0, 5, 10, 0.6);
    border: 1px solid rgba(33, 216, 214, 0.3);
    padding: 40px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.contact-terminal-readouts {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.holo-readout-line {
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 2px;
}

.holo-readout-line:nth-child(2) {
    color: var(--accent-color);
}

.contact-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.terminal-action-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid rgba(33, 216, 214, 0.3);
    background: rgba(0, 15, 25, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.terminal-action-link:hover {
    color: #fff;
    border-color: var(--accent-color);
    background: rgba(33, 216, 214, 0.2);
    box-shadow: 0 0 15px var(--accent-glow);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Global Utilities & Animations */
@keyframes slowSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}
@keyframes pulseGlow {
    0% { opacity: 0.75; filter: drop-shadow(0 0 15px var(--primary-dim)); }
    100% { opacity: 1; filter: drop-shadow(0 0 40px var(--primary-glow)); }
}
@keyframes pulseNode {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}
@keyframes blinker {
    50% { opacity: 0; }
}
@keyframes sonarPing {
    0% { width: 0; height: 0; opacity: 1; border-width: 4px; }
    100% { width: 1200px; height: 1200px; opacity: 0; border-width: 1px; }
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    /* Fix scrolling on mobile */
    body, html {
        scroll-snap-type: none;
        height: auto;
        overflow-y: auto;
    }

    /* Navigation */
    .main-nav {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    .nav-brand {
        font-size: 0.9rem;
        white-space: nowrap;
    }
    .nav-links {
        gap: 0.8rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    .nav-links a {
        font-size: 0.65rem;
        white-space: nowrap;
    }
    .nav-links a::before,
    .nav-links a::after {
        display: none;
    }

    /* Hero */
    .hero-section {
        scroll-snap-align: none;
    }
    .scroll-text {
        font-size: 1rem;
    }

    /* HUD Sections */
    .hud-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 15px 40px;
        scroll-snap-align: none;
    }

    /* About */
    .two-column-layout {
        flex-direction: column;
        height: auto;
        padding: 0 5vw;
        gap: 2rem;
    }
    .bio-column {
        max-width: 100%;
    }
    .about-title {
        font-size: 2rem;
    }
    .bio-text {
        font-size: 0.95rem;
    }
    .reticle-column {
        display: none;
    }

    /* Skills */
    .skills-list-container {
        width: 100%;
    }
    .skill-header h3 {
        font-size: 0.85rem;
    }
    .skill-desc {
        font-size: 0.8rem;
    }

    /* Projects */
    .projects-terminal-container {
        width: 100%;
    }
    .terminal-split-view {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }
    .dir-list {
        border-right: none;
        border-bottom: 1px solid rgba(33, 216, 214, 0.2);
        padding-right: 0;
        padding-bottom: 15px;
    }
    .dir-item h3 {
        font-size: 0.8rem;
    }
    .dir-readout {
        min-height: 200px;
    }
    .readout-panel {
        position: relative;
        top: 0; left: 0; right: 0;
    }
    .readout-panel h3 {
        font-size: 1rem;
    }

    /* Platforms */
    .platforms-chips-container {
        width: 100%;
    }
    .chip-grid {
        gap: 10px;
    }
    .data-chip {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    /* Contact */
    .terminal-contact-box {
        width: 100%;
        padding: 25px 20px;
    }
    .holo-readout-line {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    .contact-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .terminal-action-link {
        font-size: 0.75rem;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }

    /* HUD Overlay */
    .hud-frame {
        top: 10px; left: 10px; right: 10px; bottom: 10px;
    }
    .hud-status {
        font-size: 0.65rem;
    }
    .top-left { top: 70px; left: 15px; }
    .top-right { top: 70px; right: 15px; }
    .bottom-left { bottom: 15px; left: 15px; }
    .bottom-right { bottom: 15px; right: 15px; }
}
