body {
    background-color: #1a1a1a;
    color: #ff0000;
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    user-select: none;
    position: relative;
}

/* CRT 효과 */
body::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 1000;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

h1 {
    font-size: 5rem;
    animation: shake 0.5s infinite, glitch 0.3s infinite;
    text-shadow: 2px 2px #00ff00;
    z-index: 10;
    pointer-events: none;
}

@keyframes glitch {
    0% { transform: translate(0) }
    20% { transform: translate(-5px, 5px) }
    40% { transform: translate(-5px, -5px) }
    60% { transform: translate(5px, 5px) }
    80% { transform: translate(5px, -5px) }
    100% { transform: translate(0) }
}

.subtitle {
    font-size: 2rem;
    color: #fff;
    opacity: 0.7;
    z-index: 10;
    pointer-events: none;
}

button {
    padding: 20px 40px;
    font-size: 2rem;
    background: #fff;
    border: 4px solid #ff0000;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    position: absolute;
    top: 60%;
    transition: all 0.05s ease;
    z-index: 100;
    box-shadow: 0 0 15px #ff0000;
}

/* 가짜 에러 팝업 */
.error-popup {
    position: absolute;
    background: #c0c0c0;
    border: 2px solid #fff;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    padding: 10px;
    width: 250px;
    color: black;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    z-index: 500;
    pointer-events: none;
}

.error-title {
    background: #000080;
    color: white;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: bold;
}

/* 보스 모드 (엑셀 화면인 척) */
#boss-screen {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: white;
    z-index: 9999;
    padding: 20px;
}
.excel-table {
    border-collapse: collapse;
    width: 100%;
    color: #333;
}
.excel-table td {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 12px;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.floating-text {
    position: absolute;
    pointer-events: none;
    font-weight: bold;
    opacity: 0.8;
    animation: fadeUp 1.5s forwards;
    white-space: nowrap;
}

@keyframes fadeUp {
    to {
        transform: translateY(-100px) scale(2);
        opacity: 0;
    }
}