body {
    background: #000;
    color: #00ff66;
    font-family: "Courier New", monospace;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    text-align: center;
}

.title {
    font-size: 3rem;
    text-shadow: 0 0 10px #00ff66;
    margin-bottom: 0;
}

.subtitle {
    margin-top: 5px;
    margin-bottom: 40px;
    opacity: 0.7;
    letter-spacing: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.panel {
    border: 2px solid #00ff66;
    padding: 25px;
    text-decoration: none;
    color: #00ff66;
    background: rgba(0, 20, 0, 0.6);
    box-shadow: 0 0 15px #00ff66 inset;
    transition: 0.2s ease;
}

.panel:hover {
    background: rgba(0, 40, 0, 0.9);
    transform: scale(1.03);
    box-shadow: 0 0 25px #00ff66;
}

.panel h2 {
    margin: 0;
    font-size: 1.8rem;
    text-shadow: 0 0 8px #00ff66;
}

.panel p {
    margin-top: 10px;
    opacity: 0.8;
}

footer {
    margin-top: 50px;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* CRT Scanlines */
.crt-overlay {
    pointer-events: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        rgba(0,0,0,0.15) 0px,
        rgba(0,0,0,0.15) 2px,
        rgba(0,0,0,0.05) 3px
    );
    z-index: 999;
    mix-blend-mode: multiply;
}

/* Flicker */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

body {
    animation: flicker 0.15s infinite;
}
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    width: 80%;
    max-width: 900px;
    border: 2px solid #00ff66;
    padding: 20px;
    background: #000;
    box-shadow: 0 0 20px #00ff66;
}

#modal-output {
    color: #00ff66;
    font-family: "Courier New", monospace;
    white-space: pre-wrap;
}
