@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background: #000;
    color: #0f0;
    min-height: 100vh;
    overflow: hidden;
}

#matrix {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.4;
}

.terminal {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.header {
    font-size: 0.85rem;
    color: #0a0;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.typing {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link {
    display: block;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: #0f0;
    border: 1px solid transparent;
    border-left: 3px solid #030;
    background: rgba(0, 20, 0, 0.6);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.4s ease;
}

.link:hover::before {
    left: 100%;
}

.link:hover {
    border-color: #0f0;
    border-left-color: #0f0;
    background: rgba(0, 40, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2), inset 0 0 20px rgba(0, 255, 0, 0.05);
    transform: translateX(5px);
}

.link .prefix {
    color: #060;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.link:hover .prefix {
    color: #0a0;
}

.link .text {
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

.link .desc {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #050;
    letter-spacing: 1px;
}

.link:hover .desc {
    color: #080;
}

.footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #050;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #020;
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #0f0;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px #0f0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.time {
    font-variant-numeric: tabular-nums;
}

/* Scanline effect */
.terminal::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 600px) {
    .terminal {
        padding: 1.5rem;
    }
    
    .link .text {
        font-size: 1rem;
    }
    
    .header {
        font-size: 0.75rem;
    }
}

