*{box-sizing:border-box}
:root{
  --bg:#08040d;
  --bg2:#120815;
  --panel:rgba(19,9,26,.88);
  --panel2:rgba(28,13,36,.94);
  --text:#f7f3ff;
  --muted:#c1b0d8;
  --line:rgba(214,185,255,.14);
  --purple:#a347ff;
  --purple-2:#6e1fd8;
  --pink:#f05cff;
  --green:#51efae;
}
html,body{min-height:100%}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(163,71,255,.18), transparent 22rem),
    radial-gradient(circle at 85% 75%, rgba(240,92,255,.12), transparent 24rem),
    linear-gradient(180deg,var(--bg2),var(--bg));
  overflow-x:hidden;
}
body:before{
  content:"";position:fixed;inset:0;pointer-events:none;
  background:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:42px 42px;opacity:.55;
}
.ambient{position:fixed;width:32rem;height:32rem;border-radius:50%;filter:blur(110px);opacity:.22;pointer-events:none}
.ambient-one{background:var(--purple);top:-10rem;left:-8rem}
.ambient-two{background:var(--pink);right:-12rem;bottom:-14rem}
.page{width:min(100% - 32px,860px);margin:0 auto;min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:48px 0 30px}
.brand{display:flex;align-items:center;gap:15px;margin:0 0 20px 8px}
.brand-mark{width:70px;height:70px;border-radius:18px;display:grid;place-items:center;padding:8px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(163,71,255,.1));box-shadow:0 14px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08)}
.brand-mark img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 0 10px rgba(163,71,255,.45))}
.brand-name{font-size:24px;font-weight:900;letter-spacing:.02em}
.brand-tag{margin-top:4px;color:var(--muted);font-size:10px;letter-spacing:.28em;font-weight:700}
.card{position:relative;border:1px solid var(--line);border-radius:30px;padding:34px;background:linear-gradient(180deg,rgba(24,12,31,.93),rgba(10,6,14,.95));backdrop-filter:blur(22px);box-shadow:0 28px 80px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.05);overflow:hidden}
.card:before{content:"";position:absolute;top:0;left:12%;width:76%;height:1px;background:linear-gradient(90deg,transparent,var(--pink),var(--purple),transparent)}
.card-glow{position:absolute;right:-90px;top:-90px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle, rgba(163,71,255,.35), transparent 65%);pointer-events:none}
.card-top{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:1}
.eyebrow{color:#dec7ff;font-weight:800;font-size:11px;letter-spacing:.24em}
.status{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#b9ffd8;font-weight:800;letter-spacing:.15em}
.status i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 15px var(--green)}
.hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:10px;position:relative;z-index:1}
.hero-copy{flex:1}
.hero-logo{width:170px;max-width:30%;aspect-ratio:1/1;display:grid;place-items:center;border-radius:26px;background:radial-gradient(circle at 50% 35%, rgba(163,71,255,.18), rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.08);padding:16px;box-shadow:inset 0 0 30px rgba(163,71,255,.08)}
.hero-logo img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 14px rgba(163,71,255,.35))}
h1{margin:10px 0 10px;font-size:clamp(36px,7vw,60px);line-height:.98;letter-spacing:-.055em}
h1 span{background:linear-gradient(90deg,#f6ccff 5%,#d487ff 40%,#a347ff 75%,#ff7ff6);-webkit-background-clip:text;background-clip:text;color:transparent}
.lead{margin:0 0 26px;max-width:590px;color:var(--muted);line-height:1.65;font-size:15px}
.dropzone{display:block;min-height:250px;border-radius:22px;border:1px dashed rgba(214,185,255,.22);background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(163,71,255,.05));cursor:pointer;overflow:hidden;transition:.2s ease}
.dropzone:hover,.dropzone.dragging{border-color:rgba(212,135,255,.85);background:rgba(163,71,255,.09);transform:translateY(-1px)}
.empty-state{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}
.upload-icon{width:60px;height:60px;display:grid;place-items:center;border-radius:18px;margin-bottom:16px;color:#fff;font-size:30px;background:linear-gradient(145deg,rgba(240,92,255,.16),rgba(163,71,255,.22));border:1px solid rgba(240,92,255,.22);box-shadow:0 0 24px rgba(163,71,255,.14)}
.empty-state strong{font-size:17px}
.empty-state span{margin-top:6px;color:var(--muted);font-size:13px}
.empty-state small{margin-top:18px;color:#9a83b9;font-size:11px}
.preview-state{position:relative;min-height:250px}
.preview-state img{display:block;width:100%;height:300px;object-fit:cover}
.preview-state:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 50%,rgba(8,4,13,.96))}
.preview-overlay{position:absolute;z-index:2;left:20px;right:20px;bottom:18px;display:flex;flex-direction:column;gap:4px}
.preview-overlay span{font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.preview-overlay small{color:#ddc9ff}
.field{margin-top:14px}
.field label{display:block;margin-bottom:8px;color:var(--muted);font-size:12px;font-weight:700}
.field input,.link-row input{width:100%;height:48px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.04);color:var(--text);outline:none;padding:0 14px}
.field input:focus,.link-row input:focus{border-color:rgba(212,135,255,.55)}
.primary-button{width:100%;height:54px;margin-top:14px;border:0;border-radius:14px;color:#13071c;background:linear-gradient(90deg,#ffadf7,#d487ff 40%,#a347ff 85%);font-weight:900;font-size:14px;cursor:pointer;box-shadow:0 12px 30px rgba(163,71,255,.28);transition:transform .15s ease,opacity .15s ease}
.primary-button:hover:not(:disabled){transform:translateY(-1px)}
.primary-button:disabled{opacity:.38;cursor:not-allowed;box-shadow:none}
.button-loader{display:inline-block;width:17px;height:17px;border:2px solid rgba(19,7,28,.25);border-top-color:#13071c;border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.message{margin-top:12px;border-radius:12px;padding:11px 13px;font-size:12px;border:1px solid transparent}
.message.error{color:#ffd0ea;background:rgba(255,109,180,.09);border-color:rgba(255,109,180,.16)}
.message.success{color:#f1ddff;background:rgba(163,71,255,.12);border-color:rgba(163,71,255,.18)}
.result{margin-top:20px;padding:18px;border:1px solid rgba(212,135,255,.25);border-radius:17px;background:linear-gradient(180deg,rgba(163,71,255,.08),rgba(255,255,255,.02))}
.result-label{margin-bottom:9px;font-size:10px;font-weight:850;letter-spacing:.18em;color:#dec7ff}
.link-row{display:flex;gap:9px}
.link-row button,.result-actions button,.result-actions a{border:1px solid var(--line);border-radius:12px;color:var(--text);background:rgba(255,255,255,.055);text-decoration:none;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.link-row button{padding:0 16px}
.result-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.result-actions button,.result-actions a{padding:9px 12px}
footer{display:flex;justify-content:center;gap:8px;padding:18px 10px 0;color:#9b84b8;font-size:11px}
@media(max-width:700px){.hero{flex-direction:column;align-items:flex-start}.hero-logo{max-width:190px;width:100%}}
@media(max-width:560px){.page{width:min(100% - 18px,860px);padding-top:24px;justify-content:flex-start}.brand{margin-left:4px}.brand-mark{width:56px;height:56px}.brand-name{font-size:20px}.card{padding:22px 18px;border-radius:23px}.dropzone,.empty-state{min-height:220px}.preview-state img{height:245px}.link-row{flex-direction:column}.link-row button{height:44px}footer{flex-wrap:wrap}}
