@import "tailwindcss"; /* @font-face { font-family: 'NanumGothic'; src: url('./fonts/NanumGothicLight.woff2') format('woff2'); font-weight: 300; font-style: normal; } @font-face { font-family: 'NanumGothic'; src: url('./fonts/NanumGothic.woff2') format('woff2'); font-weight: 400; font-style: normal; } @font-face { font-family: 'NanumGothic'; src: url('./fonts/NanumGothicBold.woff2') format('woff2'); font-weight: 700; font-style: normal; } @font-face { font-family: 'NanumGothic'; src: url('./fonts/NanumGothicExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; } */ ::-webkit-scrollbar { width: 4px; height: 4px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 99px; } ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.28); } :root { --bg-deep: #0a0b0e; --bg-sidebar: #0d0f14; --bg-main: #0f1117; --border: rgba(255, 255, 255, 0.06); --accent: #3b7ffa; --accent-glow: rgba(59, 127, 250, 0.35); --text-primary: #e8eaf0; --text-secondary: rgba(200, 205, 220, 0.65); --text-muted: rgba(157, 163, 175, 0.911); --text-soft: #d6dae3; --sidebar-width: 280px; } html, body, #root { width: 100%; height: 100%; margin: 0; padding: 0; background: #000; font-family: 'NanumSquare', sans-serif; } /* ── Sidebar ── */ .sidebar { background: var(--bg-sidebar); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 8px 0; flex-shrink: 0; position: relative; z-index: 20; overflow: visible; } .sidebar::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient( to bottom, transparent, rgba(59, 127, 250, 0.15) 40%, rgba(59, 127, 250, 0.15) 60%, transparent ); pointer-events: none; } .nav-item { display: flex; align-items: center; padding: 13px 24px; font-size: 13.5px; font-weight: 400; color: var(--text-secondary); cursor: pointer; position: relative; letter-spacing: 0.01em; transition: color 0.2s, background 0.2s; } .nav-item:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.03); } .nav-item.active { color: var(--accent); font-weight: 500; background: rgba(59, 127, 250, 0.07); } .nav-item.active::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--accent); border-radius: 0 3px 3px 0; box-shadow: 0 0 12px var(--accent-glow); } .nav-item-icon { display: flex; align-items: center; justify-content: center; width: 16px; margin-right: 10px; opacity: 0.55; flex-shrink: 0; transition: opacity 0.2s; } .nav-item:hover .nav-item-icon { opacity: 0.8; } .nav-item.active .nav-item-icon { opacity: 1; } .nav-item-collapsed { justify-content: center; padding-left: 0; padding-right: 0; } /* ── Sidebar Collapse Toggle Button ── */ .sidebar-collapse-btn { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); z-index: 50; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-sidebar); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-muted); transition: color 0.2s, background 0.2s, border-color 0.2s; } .sidebar-collapse-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); } /* ── Main Content ── */ .main-content { flex: 1; background: var(--bg-main); position: relative; overflow: hidden; display: flex; flex-direction: column; } .main-content::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 65% 50%, rgba(20, 25, 40, 0.9) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 20% 50%, rgba(15, 30, 60, 0.3) 0%, transparent 60%); pointer-events: none; } /* ── Update Button ── */ .update-btn { display: flex; align-items: center; gap: 7px; padding: 7px 16px; background: var(--accent); border: 1px solid var(--accent); border-radius: 6px; color: #fff; font-family: 'NanumGothic', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; cursor: pointer; transition: background 0.2s, box-shadow 0.2s, transform 0.15s; box-shadow: 0 4px 20px rgba(59, 127, 250, 0.35); } .update-btn:hover { background: #5592ff; box-shadow: 0 6px 28px rgba(59, 127, 250, 0.55); transform: translateY(-1px); } .update-btn:active { transform: translateY(0); } /* ── Updating Button (in-progress state) ── */ .updating-btn { display: flex; align-items: center; gap: 7px; padding: 7px 16px; background: rgba(59, 127, 250, 0.15); border: 1px solid rgba(59, 127, 250, 0.3); border-radius: 6px; color: rgba(255, 255, 255, 0.5); font-family: 'NanumGothic', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; cursor: default; } /* ── Update Progress Bar ── */ .update-progress-wrap { display: flex; align-items: center; gap: 8px; width: 100%; } .update-progress-track { flex: 1; height: 3px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; } .update-progress-fill { height: 100%; background: var(--accent); border-radius: 99px; transition: width 0.2s ease; box-shadow: 0 0 6px rgba(59,127,250,0.6); } .update-progress-pct { font-size: 11px; color: var(--text-muted); min-width: 30px; text-align: right; font-variant-numeric: tabular-nums; } /* ── Spinner ── */ @keyframes spin { to { transform: rotate(360deg); } } .spin { animation: spin 0.8s linear infinite; } /* ── Launch Button ── */ .launch-btn { display: flex; align-items: center; gap: 7px; padding: 7px 16px; background: var(--accent); border: 1px solid var(--accent); border-radius: 6px; color: #fff; font-family: 'NanumGothic', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; cursor: pointer; transition: background 0.2s, box-shadow 0.2s, transform 0.15s; box-shadow: 0 4px 20px rgba(59, 127, 250, 0.35); } .launch-btn:hover { background: #5592ff; box-shadow: 0 6px 28px rgba(59, 127, 250, 0.55); transform: translateY(-1px); } .launch-btn:active { transform: translateY(0); } /* ── Car Video ── */ .car-video { position: absolute; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: 0; animation: carFadeIn 1.4s 0.5s ease forwards; z-index: 2; } .car-video-shadow { position: absolute; inset: 0; background: linear-gradient(to right, var(--bg-main) 0%, var(--bg-main) 14%, rgba(15, 17, 23, 0.45) 32%, transparent 52%), linear-gradient(to left, var(--bg-main) 0%, rgba(15, 17, 23, 0.6) 8%, transparent 35%), linear-gradient(to top, rgba(5, 7, 12, 0.9) 0%, transparent 45%), radial-gradient(ellipse 60% 60% at 100% 100%, rgba(5, 7, 12, 0.8) 0%, transparent 70%), radial-gradient(ellipse 100% 100% at 80% 40%, transparent 40%, rgba(5, 7, 12, 0.5) 100%); pointer-events: none; z-index: 3; } .floor-reflection { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to top, rgba(8, 10, 18, 0.8) 0%, transparent 100%); pointer-events: none; z-index: 1; } /* ── Text Content ── */ .text-content { position: relative; z-index: 10; max-width: 480px; animation: textReveal 1s 0.2s ease both; } .brand-title { font-family: 'Rajdhani', sans-serif; font-size: 52px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.02em; line-height: 1.0; margin-bottom: 20px; text-shadow: 0 0 60px rgba(59, 127, 250, 0.1); } .brand-title span { color: var(--accent); } .subtitle { font-size: 17px; font-weight: 400; color: var(--text-primary); line-height: 1.7; margin-bottom: 28px; letter-spacing: 0.01em; } .divider { width: 140px; height: 2px; background: linear-gradient(to right, var(--accent), transparent); margin-bottom: 22px; border-radius: 2px; box-shadow: 0 0 10px var(--accent-glow); } .description { font-size: 13.5px; color: rgba(200, 210, 230, 0.85); line-height: 2.0; letter-spacing: 0.005em; } /* ── Verify Code Button ── */ .verify-code-btn { flex-shrink: 0; padding: 0 12px; font-size: 12px; font-weight: 500; border-radius: 6px; border: 1px solid rgba(59, 127, 250, 0.35); background: rgba(59, 127, 250, 0.10); color: var(--accent); white-space: nowrap; cursor: pointer; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s; font-family: 'NanumGothic', sans-serif; } .verify-code-btn:hover:not(:disabled) { background: rgba(59, 127, 250, 0.2); border-color: rgba(59, 127, 250, 0.6); box-shadow: 0 0 12px rgba(59, 127, 250, 0.25); } .verify-code-btn:disabled { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.07); color: var(--text-muted); cursor: not-allowed; } /* ── Notice Icon Button ── */ .notice-icon-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 8px; color: var(--text-secondary); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; } .notice-icon-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); color: var(--text-primary); } .notice-badge { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); } .notice-dropdown { position: absolute; top: calc(100% + 10px); right: 0; width: 320px; background: rgba(13, 15, 22, 0.96); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); overflow: hidden; } .notice-item { padding: 12px 16px; } .notice-item-border { border-bottom: 1px solid rgba(255, 255, 255, 0.05); } /* ── Notice Panel ── */ .notice-panel { padding: 14px 16px; background: rgba(13, 15, 20, 0.75); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 10px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); } .notice-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); flex-shrink: 0; } .notice-label { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); } .notice-date { font-size: 10px; color: var(--text-muted); letter-spacing: 0.04em; } .notice-title { font-size: 12.5px; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; line-height: 1.4; } .notice-body { font-size: 11.5px; color: var(--text-secondary); line-height: 1.7; letter-spacing: 0.01em; } /* ── Dashboard ── */ .car-bg-radial { position: absolute; inset: 0; background: radial-gradient(ellipse 90% 70% at 60% 55%, rgba(25, 35, 70, 0.15) 0%, transparent 60%); } .version-label { position: absolute; bottom: 16px; right: 24px; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: var(--text-soft); z-index: 5; } /* ── Login ── */ .login-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: 0; animation: carFadeIn 1.4s 0.3s ease forwards; z-index: 0; } .login-video-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg-deep) 0%, rgba(10, 11, 14, 0.5) 35%, transparent 60%), linear-gradient(to top, var(--bg-deep) 0%, transparent 40%), linear-gradient(to right, rgba(10, 11, 14, 0.3) 0%, transparent 60%), linear-gradient(to left, rgba(10, 11, 14, 0.5) 0%, transparent 55%), radial-gradient(ellipse 60% 50% at 100% 100%, rgba(10, 11, 14, 0.7) 0%, transparent 70%); z-index: 1; pointer-events: none; } .login-panel { border-left: 1px solid rgba(255, 255, 255, 0.07); background: rgba(13, 15, 20, 0.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); } .login-panel-edge { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(59, 127, 250, 0.2) 30%, rgba(59, 127, 250, 0.2) 70%, transparent); pointer-events: none; } .login-panel-glow { position: absolute; top: 0; left: 0; right: 0; height: 200px; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 127, 250, 0.06) 0%, transparent 100%); pointer-events: none; } .animate-reveal { animation: textReveal 0.8s 0.2s ease both; } .animate-reveal-late { animation: textReveal 0.8s 0.3s ease both; } /* ── Login inputs ── */ .login-input-wrap { position: relative; display: flex; align-items: center; } .login-input-icon { position: absolute; left: 14px; width: 15px; height: 15px; color: var(--text-muted); pointer-events: none; flex-shrink: 0; } .login-input-field { width: 100%; padding: 11px 16px 11px 40px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: 6px; color: var(--text-primary); font-family: 'NanumGothic', sans-serif; font-size: 13px; outline: none; transition: border-color 0.2s, background 0.2s; box-sizing: border-box; } .login-input-field::placeholder { color: var(--text-muted); } .login-input-field:focus { border-color: rgba(59, 127, 250, 0.5); background: rgba(59, 127, 250, 0.04); } .login-input-eye { position: absolute; right: 12px; width: 16px; height: 16px; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; transition: color 0.2s; } .login-input-eye:hover { color: var(--text-secondary); } .login-input-eye svg { width: 16px; height: 16px; } .login-checkbox { width: 14px; height: 14px; accent-color: var(--accent); cursor: pointer; } .login-google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 0; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: 6px; color: var(--text-secondary); font-family: 'NanumGothic', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.2s, border-color 0.2s; } .login-google-btn:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); } /* ── Login ── */ .login-input { width: 100%; padding: 11px 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); border-radius: 6px; color: var(--text-primary); font-family: 'NanumGothic', sans-serif; font-size: 13px; outline: none; transition: border-color 0.2s, background 0.2s; box-sizing: border-box; } .login-input::placeholder { color: var(--text-muted); } .login-input:focus { border-color: rgba(59, 127, 250, 0.5); background: rgba(59, 127, 250, 0.04); } .login-btn { display: flex; align-items: center; justify-content: center; padding: 11px 0; background: var(--accent); border: 1px solid var(--accent); border-radius: 6px; color: #fff; font-family: 'NanumGothic', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; cursor: pointer; transition: background 0.2s, box-shadow 0.2s, transform 0.15s; box-shadow: 0 4px 20px rgba(59, 127, 250, 0.3); } .login-btn:hover:not(:disabled) { background: #5592ff; box-shadow: 0 6px 28px rgba(59, 127, 250, 0.5); transform: translateY(-1px); } .login-btn:active:not(:disabled) { transform: translateY(0); } /* ── Typing Cursor ── */ .typing-cursor { display: inline-block; width: 2px; height: 1em; background: var(--text-muted); border-radius: 1px; animation: cursorBlink 0.9s step-end infinite; transform: translateY(2px); } @keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } /* ── Running State ── */ .running-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 20px; background: rgba(34, 197, 94, 0.07); border: 1px solid rgba(34, 197, 94, 0.2); margin-bottom: 24px; } .running-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); animation: running-pulse 1.8s ease infinite; flex-shrink: 0; } @keyframes running-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); } 55% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } } /* ── Animations ── */ @keyframes textReveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes carFadeIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }