:root {
    --bg: #070611;
    --panel: rgba(18, 15, 34, 0.78);
    --border: rgba(167, 110, 255, 0.24);
    --purple: #9b5cff;
    --blue: #45b9ff;
    --text: #f7f5ff;
    --muted: #a6a0b8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -10%, rgba(132, 63, 255, .22), transparent 34%),
        radial-gradient(circle at 90% 80%, rgba(41, 154, 255, .12), transparent 28%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

.ambient {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .18;
    pointer-events: none;
}

.ambient-one {
    background: #7c35ff;
    left: -180px;
    top: 25%;
}

.ambient-two {
    background: #168cff;
    right: -180px;
    bottom: 10%;
}

.app-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px 0 20px;
    position: relative;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #28124f, #111022);
    border: 1px solid rgba(177, 108, 255, .5);
    box-shadow: 0 0 30px rgba(139, 72, 255, .18);
}

.brand-icon span {
    font-size: 18px;
    font-weight: 900;
    color: #c39cff;
}

.brand-icon small {
    font-size: 7px;
    letter-spacing: 1px;
    color: #fff;
}

.brand h1 {
    margin: 0;
    font-size: 19px;
    letter-spacing: -.5px;
}

.brand h1 span {
    color: #a873ff;
}

.brand p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.status-pill {
    border: 1px solid rgba(76, 255, 175, .18);
    background: rgba(43, 255, 155, .05);
    padding: 8px 12px;
    border-radius: 100px;
    color: #9affc8;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #55ff9e;
    box-shadow: 0 0 12px #55ff9e;
    margin-right: 6px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    color: #9f7cff;
    font-size: 10px;
    letter-spacing: 2.5px;
    font-weight: 800;
}

.hero h2 {
    margin: 16px 0 20px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -4px;
}

.hero h2 strong {
    background: linear-gradient(90deg, #fff, #a56aff, #5bbfff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-copy > p {
    max-width: 510px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
}

.upload-card,
.panel {
    background: linear-gradient(145deg, rgba(27, 22, 49, .84), rgba(12, 10, 24, .86));
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, .35),
        inset 0 1px rgba(255, 255, 255, .04);
    backdrop-filter: blur(18px);
}

.upload-card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 35px;
    border-style: dashed;
    transition: .25s ease;
}

.upload-card.dragover {
    border-color: #a66cff;
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(145, 75, 255, .16);
}

.upload-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 42px;
    color: #c19aff;
    background: linear-gradient(145deg, #251342, #101022);
    border: 1px solid rgba(174, 112, 255, .35);
    box-shadow: 0 0 45px rgba(135, 70, 255, .18);
    margin-bottom: 22px;
}

.upload-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.upload-card p {
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 13px;
}

.primary-btn,
.version-btn {
    border: 0;
    cursor: pointer;
    color: white;
    font-weight: 800;
    transition: .2s ease;
}

.primary-btn {
    padding: 13px 23px;
    border-radius: 12px;
    background: linear-gradient(100deg, #7b42ff, #4e9dff);
    box-shadow: 0 12px 30px rgba(106, 71, 255, .25);
}

.primary-btn:hover,
.version-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.file-info {
    margin-top: 20px;
    width: 100%;
    max-width: 360px;
    padding: 13px;
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
}

.file-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    font-size: 13px;
}

.file-version {
    color: #a982ff;
    margin-top: 4px;
    font-size: 11px;
}

.panel {
    margin-top: 28px;
    padding: 28px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    margin: 8px 0 0;
    font-size: 32px;
}

.mini-badge {
    padding: 7px 10px;
    border-radius: 9px;
    background: rgba(90, 255, 170, .07);
    border: 1px solid rgba(90, 255, 170, .15);
    color: #82ffc0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.panel-text {
    color: var(--muted);
    font-size: 13px;
    margin: 12px 0 22px;
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.version-btn {
    padding: 13px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(159, 108, 255, .18);
}

.version-btn span {
    display: block;
    color: #a881ff;
    font-size: 10px;
    margin-bottom: 3px;
}

.processing {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 22px;
    padding: 15px;
    border-radius: 13px;
    background: rgba(116, 71, 255, .07);
    border: 1px solid rgba(147, 95, 255, .14);
}

.processing strong,
.processing span {
    display: block;
}

.processing strong {
    font-size: 13px;
}

.processing span {
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,.12);
    border-top-color: #a36aff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

.error-box {
    margin-top: 18px;
    padding: 13px;
    border-radius: 12px;
    background: rgba(255, 65, 95, .07);
    border: 1px solid rgba(255, 65, 95, .15);
    color: #ff9dab;
    font-size: 12px;
}

footer {
    display: flex;
    justify-content: space-between;
    color: #686276;
    font-size: 10px;
    margin-top: 45px;
    padding: 0 4px;
}

.hidden {
    display: none !important;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 800px) {
    .topbar {
        margin-bottom: 45px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero h2 {
        font-size: 48px;
    }

    .upload-card {
        min-height: 330px;
    }

    .version-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .app-shell {
        width: min(100% - 22px, 1120px);
        padding-top: 16px;
    }

    .status-pill {
        display: none;
    }

    .brand h1 {
        font-size: 17px;
    }

    .hero h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .upload-card {
        padding: 25px 18px;
    }

    .panel {
        padding: 20px;
    }

    footer {
        flex-direction: column;
        gap: 6px;
    }
}


.footer-separator {
    margin: 0 5px;
    color: #7d7194;
}

footer a {
    color: #a873ff;
    text-decoration: none;
    font-weight: 700;
}

footer a:hover {
    color: #5bbfff;
}


.owner-credit{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.social-link{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:9px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);color:#a6a0b8;text-decoration:none;font-size:10px;font-weight:700;transition:.2s}
.social-link:hover{transform:translateY(-1px);color:#fff;border-color:rgba(255,255,255,.18)}
.social-icon{font-size:13px;line-height:1}
@media(max-width:500px){.owner-credit{justify-content:flex-start}}
