:root { --p: #6366f1; --s: #10b981; --bg: #0f0f23; --text: #fff; --box: rgba(255,255,255,0.05); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Cairo', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; padding: 20px; transition: all .4s; }
.container { max-width: 900px; margin: auto; background: var(--box); border-radius: 30px; padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); backdrop-filter: blur(10px); }

header { text-align: center; margin-bottom: 40px; }
.logo { font-size: 4rem; font-weight: 900; background: linear-gradient(90deg, #fff, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tagline { font-size: 1.2rem; opacity: 0.8; margin-top: 5px; letter-spacing: 1px; }

.lang-selects { margin: 30px 0; background: rgba(0,0,0,0.2); padding: 20px; border-radius: 20px; }
.lang-row { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 15px 0; flex-wrap: wrap; }
.label { font-size: 1.1rem; font-weight: bold; color: var(--p); min-width: 40px; }
select { padding: 12px 20px; border-radius: 12px; font-size: 1.1rem; background: #1a1a2e; color: white; border: 1px solid #333; outline: none; flex: 1; min-width: 200px; cursor: pointer; }
select:focus { border-color: var(--p); }

.btn { cursor: pointer; border: none; font-family: inherit; transition: .3s; }
.btn.small { padding: 10px 20px; font-size: 0.9rem; background: var(--p); color: white; border-radius: 12px; }
.btn:hover { opacity: 0.9; transform: translateY(-2px); }
.btn:disabled { background: #555; cursor: not-allowed; transform: none; }

.upload { border: 3px dashed #444; border-radius: 20px; padding: 60px 20px; text-align: center; cursor: pointer; background: rgba(99,102,241,0.05); transition: .3s; margin-top: 30px; position: relative; }
.upload:hover { background: rgba(99,102,241,0.1); border-color: var(--p); }
.upload i { font-size: 4rem; color: var(--p); margin-bottom: 20px; }
.upload p { font-size: 1.2rem; line-height: 1.6; }
.upload input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.progress { height: 10px; background: #333; border-radius: 50px; overflow: hidden; margin: 30px 0; display: none; }
.progress:not(.hidden) { display: block; }
#fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--p), var(--s)); transition: width 0.3s ease; }

.status { text-align: center; font-size: 1.1rem; margin: 20px 0; color: #aaa; min-height: 1.5rem; }

.actions { text-align: center; margin: 40px 0; }
.btn.success { padding: 18px 50px; border-radius: 50px; font-size: 1.3rem; background: var(--s); color: white; font-weight: bold; box-shadow: 0 10px 30px rgba(16,185,129,0.3); }

.hidden { display: none !important; }
footer { text-align: center; margin-top: 50px; color: #666; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 600px) {
  .container { padding: 20px; }
  .logo { font-size: 3rem; }
  .lang-row { flex-direction: column; align-items: stretch; }
  select { width: 100%; }
}
