/* --- DESIGN TOKENS & SYSTEM ROOT --- */
:root {
    --bg-color: #020503;
    --terminal-green: #33ff33;
    --terminal-green-dim: #00aa00;
    --terminal-green-dark: #071a07;
    --crt-glow: 0 0 8px rgba(51, 255, 51, 0.4);
    
    /* Construct Colors */
    --ninja-color: #ff5500;
    --ninja-glow: 0 0 15px rgba(255, 85, 0, 0.6);
    --ninja-bg: rgba(255, 85, 0, 0.03);
    
    --angel-color: #00ccff;
    --angel-glow: 0 0 15px rgba(0, 204, 255, 0.6);
    --angel-bg: rgba(0, 204, 255, 0.03);
    
    --zero-color: #33ff33;
    --zero-glow: 0 0 15px rgba(51, 255, 51, 0.6);
    --zero-bg: rgba(51, 255, 51, 0.03);

    /* Fonts */
    --font-pixel: 'VT323', monospace;
    --font-mono: 'Share Tech Mono', 'Courier New', monospace;

    /* Custom Cursor Color */
    --cursor-color: var(--terminal-green);
    --cursor-glow: 0 0 8px var(--terminal-green);
}

/* --- CRT & SCREEN EFFECT LAYOUT --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--terminal-green);
    overflow-x: hidden;
    font-family: var(--font-mono);
    cursor: none; /* Hide default cursor for Awwwards style */
}

.crt-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle, #0c2010 0%, #020503 100%);
    overflow: hidden;
    transition: transform 0.15s ease;
}

/* Custom Cursor Elements */
#custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--cursor-color);
    box-shadow: var(--cursor-glow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 20000;
    transform: translate(-50%, -50%);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

#custom-cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--cursor-color);
    box-shadow: var(--cursor-glow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 19999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.25s, box-shadow 0.25s;
}

#custom-cursor-ring.hovering {
    width: 50px;
    height: 50px;
    background-color: rgba(51, 255, 51, 0.03);
    border-style: dashed;
    animation: rotate-cursor-ring 8s linear infinite;
}

@keyframes rotate-cursor-ring {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hide custom cursors on touch screens */
@media (hover: none) and (pointer: coarse) {
    #custom-cursor, #custom-cursor-ring {
        display: none;
    }
    html, body {
        cursor: auto;
    }
}

/* Scanline and CRT Glass Effects */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
}

.crt-screen::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: radial-gradient(circle, rgba(18,16,16,0) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 9998;
    pointer-events: none;
}

.flicker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 16, 16, 0.02);
    opacity: 0;
    z-index: 9997;
    pointer-events: none;
    animation: crt-flicker 0.15s infinite;
}

@keyframes crt-flicker {
    0% { opacity: 0.27861; }
    5% { opacity: 0.34769; }
    10% { opacity: 0.23604; }
    15% { opacity: 0.90626; }
    20% { opacity: 0.18128; }
    25% { opacity: 0.83891; }
    30% { opacity: 0.65583; }
    35% { opacity: 0.67807; }
    40% { opacity: 0.26559; }
    45% { opacity: 0.84693; }
    50% { opacity: 0.96019; }
    55% { opacity: 0.13594; }
    60% { opacity: 0.88013; }
    65% { opacity: 0.48371; }
    70% { opacity: 0.04631; }
    75% { opacity: 0.64316; }
    80% { opacity: 0.80268; }
    85% { opacity: 0.89927; }
    90% { opacity: 0.54222; }
    95% { opacity: 0.08093; }
    100% { opacity: 0.28537; }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-radial-gradient(circle at 17% 32%, white, black 0.00085px);
    opacity: 0.012;
    z-index: 9996;
    pointer-events: none;
}

/* --- BOOT SCREEN OVERLAY --- */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #010402;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

.boot-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(51, 255, 51, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 255, 51, 0.01) 1px, transparent 1px);
    background-size: 30px 30px;
}

.boot-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 10;
}

.boot-logo {
    font-size: 8px;
    line-height: 1.15;
    white-space: pre;
    color: var(--terminal-green);
    text-shadow: var(--crt-glow);
    overflow-x: auto;
    text-align: center;
}

.boot-terminal-log {
    height: 120px;
    background-color: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(51, 255, 51, 0.2);
    border-radius: 4px;
    padding: 15px;
    overflow-y: auto;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: rgba(51, 255, 51, 0.75);
    scrollbar-width: none;
}

.boot-terminal-log::-webkit-scrollbar {
    display: none;
}

.boot-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.boot-progress-bar {
    flex-grow: 1;
    height: 10px;
    background-color: rgba(51, 255, 51, 0.05);
    border: 1px solid rgba(51, 255, 51, 0.3);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.boot-progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--terminal-green);
    box-shadow: var(--crt-glow);
    transition: width 0.05s linear;
}

