* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #FACC15; --primary-dark: #EAB308; --primary-light: #FEF08A;
    --secondary: #1F1F1F; --bg: #1F1F1F; --bg-dark: #2A2A2A;
    --text: #F5F5F5; --text-muted: #A0A0A0; --border: #3A3A3A;
    --white: #2A2A2A; --shadow: 0 4px 12px rgba(0,0,0,0.5); --shadow-lg: 0 10px 30px rgba(0,0,0,0.6);
}
body { font-family: 'Fredoka', sans-serif; background: linear-gradient(135deg, #1F1F1F 0%, #2D2D2D 50%, #1A1A1A 100%); min-height: 100vh; color: var(--text); overflow: hidden; }
.hidden { display: none !important; }
#boot-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 2rem; }
.boot-logo { text-align: center; margin-bottom: 3rem; animation: fadeInUp 0.8s ease-out; }
.boot-logo img { width: 140px; height: 140px; margin-bottom: 1rem; filter: drop-shadow(0 4px 16px rgba(250,204,21,0.3)); }
.boot-logo h1 { font-size: 3rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.boot-logo .tagline { color: var(--text-muted); font-size: 1.1rem; }
.boot-progress { width: 100%; max-width: 360px; animation: fadeInUp 0.8s ease-out 0.2s both; }
.progress-bar { width: 100%; height: 8px; background: #333; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), #FDE047); border-radius: 4px; width: 0%; transition: width 0.3s ease; }
.boot-status { text-align: center; margin-top: 1rem; color: var(--text-muted); font-size: 0.9rem; }
#setup-screen { display: flex; align-items: flex-start; justify-content: center; min-height: 100vh; padding: 2rem; overflow-y: auto; }
.setup-container { background: var(--white); border-radius: 20px; padding: 2.5rem; width: 100%; max-width: 520px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); animation: fadeInUp 0.5s ease-out; }
.setup-header { text-align: center; margin-bottom: 2rem; }
.setup-header img { width: 70px; height: 70px; margin-bottom: 0.75rem; }
.setup-header h2 { font-size: 1.75rem; color: var(--primary); margin-bottom: 0.5rem; }
.setup-header p { color: var(--text-muted); }
.setup-step h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text); }
.step-desc { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.setup-step input[type="text"], .setup-step input[type="number"] {
    width: 100%; padding: 0.875rem 1rem; border: 2px solid var(--border); border-radius: 12px;
    font-size: 1rem; font-family: inherit; outline: none; background: #222; color: var(--text); transition: all 0.2s;
}
.setup-step input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(250,204,21,0.15); }
.memory-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
.memory-option { display: flex; cursor: pointer; }
.memory-option input { display: none; }
.memory-label {
    flex: 1; padding: 1rem 0.5rem; text-align: center; border: 2px solid var(--border);
    border-radius: 12px; transition: all 0.2s; background: #222;
}
.memory-label strong { display: block; font-size: 1.1rem; color: var(--text); }
.memory-label small { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.memory-option:hover .memory-label { border-color: rgba(250,204,21,0.4); background: #333; }
.memory-option input:checked + .memory-label, .memory-option.selected .memory-label {
    border-color: var(--primary); background: rgba(250,204,21,0.1); box-shadow: 0 0 0 3px rgba(250,204,21,0.15);
}
.memory-option input:checked + .memory-label strong { color: var(--primary); }
.memory-custom { margin-bottom: 1rem; }
.memory-custom label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }
.memory-custom input { max-width: 180px; }
.memory-note { font-size: 0.8rem; color: var(--text-muted); background: #222; padding: 0.75rem; border-radius: 8px; line-height: 1.5; }
.step-nav { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; }
.btn-primary, .btn-secondary { padding: 0.75rem 1.5rem; border-radius: 10px; font-size: 0.95rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: all 0.2s; border: none; }
.btn-primary { background: var(--primary); color: #1F1F1F; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(250,204,21,0.3); }
.btn-secondary { background: #222; color: var(--text); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--text-muted); background: #333; }
.setup-indicators { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: background 0.3s; }
.dot.active { background: var(--primary); width: 28px; border-radius: 5px; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
