/* PoseForge — Shared Styles */

:root {
    --bg-main: #0b0f19;
    --bg-card: #1e293b;
    --bg-inner: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-gold: #f59e0b;
    --accent-purple: #8b5cf6;
    --accent-red: #ef4444;
    --border-color: #334155;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { background-color: var(--bg-main); color: var(--text-main); margin: 0; padding: 0; line-height: 1.6; overflow-x: hidden; }
body { font-family: 'Pretendard', -apple-system, sans-serif; letter-spacing: -0.02em; display: flex; flex-direction: column; min-height: 100vh; }

footer { text-align: center; padding: 30px; background-color: #030712; border-top: 1px solid var(--border-color); font-size: 13px; color: var(--text-muted); margin-top: auto; }
footer .footer-links { margin-top: 12px; display: flex; justify-content: center; gap: 24px; }
footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--accent-gold); }

.lang-btn { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 8px 14px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.lang-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }

.drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: var(--bg-main); border-right: 1px solid var(--border-color); z-index: 1000; display: flex; flex-direction: column; box-shadow: 4px 0 24px rgba(0,0,0,0.5); transition: left 0.3s cubic-bezier(0.4,0,0.2,1); }
.drawer.open { left: 0; }
.drawer-header { padding: 24px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.drawer-header h2 { margin: 0; font-size: 18px; color: var(--accent-gold); }
.close-btn { background: none; border: none; color: var(--text-muted); font-size: 28px; cursor: pointer; padding: 0; line-height: 1; }
.close-btn:hover { color: var(--text-main); }
.drawer-content { padding: 24px; overflow-y: auto; flex-grow: 1; }
.menu-category { margin-bottom: 30px; }
.menu-category h3 { font-size: 12px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.1em; }
.menu-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.menu-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 10px; color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 600; background: rgba(255,255,255,0.02); border: 1px solid transparent; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.menu-item:hover:not(.disabled) { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.menu-item.active { background: rgba(245,158,11,0.1); color: var(--accent-gold); border-color: rgba(245,158,11,0.3); }
.menu-item.disabled { opacity: 0.5; cursor: not-allowed; }