.boot-percentage {
    font-size: 24px;
    color: var(--terminal-green);
    text-shadow: var(--crt-glow);
    min-width: 60px;
    text-align: right;
}

.boot-action-wrapper {
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.boot-action-wrapper.show {
    opacity: 1;
}

.boot-btn {
    background-color: var(--terminal-green);
    color: #020503;
    border: none;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 12px 40px;
    border-radius: 3px;
    cursor: none;
    box-shadow: var(--crt-glow);
    transition: all 0.3s ease;
    outline: none;
}

.boot-btn:hover:not(:disabled) {
    background-color: #ffffff;
    box-shadow: 0 0 20px #ffffff;
    transform: scale(1.05);
}

.boot-btn:disabled {
    background-color: rgba(51, 255, 51, 0.2);
    color: rgba(0, 0, 0, 0.4);
    box-shadow: none;
}

/* Boot screen hidden state */
#boot-screen.hidden {
    opacity: 0;
    transform: scale(1.03);
    pointer-events: none;
}

/* Font Classes */
.font-pixel {
    font-family: var(--font-pixel);
}

.font-mono {
    font-family: var(--font-mono);
}

/* --- HEADER --- */
.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(51, 255, 51, 0.2);
    padding-bottom: 8px;
    z-index: 10;
}

.header-status {
    display: flex;
    align-items: center;
    color: var(--terminal-green);
    text-shadow: var(--crt-glow);
}

.pulse-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--terminal-green);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: var(--crt-glow);
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.audio-control {
    cursor: none;
    border: 1px solid rgba(51, 255, 51, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    background-color: rgba(51, 255, 51, 0.05);
    transition: all 0.2s ease;
    user-select: none;
}

.audio-control:hover {
    background-color: rgba(51, 255, 51, 0.2);
    box-shadow: var(--crt-glow);
}

/* --- MAIN BRANDING --- */
.content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    z-index: 10;
}

.main-title {
    font-size: 5rem;
    text-align: center;
    color: var(--terminal-green);
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8), 0 0 20px rgba(51, 255, 51, 0.4);
    letter-spacing: 6px;
    line-height: 1;
    margin-bottom: 5px;
    user-select: none;
}

.subtitle {
    font-size: 13px;
    color: rgba(51, 255, 51, 0.7);
    text-shadow: var(--crt-glow);
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 35px;
}

/* --- CONSTRUCT FRAME CONTAINER --- */
.terminal-frame {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background-color: rgba(2, 8, 4, 0.85);
    border: 1px solid rgba(51, 255, 51, 0.25);
    box-shadow: inset 0 0 30px rgba(51, 255, 51, 0.08);
    border-radius: 6px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.frame-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(51, 255, 51, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 255, 51, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* --- CONSTRUCTS GRID --- */
.constructs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card Styling */
.construct-card {
    position: relative;
    background-color: rgba(2, 5, 3, 0.9);
    border: 1px solid rgba(51, 255, 51, 0.15);
    border-radius: 5px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    cursor: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-glow-border {
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Hover effects */
.construct-card:hover {
    transform: translateY(-5px);
    border-color: rgba(51, 255, 51, 0.4);
    box-shadow: 0 5px 20px rgba(51, 255, 51, 0.08);
}

/* Specific Active State glows */
.construct-card.active {
    background-color: rgba(5, 12, 6, 0.95);
    z-index: 2;
}

/* Card 1: Ninja Active */
.construct-card[data-construct="ninja"].active {
    border-color: var(--ninja-color);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.15), inset 0 0 15px rgba(255, 85, 0, 0.05);
}
.construct-card[data-construct="ninja"].active .card-glow-border {
    border: 1px solid var(--ninja-color);
    box-shadow: var(--ninja-glow);
    opacity: 0.6;
}

/* Card 2: Angel Active */
.construct-card[data-construct="angel"].active {
    border-color: var(--angel-color);
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.15), inset 0 0 15px rgba(0, 204, 255, 0.05);
}
.construct-card[data-construct="angel"].active .card-glow-border {
    border: 1px solid var(--angel-color);
    box-shadow: var(--angel-glow);
    opacity: 0.6;
}

/* Card 3: Zero Active */
.construct-card[data-construct="zero"].active {
    border-color: var(--zero-color);
    box-shadow: 0 0 15px rgba(51, 255, 51, 0.15), inset 0 0 15px rgba(51, 255, 51, 0.05);
}
.construct-card[data-construct="zero"].active .card-glow-border {
    border: 1px solid var(--zero-color);
    box-shadow: var(--zero-glow);
    opacity: 0.6;
}

/* Badge (Top-left classification tag) */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 2px;
    font-weight: bold;
}

.orange-badge {
    color: var(--ninja-color);
    border: 1px solid var(--ninja-color);
    background-color: rgba(255, 85, 0, 0.08);
}

.blue-badge {
    color: var(--angel-color);
    border: 1px solid var(--angel-color);
    background-color: rgba(0, 204, 255, 0.08);
}

.green-badge {
    color: var(--zero-color);
    border: 1px solid var(--zero-color);
    background-color: rgba(51, 255, 51, 0.08);
}

/* Active status indicator top-right */
.active-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 1px;
    background-color: var(--terminal-green);
    color: #020503;
    padding: 2px 7px;
    border-radius: 2px;
    box-shadow: var(--crt-glow);
}

