:root {
    --neon-green: #00ffcc;
    --dark-bg: #0d0d15;
    --panel-bg: #1a1a2e;
    --accent-red: #e94560;
    --text-gray: #b5b5b5;
}

body {
    background-color: var(--dark-bg);
    color: #fff;
    font-family: 'Pretendard', -apple-system, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.game-container {
    width: 95%;
    max-width: 500px;
    padding: 20px;
}

/* 스테이터스 창 */
.status-window {
    background: var(--panel-bg);
    padding: 20px;
    border: 2px solid var(--neon-green);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.1);
}

.user-info {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
}

.level-tag { color: var(--neon-green); }

.xp-wrapper {
    height: 15px;
    background: #333;
    border-radius: 8px;
    margin: 15px 0 5px 0;
    overflow: hidden;
    border: 1px solid #444;
}

#xp-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00ffcc, #00aba9);
    transition: width 0.4s ease-out;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* 타이머 */
.timer-card {
    text-align: center;
    background: var(--panel-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

#timer-display {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--neon-green);
    margin: 15px 0;
    font-variant-numeric: tabular-nums;
}

/* 퀘스트 섹션 */
.quest-log {
    background: var(--panel-bg);
    padding: 20px;
    border-radius: 12px;
}

.quest-controls { margin-bottom: 20px; }

.file-ops {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.quest-input-box {
    display: flex;
    gap: 10px;
}

.quest-input-box input {
    flex: 1;
    background: #0d0d15;
    border: 1px solid #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
}

/* 리스트 아이템 */
#quest-list { list-style: none; padding: 0; }

.quest-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quest-item.completed {
    opacity: 0.4;
    text-decoration: line-through;
}

/* 버튼 스타일 */
button {
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.2s;
}

.btn-primary { background: var(--neon-green); color: #000; padding: 10px 25px; font-size: 1rem; }
.btn-secondary { background: var(--accent-red); color: #fff; padding: 10px 25px; }
.btn-file { background: #444; color: #fff; flex: 1; padding: 8px; font-size: 0.8rem; }
#add-quest-btn { background: var(--neon-green); color: #000; padding: 0 15px; }
.complete-btn { background: #222; color: var(--neon-green); border: 1px solid var(--neon-green); padding: 5px 10px; }