:root{
  --bg:#06070f;
  --card:#0c1020;
  --card2:#090d1a;
  --text:#e6e8f0;
  --muted:#9aa0b5;
  --line:rgba(255,255,255,.08);

  /* Aktivator accent */
  --brand:#ff3d00;
  --brand2:#ff7a18;
  --ok:#22c55e;
  --danger:#ef4444;

  --shadow:0 18px 45px rgba(0,0,0,.55);
  --r:18px;
}

*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial;
  color:var(--text);
  background:
    radial-gradient(1100px 520px at 20% -10%, rgba(255,61,0,.22) 0%, transparent 60%),
    radial-gradient(900px 520px at 90% 10%, rgba(255,122,24,.18) 0%, transparent 55%),
    radial-gradient(900px 520px at 60% 120%, rgba(34,197,94,.10) 0%, transparent 55%),
    var(--bg);
}

.app{
  max-width:860px;
  margin:0 auto;
  padding:46px 18px 30px;
}

.top{margin-bottom:18px}

.brand{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.logo{
  width:54px;
  height:54px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-size:26px;
  background:linear-gradient(135deg, rgba(255,61,0,.25), rgba(255,122,24,.18));
  border:1px solid var(--line);
  box-shadow:0 10px 28px rgba(0,0,0,.35);
}

h1{
  margin:0;
  font-size:38px;
  letter-spacing:.2px;
}
h1 span{
  color:var(--muted);
  font-weight:600;
}

.subtitle{
  margin:6px 0 0;
  color:var(--muted);
}

.card{
  background:linear-gradient(180deg, var(--card), var(--card2));
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:22px;
  box-shadow:var(--shadow);
}

.dropzone{
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px dashed rgba(255,255,255,.12);
  border-radius:16px;
  padding:34px;
  cursor:pointer;
  transition:.18s;
  text-align:center;
  background:rgba(255,255,255,.02);
  position:relative;
  overflow:hidden;
}

.dropzone.hover{
  border-color:rgba(255,61,0,.65);
  background:rgba(255,61,0,.08);
}

.dropzone.busy{
  cursor:progress;
  opacity:.9;
}

.dz-content strong{
  display:block;
  font-size:18px;
}
.dz-content span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:14px;
}

.file-info{
  margin-top:12px;
  font-size:14px;
  color:var(--muted);
}
.hidden{display:none}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

button{
  border:none;
  border-radius:14px;
  padding:12px 16px;
  font-size:15px;
  cursor:pointer;
  transition:.18s;
}

button:disabled{
  opacity:.6;
  cursor:not-allowed;
}

.primary{
  color:#140700;
  font-weight:800;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow:0 0 0 rgba(255,61,0,0);
}
.primary:hover{
  transform:translateY(-1px);
  box-shadow:0 0 26px rgba(255,61,0,.45);
}

.secondary{
  color:var(--text);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.secondary:hover{
  transform:translateY(-1px);
  border-color:rgba(255,122,24,.35);
}

.ghost{
  color:var(--muted);
  background:transparent;
  border:1px solid rgba(255,255,255,.10);
}
.ghost:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.18);
  color:var(--text);
}

.status{
  margin-top:18px;
  font-weight:800;
  letter-spacing:.2px;
}

.result{
  margin-top:10px;
}

.result-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
  padding:12px 16px;
  border-radius:14px;
  background:rgba(34,197,94,.16);
  border:1px solid rgba(34,197,94,.28);
  color:#bff7d6;
  text-decoration:none;
  font-weight:800;
  transition:.18s;
}
.result-link:hover{
  transform:translateY(-1px);
  border-color:rgba(34,197,94,.42);
}

.panel{
  margin-top:12px;
  border-radius:14px;
  padding:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}

.panel-title{
  font-weight:900;
  margin-bottom:8px;
}

.panel.ok{
  border-color:rgba(34,197,94,.28);
  background:rgba(34,197,94,.08);
}

.panel.bad{
  border-color:rgba(239,68,68,.28);
  background:rgba(239,68,68,.08);
}

pre{
  margin:0;
  background:#020617;
  padding:12px;
  border-radius:12px;
  overflow:auto;
  font-size:13px;
  line-height:1.35;
  color:#e5e7eb;
}

details{
  margin-top:10px;
}
summary{
  cursor:pointer;
  color:var(--muted);
}

.footer{
  text-align:center;
  margin-top:26px;
  color:var(--muted);
  font-size:13px;
}
.section-title{
  font-weight:900;
  margin-bottom:8px;
  font-size:18px;
}
.section-subtitle{
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
  margin-bottom:14px;
}

.two-cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:8px;
}
@media (max-width: 720px){
  .two-cols{ grid-template-columns: 1fr; }
}

.dropzone.mini{
  padding:22px;
  border-radius:16px;
}
.uploader .file-info{ margin-top:10px; }

.hint{
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
}