/* Avatar Containers */
.avatar-container {
    width: 100%;
    height: 180px;
    background-color: #010302;
    border: 1px solid rgba(51, 255, 51, 0.1);
    border-radius: 4px;
    margin-top: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.construct-card:hover .avatar-img {
    opacity: 0.95;
    filter: brightness(1.1);
}

.scanline-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(51, 255, 51, 0.2);
    box-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
    animation: avatar-scan 3s linear infinite;
    pointer-events: none;
}

@keyframes avatar-scan {
    0% { top: 0%; }
    100% { top: 100%; }
}

/* Glitch styling for Ninja Avatar */
.glitch-avatar .avatar-img {
    filter: sepia(0.3) hue-rotate(-30deg) saturate(1.2);
}
.glitch-avatar .scanline-bar {
    background: rgba(255, 85, 0, 0.3);
    box-shadow: 0 0 5px rgba(255, 85, 0, 0.6);
}

/* Glitter styling for Angel Avatar */
.glitter-avatar .avatar-img {
    filter: saturate(1.5) brightness(1.05) drop-shadow(0 0 4px rgba(0, 204, 255, 0.3));
}
.glitter-avatar .scanline-bar {
    background: rgba(0, 204, 255, 0.3);
    box-shadow: 0 0 5px rgba(0, 204, 255, 0.6);
}

/* Smooth gradient styling for Agent Zero */
.smooth-avatar .avatar-img {
    filter: saturate(1.1) brightness(1.1) drop-shadow(0 0 6px rgba(51, 255, 51, 0.3));
}

/* Card Copy texts */
.construct-name {
    font-size: 20px;
    letter-spacing: 1.5px;
    color: #e5ffe5;
    text-shadow: 0 0 4px rgba(229, 255, 229, 0.4);
    margin-bottom: 12px;
}

/* Selected name colors */
.construct-card[data-construct="ninja"].active .construct-name {
    color: #ffd2b3;
    text-shadow: 0 0 4px rgba(255, 178, 128, 0.6);
}
.construct-card[data-construct="angel"].active .construct-name {
    color: #b3f0ff;
    text-shadow: 0 0 4px rgba(128, 230, 255, 0.6);
}
.construct-card[data-construct="zero"].active .construct-name {
    color: #b3ffb3;
    text-shadow: 0 0 4px rgba(128, 255, 128, 0.6);
}

.construct-desc {
    font-size: 11px;
    color: rgba(51, 255, 51, 0.65);
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* STATS */
.stats-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px dashed rgba(51, 255, 51, 0.15);
    padding-top: 15px;
}

.stat-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 9px;
    letter-spacing: 1px;
    color: rgba(51, 255, 51, 0.5);
}

.stat-value {
    align-self: flex-end;
    font-size: 10px;
    margin-top: -14px;
    font-weight: bold;
}

.stat-bar-container {
    width: 100%;
    height: 6px;
    background-color: rgba(51, 255, 51, 0.05);
    border: 1px solid rgba(51, 255, 51, 0.15);
    border-radius: 1px;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    width: 0%;
    transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.orange-bar {
    background-color: var(--ninja-color);
    box-shadow: 0 0 5px var(--ninja-color);
}

.blue-bar {
    background-color: var(--angel-color);
    box-shadow: 0 0 5px var(--angel-color);
}

.green-bar {
    background-color: var(--zero-color);
    box-shadow: 0 0 5px var(--zero-color);
}

/* --- FOOTER ALIGNMENTS --- */
.alignment-caption {
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(51, 255, 51, 0.45);
    text-align: center;
    margin-top: 5px;
    text-shadow: 0 0 2px rgba(51, 255, 51, 0.2);
}

/* --- DEPLOY BUTTON --- */
.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.deploy-btn {
    background-color: var(--terminal-green);
    color: #020503;
    border: none;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 16px 36px;
    border-radius: 30px;
    cursor: none;
    box-shadow: var(--zero-glow);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    outline: none;
}

.deploy-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 0 25px rgba(51, 255, 51, 0.8);
    background-color: #ffffff;
}

