/* Ваш оригинальный код */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }
.error-shake { animation: shake 0.4s ease-in-out; border: 2px solid #ff4d4d !important; }
body { font-family: 'Segoe UI', sans-serif; background: #1a1a2e; color: #fff; margin: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.container { background: #16213e; padding: 30px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.5); width: 350px; animation: fadeIn 0.8s ease-out; text-align: center; }
h2 { color: #4ecca3; }
input, select { width: 100%; padding: 12px; margin: 10px 0; border-radius: 8px; border: 1px solid #0f3460; background: #0f3460; color: white; box-sizing: border-box; }
.btn-primary { background: #4ecca3; color: #1a1a2e; border: none; width: 100%; padding: 12px; border-radius: 8px; font-weight: bold; cursor: pointer; margin-top: 10px; }
.btn-secondary { background: transparent; color: #4ecca3; border: 1px solid #4ecca3; width: 100%; padding: 12px; border-radius: 8px; cursor: pointer; margin-top: 10px; }
.stats-box { background: #0f3460; padding: 15px; border-radius: 12px; margin: 20px 0; text-align: left; }
.stats-box p { margin: 5px 0; font-size: 14px; color: #95a5a6; }
.stats-box span { color: #fff; font-weight: bold; float: right; }

/* Дополнение для SPA */
.hidden { display: none !important; }

