:root {
  --bg: #07090d;
  --panel: rgba(16, 19, 27, .72);
  --panel-strong: #11151e;
  --line: rgba(255,255,255,.09);
  --text: #f5f7fb;
  --muted: #9199aa;
  --accent: #b8ff5a;
  --accent-2: #8ee33b;
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(184,255,90,.09), transparent 34rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1080px, calc(100% - 40px)); margin: auto; }
.nav {
  height: 84px; display:flex; align-items:center; justify-content:space-between;
}
.brand { display:flex; align-items:center; gap:11px; color:var(--text); text-decoration:none; font-weight:800; letter-spacing:.14em; }
.brand-mark {
  width:34px; height:34px; display:grid; place-items:center; border-radius:11px;
  background:var(--accent); color:#0b0d08; font-weight:900;
  box-shadow:0 0 30px rgba(184,255,90,.16);
}
.status { color:var(--muted); font-size:13px; }
.status i { display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 12px var(--accent); }
.hero { text-align:center; padding:76px 0 92px; }
.eyebrow { color:var(--accent); font-size:11px; font-weight:800; letter-spacing:.2em; }
.hero h1 { margin:16px 0 15px; font-size:clamp(46px,8vw,88px); line-height:.98; letter-spacing:-.055em; }
.hero h1 span { color:var(--accent); }
.hero > p { max-width:590px; margin:0 auto 42px; color:var(--muted); font-size:17px; line-height:1.7; }
.dropzone {
  position:relative; max-width:760px; min-height:310px; margin:auto; padding:60px 24px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  backdrop-filter: blur(22px); transition:.2s ease;
}
.dropzone:hover, .dropzone.drag { border-color:rgba(184,255,90,.55); transform:translateY(-2px); box-shadow:0 20px 70px rgba(0,0,0,.25); }
.upload-icon { width:62px; height:62px; display:grid; place-items:center; border-radius:19px; background:rgba(184,255,90,.1); color:var(--accent); font-size:31px; margin-bottom:19px; }
.dropzone h2 { margin:0 0 8px; font-size:24px; }
.dropzone p { color:var(--muted); margin:0 0 19px; }
.text-btn { color:var(--accent); background:none; border:0; padding:0; font-weight:700; }
.limits { color:#6f7788; font-size:12px; }
.progress-wrap { max-width:760px; margin:14px auto 0; padding:17px 19px; background:var(--panel); border:1px solid var(--line); border-radius:16px; text-align:left; }
.progress-top { display:flex; justify-content:space-between; color:var(--muted); font-size:13px; margin-bottom:10px; }
.progress { height:6px; border-radius:99px; overflow:hidden; background:#202532; }
.progress span { display:block; height:100%; width:0; background:var(--accent); transition:width .15s; }
.result { max-width:760px; margin:14px auto 0; padding:17px; border:1px solid rgba(184,255,90,.2); background:rgba(184,255,90,.05); border-radius:16px; text-align:left; }
.result-row { display:flex; gap:12px; align-items:center; }
.result img { width:64px; height:64px; object-fit:cover; border-radius:12px; }
.result-url { flex:1; min-width:0; }
.result-url strong { display:block; margin-bottom:5px; }
.url { color:var(--muted); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.copy-btn, .ghost-btn {
  border:1px solid var(--line); background:#171b24; color:var(--text); padding:10px 14px; border-radius:11px;
}
.copy-btn:hover, .ghost-btn:hover { border-color:rgba(184,255,90,.4); }
.gallery-section { padding:20px 0 80px; }
.section-head { display:flex; align-items:end; justify-content:space-between; margin-bottom:22px; }
.section-head h2 { margin:7px 0 0; font-size:30px; letter-spacing:-.03em; }
.gallery { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.card { overflow:hidden; background:var(--panel); border:1px solid var(--line); border-radius:17px; }
.card img { width:100%; aspect-ratio:1; object-fit:cover; display:block; background:#10131a; }
.card-body { padding:12px; }
.card-name { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px; color:var(--muted); margin-bottom:9px; }
.card-actions { display:flex; gap:7px; }
.card-actions button { flex:1; font-size:12px; padding:8px; }
.empty { color:var(--muted); text-align:center; padding:45px 0; border:1px dashed var(--line); border-radius:18px; }
.footer { border-top:1px solid var(--line); padding:25px 0 40px; display:flex; justify-content:space-between; color:#687082; font-size:12px; }
.hidden { display:none !important; }
.toast { position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px); opacity:0; pointer-events:none; padding:12px 17px; background:#f4f6fa; color:#101217; border-radius:12px; font-size:13px; font-weight:700; transition:.25s; }
.toast.show { opacity:1; transform:translate(-50%,0); }
.orb { position:fixed; width:300px; height:300px; border-radius:50%; filter:blur(100px); opacity:.06; pointer-events:none; }
.orb-a { background:var(--accent); top:30%; left:-200px; }
.orb-b { background:#6c7cff; bottom:0; right:-200px; }
@media (max-width:800px) { .gallery { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px) {
  .shell { width:min(100% - 24px,1080px); }
  .hero { padding-top:50px; }
  .dropzone { min-height:270px; }
  .gallery { grid-template-columns:1fr 1fr; gap:9px; }
  .footer { flex-direction:column; gap:8px; }
  .result-row { align-items:flex-start; }
  .copy-btn { align-self:center; }
}