.deploy-btn:active {
    transform: scale(0.98);
}

/* Button color adjusts to selected card */
.crt-screen:has([data-construct="ninja"].active) .deploy-btn {
    background-color: var(--ninja-color);
    box-shadow: var(--ninja-glow);
}
.crt-screen:has([data-construct="ninja"].active) .deploy-btn:hover {
    background-color: #ffd8bf;
    box-shadow: 0 0 25px rgba(255, 85, 0, 0.8);
}

.crt-screen:has([data-construct="angel"].active) .deploy-btn {
    background-color: var(--angel-color);
    box-shadow: var(--angel-glow);
}
.crt-screen:has([data-construct="angel"].active) .deploy-btn:hover {
    background-color: #d8f6ff;
    box-shadow: 0 0 25px rgba(0, 204, 255, 0.8);
}

/* --- FLOATING COPILOT TERMINAL WIDGET --- */
.copilot-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 330px;
    background-color: rgba(2, 6, 3, 0.95);
    border: 1px solid rgba(51, 255, 51, 0.3);
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.8);
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.widget-header {
    background-color: rgba(51, 255, 51, 0.1);
    border-bottom: 1px solid rgba(51, 255, 51, 0.3);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    letter-spacing: 1px;
    cursor: none;
}

.widget-title {
    color: var(--terminal-green);
    text-shadow: var(--crt-glow);
    font-weight: bold;
}

.widget-controls {
    color: var(--terminal-green);
}

.widget-minimize {
    cursor: none;
    font-size: 12px;
    padding: 0 4px;
}

.widget-body {
    display: flex;
    flex-direction: column;
    height: 200px;
    padding: 12px;
    background-color: rgba(1, 3, 2, 0.95);
    transition: height 0.3s ease;
}

.terminal-log {
    flex-grow: 1;
    overflow-y: auto;
    font-size: 10px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
    padding-right: 5px;
}

.terminal-log::-webkit-scrollbar {
    width: 4px;
}

.terminal-log::-webkit-scrollbar-track {
    background: rgba(51, 255, 51, 0.02);
}

.terminal-log::-webkit-scrollbar-thumb {
    background: rgba(51, 255, 51, 0.2);
    border-radius: 2px;
}

.log-line {
    word-break: break-all;
}

.log-line.user-msg {
    color: #ffffff;
}

.log-line.system-msg {
    color: rgba(51, 255, 51, 0.6);
}

.log-line.help-hint {
    color: rgba(255, 255, 51, 0.6);
}

.log-line.error-msg {
    color: #ff3333;
}

.log-line.deploy-msg {
    color: #33ff33;
    animation: flash-green 1s infinite alternate;
}

@keyframes flash-green {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.input-line {
    display: flex;
    align-items: center;
    border-top: 1px dashed rgba(51, 255, 51, 0.2);
    padding-top: 8px;
    font-size: 11px;
}

.prompt-char {
    color: var(--terminal-green);
    margin-right: 6px;
    text-shadow: var(--crt-glow);
}

#terminal-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 11px;
    cursor: none;
}

.copilot-widget.minimized .widget-body {
    height: 0;
    padding: 0;
    overflow: hidden;
    border-top: none;
}

/* --- GLITCH / SCREEN SHAKE SHADER EFFECTS --- */
.crt-screen.glitch-active {
    animation: screen-shake 0.3s cubic-bezier(.36,.07,.19,.97) both infinite;
    filter: hue-rotate(90deg) contrast(1.5) saturate(1.5);
}

@keyframes screen-shake {
    10%, 90% { transform: translate3d(-2px, 0, 0); }
    20%, 80% { transform: translate3d(3px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-5px, -2px, 0); }
    40%, 60% { transform: translate3d(5px, 2px, 0); }
}

/* --- FOOTER SECTION --- */
.terminal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    letter-spacing: 1px;
    border-top: 1px solid rgba(51, 255, 51, 0.15);
    padding-top: 12px;
    margin-top: 30px;
    color: rgba(51, 255, 51, 0.4);
    z-index: 10;
}

.hash-text {
    color: rgba(51, 255, 51, 0.7);
    text-shadow: var(--crt-glow);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .constructs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .main-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .crt-screen {
        padding: 15px;
    }
    .main-title {
        font-size: 2.8rem;
    }
    .subtitle {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-bottom: 25px;
    }
    .constructs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .terminal-frame {
        padding: 20px 15px;
    }
    .copilot-widget {
        position: static;
        width: 100%;
        margin-top: 25px;
        bottom: auto;
        left: auto;
    }
    .terminal-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-top: 25px;
    }
    .boot-logo {
        font-size: 5px;
    }
}
