:root {
    --bg-color: #0f0f0f;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --vinyl-size: 320px;
    --album-art-size: 160px;
    --sidebar-width: 300px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
}

#bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    transition: background 1.5s ease;
    z-index: -1;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 레이아웃 */
.main-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 20px;
    flex-wrap: wrap;
}

.visual-section { position: relative; }

/* LP판 */
.vinyl-wrapper {
    position: relative;
    width: var(--vinyl-size);
    height: var(--vinyl-size);
}

.tone-arm {
    position: absolute;
    top: -30px;
    right: -20px;
    width: 120px;
    z-index: 100;
    transform-origin: 80% 10%;
    transform: rotate(-30deg);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tone-arm img { width: 100%; filter: invert(1); }
.playing .tone-arm { transform: rotate(0deg); }

.vinyl-disc {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #222 0%, #050505 100%);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
}

.spinning .vinyl-disc { animation: rotate 6s linear infinite; animation-delay: 0.8s; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.album-art {
    width: var(--album-art-size);
    height: var(--album-art-size);
    background: #333;
    border-radius: 50%;
    z-index: 10;
    background-size: cover;
    background-position: center;
    border: 4px solid #111;
}

/* 비디오 모니터 */
.video-monitor-container {
    position: absolute;
    bottom: -100px;
    right: -140px;
    width: 200px;
    z-index: 50;
    transition: transform 0.3s ease;
}

.monitor-frame {
    background: #222;
    padding: 8px;
    border-radius: 10px;
    border: 4px solid #444;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

#youtube-player { width: 100%; height: 100%; }

.monitor-screen-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    opacity: 0.3;
}

.monitor-stand {
    width: 60px;
    height: 20px;
    background: #333;
    margin: -4px auto 0;
    border-radius: 0 0 5px 5px;
}

/* 컨트롤 섹션 */
.info-section { max-width: 400px; text-align: center; }
.song-info h2 { font-size: 1.8rem; margin-bottom: 5px; }
.song-info p { color: #888; margin-bottom: 30px; }

.controls { display: flex; justify-content: center; align-items: center; gap: 30px; margin-bottom: 30px; }
.play-btn { width: 70px; height: 70px; border-radius: 50%; border: none; background: #fff; color: #000; font-size: 1.5rem; cursor: pointer; }
.icon-btn { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; opacity: 0.7; }

/* 검색창 */
.search-container { position: relative; background: rgba(255,255,255,0.1); border-radius: 30px; display: flex; padding: 5px 20px; }
#search-input { flex: 1; background: none; border: none; color: #fff; padding: 12px; outline: none; }
#search-btn { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; }

#search-results { position: absolute; top: 110%; left: 0; width: 100%; background: #222; border-radius: 15px; overflow: hidden; z-index: 200; }
.search-item { display: flex; align-items: center; gap: 10px; padding: 10px; cursor: pointer; border-bottom: 1px solid #333; }
.search-item:hover { background: #333; }

/* 모달 스타일 (문의 폼) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: 0.3s;
}

.modal-content {
    background: #1a1a1a;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-content h2 { font-size: 1.2rem; letter-spacing: 5px; margin-bottom: 10px; }
.modal-content p { color: #888; font-size: 0.9rem; margin-bottom: 30px; }

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 0.75rem; color: #555; margin-bottom: 8px; letter-spacing: 1px; }

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: #0f0f0f;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus { border-color: #555; }

.submit-btn {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 2px;
    margin-top: 10px;
    transition: 0.3s;
}

.submit-btn:hover { background: #ccc; }

/* 하단 큐 */
.quick-queue-container { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 800px; }
.queue-title { font-size: 0.7rem; letter-spacing: 3px; color: #555; margin-bottom: 10px; text-align: center; }
.quick-queue { display: flex; gap: 15px; overflow-x: auto; justify-content: center; }
.quick-item { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: 0.5; border: 2px solid transparent; }
.quick-item.active { opacity: 1; border-color: #fff; }

header { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; }
header h1 { font-size: 1.2rem; letter-spacing: 10px; font-weight: 300; }
header button { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; opacity: 0.6; }

/* 사이드바 */
#playlist-sidebar { position: fixed; left: -300px; top: 0; width: 300px; height: 100%; background: rgba(0,0,0,0.95); backdrop-filter: blur(20px); z-index: 1000; transition: 0.4s; padding: 25px; box-sizing: border-box; }
#playlist-sidebar.open { left: 0; }

.hidden { display: none !important; opacity: 0; pointer-events: none; }
#exit-fullscreen { position: fixed; top: 30px; right: 30px; background: rgba(255,255,255,0.2); border: none; color: #fff; padding: 10px 20px; border-radius: 30px; z-index: 1000; cursor: pointer; }
