* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Tahoma, sans-serif; background: linear-gradient(135deg, #667eea, #764ba2); min-height: 100vh; padding: 20px; color: #333; }
.container { max-width: 750px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
h1 { text-align: center; margin-bottom: 10px; font-size: 26px; }
.subtitle { text-align: center; color: #888; margin-bottom: 30px; }
.alert { padding: 15px 20px; border-radius: 10px; margin-bottom: 20px; background: #fff3cd; border: 1px solid #ffeaa7; color: #856404; font-size: 14px; }
.alert ul { margin: 10px 20px 0 0; list-style: none; }
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: bold; color: #555; }
textarea { width: 100%; padding: 14px; border: 2px solid #e0e0e0; border-radius: 10px; font-family: inherit; font-size: 14px; resize: vertical; min-height: 100px; transition: border 0.3s; }
textarea:focus { outline: none; border-color: #667eea; }
button { width: 100%; padding: 16px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: bold; cursor: pointer; transition: all 0.2s; font-family: inherit; }
button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(102,126,234,0.4); }
button:disabled { opacity: 0.6; cursor: not-allowed; }
.status { margin-top: 20px; padding: 15px 20px; border-radius: 10px; display: none; font-size: 14px; }
.status.show { display: block; }
.status.loading { background: #fff3cd; color: #856404; border: 1px solid #ffeaa7; animation: pulse 1.5s infinite; }
.status.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.status.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }
.result video { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); margin-top: 20px; }
.steps { background: #f8f9fa; padding: 15px 20px; border-radius: 10px; margin-top: 15px; font-size: 14px; }
.steps div { padding: 5px 0; color: #28a745; }