:root {
    --neon-green: #00ff41;
    --neon-cyan: #00ffff;
    --neon-purple: #bf00ff;
    --neon-orange: #ff6b00;
    --dark-terminal: #0a0a0a;
    --dark-bg: #111111;
    --grid-color: #00ff4130;
    --text-shadow: 0 0 10px;
}

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

body {
    background: var(--dark-terminal);
    color: var(--neon-green);
    font-family: 'Courier New', 'Consolas', monospace;
    overflow-x: hidden;
    position: relative;
}

/* Animated Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 65, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite alternate;
    z-index: -2;
}

@keyframes gridPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* Floating Data Streams */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 200px,
            rgba(0, 255, 255, 0.05) 200px,
            rgba(0, 255, 255, 0.05) 202px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 150px,
            rgba(191, 0, 255, 0.05) 150px,
            rgba(191, 0, 255, 0.05) 152px
        );
    animation: dataFlow 8s linear infinite;
    z-index: -1;
}

@keyframes dataFlow {
    0% { transform: translateX(-100px) translateY(-100px); }
    100% { transform: translateX(100px) translateY(100px); }
}

/* Main Terminal Container */
.terminal-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

/* Holographic Display Frame */
.holo-frame {
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--neon-cyan);
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.5),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 800px;
    width: 100%;
    text-align: center;
    animation: holoGlow 3s ease-in-out infinite alternate;
}

@keyframes holoGlow {
    0% { 
        box-shadow: 
            0 0 30px rgba(0, 255, 255, 0.5),
            inset 0 0 30px rgba(0, 255, 255, 0.1);
    }
    100% { 
        box-shadow: 
            0 0 50px rgba(0, 255, 255, 0.7),
            inset 0 0 50px rgba(0, 255, 255, 0.2);
    }
}

/* Corner Brackets */
.holo-frame::before,
.holo-frame::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--neon-orange);
}

.holo-frame::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
    animation: cornerPulse 2s ease-in-out infinite alternate;
}

.holo-frame::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
    animation: cornerPulse 2s ease-in-out infinite alternate-reverse;
}

@keyframes cornerPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Terminal Header */
.terminal-header {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--neon-green);
    border-radius: 5px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-align: left;
    position: relative;
}

.terminal-header::before {
    content: '● ● ●';
    color: var(--neon-orange);
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* System Status */
.system-status {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
    text-shadow: var(--text-shadow) var(--neon-cyan);
}

/* Main Logo */
.tech-logo {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: bold;
    color: var(--neon-green);
    text-shadow: var(--text-shadow) var(--neon-green);
    margin: 1rem 0;
    position: relative;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 10px var(--neon-green); }
    100% { text-shadow: 0 0 20px var(--neon-green), 0 0 30px var(--neon-green); }
}

.tech-logo::after {
    content: '_';
    animation: blink 1s infinite;
    color: var(--neon-orange);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Subtitle */
.subtitle {
    color: var(--neon-purple);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    text-shadow: var(--text-shadow) var(--neon-purple);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Description Box */
.description-panel {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--neon-green);
    border-radius: 5px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    line-height: 1.6;
}

.description-panel::before {
    content: '> SYSTEM_INFO';
    position: absolute;
    top: -10px;
    left: 10px;
    background: var(--dark-terminal);
    padding: 0 0.5rem;
    font-size: 0.8rem;
    color: var(--neon-cyan);
}

/* Data Readouts */
.data-readouts {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.readout {
    background: rgba(191, 0, 255, 0.1);
    border: 1px solid var(--neon-purple);
    border-radius: 3px;
    padding: 0.8rem;
    flex: 1;
    min-width: 120px;
    position: relative;
}

.readout-label {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.readout-value {
    font-size: 1.1rem;
    color: var(--neon-orange);
    text-shadow: var(--text-shadow) var(--neon-orange);
    font-weight: bold;
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-cyan);
    border-radius: 50%;
    animation: float 6s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Scan Lines Effect */
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 65, 0.03) 2px,
        rgba(0, 255, 65, 0.03) 4px
    );
    animation: scan 0.1s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .holo-frame {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .data-readouts {
        flex-direction: column;
    }
    
    .particle {
        display: none;
    }
}