:root {
  --bg: #05080a;
  --text: #e6fff4;
  --muted: #5f8f78;
  --pink: #00ff9c;
  --violet: #22d3ee;
  --surface: #0b1218;
  --border: rgba(255,255,255,0.08);
  --green: #48ff9b;
  --font-display: ui-monospace, 'Cascadia Code', Consolas, monospace;
  --font-body: ui-monospace, 'Cascadia Code', Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); min-height: 100%;
}
body { min-height: 100vh; }

.drop-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; position: relative;
}
.drop-back {
  position: absolute; top: 1.25rem; left: 1.5rem;
  color: var(--muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s;
}
.drop-back:hover { color: var(--text); }

.drop-card {
  width: 100%; max-width: 460px;
  background: var(--surface);
  border: 1px solid rgba(34,211,238,0.25);
  border-radius: 18px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  box-shadow: 0 0 60px rgba(34,211,238,0.07);
}
.drop-logo { font-size: 2rem; text-align: center; }
.drop-card h1 {
  font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; text-align: center;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.drop-sub { font-size: 0.78rem; color: var(--muted); text-align: center; line-height: 1.5; }

/* Drop zone */
.drop-zone {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  border: 1.5px dashed rgba(34,211,238,0.4); border-radius: 14px;
  padding: 2rem 1rem; cursor: pointer; text-align: center;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.drop-zone:hover, .drop-zone:focus-visible, .drop-zone.dragover {
  border-color: var(--pink); background: rgba(0,255,156,0.06);
}
.dz-icon { font-size: 1.6rem; color: var(--violet); }
.dz-text { font-size: 0.92rem; }
.dz-text span { color: var(--pink); font-weight: 700; }
.dz-hint { font-size: 0.72rem; color: rgba(198,179,230,0.6); }

.drop-filemeta {
  font-size: 0.85rem; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.7rem 0.9rem; word-break: break-word;
}
.drop-filemeta .fm-name { font-weight: 700; }
.drop-filemeta .fm-size { color: var(--muted); }
.drop-filemeta .fm-hint {
  margin-top: 0.5rem; font-size: 0.72rem; color: var(--green);
  background: rgba(72,255,155,0.06); border: 1px solid rgba(72,255,155,0.18);
  border-radius: 7px; padding: 0.35rem 0.5rem;
}
.dl-hidden-note { margin-top: 0.4rem; font-size: 0.72rem; color: var(--muted); line-height: 1.45; }

.drop-btn {
  width: 100%; padding: 0.85rem;
  font-family: var(--font-display); font-weight: 900; font-size: 1rem;
  color: #fff; cursor: pointer; border: none; border-radius: 12px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  transition: opacity 0.2s, transform 0.15s; text-align: center;
  text-decoration: none; display: block;
}
.drop-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.drop-btn:disabled { opacity: 0.45; cursor: default; transform: none; }
.drop-btn.ghost {
  background: none; border: 1px solid var(--border); color: var(--muted);
  font-size: 0.85rem; font-weight: 700; padding: 0.6rem;
}
.drop-btn.ghost:hover { color: var(--text); border-color: rgba(34,211,238,0.4); }

/* Progress */
.drop-progress { display: flex; flex-direction: column; gap: 0.4rem; }
.dp-bar { height: 8px; background: rgba(255,255,255,0.07); border-radius: 999px; overflow: hidden; }
.dp-fill {
  height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  transition: width 0.2s ease;
}
.dp-label { font-size: 0.75rem; color: var(--muted); text-align: center; }

/* Result */
.drop-result { display: flex; flex-direction: column; gap: 0.7rem; }
.dr-title { font-size: 0.9rem; font-weight: 700; color: var(--green); text-align: center; }
.dr-linkrow { display: flex; gap: 0.4rem; }
.dr-link {
  flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.6rem 0.7rem; color: var(--text);
  font-family: monospace; font-size: 0.78rem; outline: none; min-width: 0;
}
.dr-copy {
  background: rgba(34,211,238,0.15); border: 1px solid rgba(34,211,238,0.3);
  color: var(--text); border-radius: 10px; padding: 0 0.9rem; cursor: pointer;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  transition: background 0.2s;
}
.dr-copy:hover { background: rgba(34,211,238,0.28); }
.dr-note {
  font-size: 0.72rem; color: var(--muted); line-height: 1.55;
  background: rgba(72,255,155,0.05); border: 1px solid rgba(72,255,155,0.18);
  border-radius: 8px; padding: 0.6rem 0.75rem;
}
.dr-note code {
  font-family: monospace; background: rgba(255,255,255,0.08);
  padding: 0.05rem 0.3rem; border-radius: 4px;
}

.drop-error {
  font-size: 0.8rem; color: #ff8080; text-align: center;
  background: rgba(255,80,80,0.08); border: 1px solid rgba(255,80,80,0.25);
  border-radius: 8px; padding: 0.6rem 0.8rem; line-height: 1.5;
}

.drop-badges { display: flex; gap: 0.45rem; flex-wrap: wrap; justify-content: center; }
.drop-badges span {
  font-size: 0.72rem; color: var(--muted);
  background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.2);
  border-radius: 999px; padding: 0.2rem 0.65rem;
}

@media (max-width: 480px) {
  .drop-card { padding: 1.6rem 1.25rem; border-radius: 14px; }
}
