@import url('https://fonts.googleapis.com/css2?family=Orienta&family=Noto+Sans+KR&family=Noto+Sans+Bamum&family=Noto+Emoji&display=swap');

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

body {
    background: #000;
    color: #00ff41;
    font-family: 'Share Tech Mono', monospace;
    overflow: hidden;
    height: 100vh;
}

canvas#matrix {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.terminal-window {
    background: rgba(0, 0, 0, 0.88);
    border: 1px solid #00ff41;
    padding: 36px 40px;
    max-width: 780px;
    width: 100%;
    box-shadow:
        0 0 0 1px #00ff4133,
        0 0 40px #00ff4122,
        inset 0 0 60px #00000099;
    position: relative;
}

/* CRT scanline overlay */
.terminal-window::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
    pointer-events: none;
    z-index: 2;
}

.skull {
    font-size: 3.2rem;
    line-height: 1;
    margin-bottom: 18px;
    display: block;
    color: #ff0000;
    filter: drop-shadow(0 0 8px #ff0000aa);
    animation: pulse-skull 1.4s ease-in-out infinite;
}

@keyframes pulse-skull {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 8px #ff0000aa); }
    50%       { opacity: 0.6; filter: drop-shadow(0 0 2px #ff000044); }
}

h1 {
    font-size: 2.4rem;
    letter-spacing: 0.12em;
    color: #ff0000;
    text-shadow: 0 0 12px #ff000088;
    margin-bottom: 6px;
    animation: flicker 5s infinite;
}

@keyframes flicker {
    0%,  19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 22%, 24%, 55% { opacity: 0.4; }
}

.subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: #ff000099;
    margin-bottom: 28px;
}

.divider {
    border: none;
    border-top: 1px solid #00ff4133;
    margin: 20px 0;
}

.log-block {
    font-size: 0.9rem;
    line-height: 2;
    color: #00ff41;
}

.log-block .label        { color: #00ff4188; }
.log-block .value-red    { color: #ff0000; }
.log-block .value-yellow { color: #ffd700; }
.log-block .blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.threat-bar {
    margin: 22px 0;
    font-size: 0.85rem;
    color: #ffd700;
    letter-spacing: 0.1em;
}

.threat-bar span {
    color: #ff0000;
    font-size: 1rem;
}

.legal {
    font-size: 0.78rem;
    color: #00ff4166;
    line-height: 1.8;
    margin-top: 18px;
}

.cursor-line {
    margin-top: 22px;
    font-size: 0.9rem;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cursor {
    display: inline-block;
    width: 9px;
    height: 1.1em;
    background: #ffd700;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

.footer {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: #00ff4144;
    z-index: 10;
}

/* Easter egg overlay */
#easterEgg {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 32px;
}

.neo-line {
    font-size: 2.6rem;
    color: #00ff41;
    text-shadow: 0 0 20px #00ff41;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.2s ease, transform 1.2s ease;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.06em;
}

.neo-line.visible {
    opacity: 1;
    transform: translateY(0);
}