/* Custom styles for retro LCD monitor landing page */

body {
    font-family: 'Share Tech Mono', monospace;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.pixel-font {
    font-family: 'Orbitron', monospace;
    letter-spacing: 2px;
}

/* Scanlines effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: linear-gradient(
        transparent 50%, 
        rgba(0, 255, 0, 0.02) 50%
    );
    background-size: 100% 4px;
    animation: scanlines 0.1s linear infinite;
}

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

/* Marquee effect */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-text {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Monitor styling */
.monitor-container {
    max-width: 320px;
    margin: 0 auto;
}

.monitor-bezel {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* Retro buttons */
.retro-button {
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.3),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.1s;
}

.retro-button:hover {
    box-shadow: 
        inset -1px -1px 2px rgba(255, 255, 255, 0.3),
        inset 1px 1px 2px rgba(0, 0, 0, 0.3);
    transform: translate(1px, 1px);
}

.retro-button:active {
    box-shadow: 
        inset -2px -2px 4px rgba(255, 255, 255, 0.3),
        inset 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: translate(2px, 2px);
}

.retro-button-large {
    box-shadow: 
        inset 3px 3px 6px rgba(255, 255, 255, 0.3),
        inset -3px -3px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
    text-shadow: 2px 2px 0px #000;
}

.retro-button-large:hover {
    box-shadow: 
        inset -2px -2px 4px rgba(255, 255, 255, 0.3),
        inset 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: translate(2px, 2px);
}

/* Glow effects */
.glow {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.shadow-green {
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

/* Feature cards */
.feature-card {
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.1),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3);
}

/* Retro widget styling */
.retro-widget {
    box-shadow: 
        inset -2px -2px 4px rgba(255, 255, 255, 0.1),
        inset 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Easter egg matrix effect */
.matrix-rain {
    position: relative;
}

.matrix-rain::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, #00ff00 1px, transparent 1px);
    background-size: 20px 20px;
    animation: matrix-fall 3s linear;
    pointer-events: none;
    z-index: 999;
}

@keyframes matrix-fall {
    0% { 
        transform: translateY(-100%);
        opacity: 1;
    }
    100% { 
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* CRT flicker effect */
@keyframes crt-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.98; }
}

body {
    animation: crt-flicker 0.15s ease-in-out infinite alternate;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pixel-font {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .marquee-text {
        font-size: 0.8rem;
    }
    
    .retro-button-large {
        font-size: 1.2rem;
        padding: 0.75rem 2rem;
    }
    
    .monitor-container {
        max-width: 280px;
    }
}

/* Special retro table styling */
table {
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.2),
        2px 2px 6px rgba(0, 0, 0, 0.3);
}

table td, table th {
    border: 1px solid #666;
    position: relative;
}

table td::before, table th::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 
        inset 1px 1px 0 rgba(255, 255, 255, 0.3),
        inset -1px -1px 0 rgba(0, 0, 0, 0.3);
    pointer-events: none;
}