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

body {
    overflow: hidden;
    background: #0a0a0a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: #e0e0e0;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.overlay {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    pointer-events: none;
}

.terminal {
    width: min(600px, 90vw);
    background: #141418;
    border: 2px solid #00ffcc44;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 0 50px rgba(0, 255, 204, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 8px 30px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
}

.terminal-header {
    background: #1e1e22;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #00ffcc22;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.terminal-title {
    margin-left: 8px;
    font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
    font-size: 0.75rem;
    color: #666;
}

.terminal-body {
    padding: 16px;
    font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #ccc;
    min-height: 200px;
}

.terminal-line {
    white-space: pre-wrap;
    word-break: break-all;
}

.terminal-prompt {
    color: #00ffcc;
    font-weight: 600;
}

.cursor {
    color: #00ffcc;
    animation: blink 1s step-end infinite;
}

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

.links {
    display: flex;
    gap: 1rem;
    pointer-events: auto;
}

.btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    text-decoration: none;
    color: #0a0a0a;
    background: #00ffcc;
    font-weight: 600;
    transition: box-shadow 0.3s, transform 0.2s;
}

.btn:hover {
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #00ffcc;
    border: 2px solid #00ffcc;
}

.btn-outline:hover {
    background: rgba(0, 255, 204, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

@media (max-width: 600px) {
    .terminal-body {
        font-size: 0.78rem;
        padding: 12px;
        min-height: 170px;
    }

    .terminal-title {
        font-size: 0.65rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}
