/* MATCHING ENGINE STYLES (Unit-734) */

.matching-init-container {
    padding: 60px 20px;
    text-align: center;
    background: transparent;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Segoe UI', system-ui, sans-serif;
    animation: fadeIn 0.5s ease-out;
}

/* Header Section */
.matching-header {
    margin-bottom: 30px;
}

.matching-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-main);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.matching-title .accent {
    color: #00e5ff; /* Cyan Force */
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.matching-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Retro Terminal Container */
.retro-terminal {
    background: #0c0c0c;
    border-radius: 20px;
    border: solid 1px var(--border-color);
    overflow: hidden;
    text-align: left;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    position: relative;
    margin: 0 auto;
    /* CRT Effect Background */
    background: radial-gradient(circle, var(--bg-tertiary) 0%, var(--bg-dark) 100%);
}

/* Scanline Effect */
.retro-terminal::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
}

/* Terminal Window Header */
.terminal-header {
    background: radial-gradient(circle, var(--bg-tertiary) 0%, var(--bg-dark) 100%);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    border-bottom: solid 1px var(--border);
    position: relative;
    z-index: 3;
}

.terminal-dots {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.t-dot.red { background: #ff5f56; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green { background: #27c93f; }

.terminal-caption {
    color: #666;
    font-size: 0.8rem;
    margin-left: auto;
}

/* Terminal Body */
.terminal-body {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    color: var(--accent); /* Classic Terminal Green */
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: 0 0 4px var(--accent-dim);
    position: relative;
    z-index: 1;
}

/* Scrollbar for terminal */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}
.terminal-body::-webkit-scrollbar-track {
    background: #0c0c0c;
}
.terminal-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

/* Log Lines */
.log-line {
    margin-bottom: 4px;
    opacity: 0.9;
    word-wrap: break-word;
}

.log-line.error { color: #ff5f56; text-shadow: 0 0 4px rgba(255, 95, 86, 0.6); }
.log-line.warning { color: #ffbd2e; text-shadow: 0 0 4px rgba(255, 189, 46, 0.6); }
.log-line.info {color: var(--accent-dim-2);}
.log-line.success {color: var(--accent);font-weight: bold;}

/* Blinking Cursor */
.cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--accent);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
    box-shadow: 0 0 5px var(--accent)
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
