:root {
    --bg: #050407;
    --ink: #f7f1f8;
    --muted: #b7a9bb;
    --dim: #78677d;
    --panel: rgba(13, 10, 18, 0.86);
    --panel-2: rgba(25, 16, 33, 0.92);
    --line: rgba(255, 131, 250, 0.28);
    --line-hard: rgba(255, 131, 250, 0.58);
    --accent: #ff83fa;
    --accent-hot: #ff2df5;
    --chrome: #f3edf5;
    --warn: #ffd18a;
    --shadow: 0 24px 90px rgba(255, 45, 245, 0.18), 0 18px 70px rgba(0, 0, 0, 0.62);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Trebuchet MS", "Arial Black", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 50% -10%, rgba(255, 131, 250, 0.30), transparent 26rem),
        radial-gradient(circle at 12% 74%, rgba(255, 45, 245, 0.22), transparent 24rem),
        radial-gradient(circle at 88% 78%, rgba(170, 85, 255, 0.18), transparent 24rem),
        linear-gradient(180deg, #09080d 0%, #050407 48%, #09050c 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background:
        repeating-linear-gradient(112deg, transparent 0 18px, rgba(255, 131, 250, 0.08) 19px, transparent 21px),
        repeating-linear-gradient(68deg, transparent 0 38px, rgba(255, 255, 255, 0.035) 39px, transparent 43px);
    mask-image: radial-gradient(circle at 50% 18%, black, transparent 54%);
}

body::after {
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.28;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    position: relative;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--chrome);
    text-shadow:
        0 2px 0 #5b5360,
        0 0 16px rgba(255, 131, 250, 0.75),
        0 0 34px rgba(255, 45, 245, 0.52);
}

.brand span {
    margin-left: 8px;
    color: var(--accent);
}

nav {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

nav a {
    color: var(--chrome);
    text-shadow: 0 0 16px rgba(255, 131, 250, 0.45);
}

nav a:hover {
    color: var(--accent);
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px 0 72px;
}

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: end;
    gap: 34px;
    padding: 42px 0 38px;
}

.hero-copy {
    position: relative;
}

.hero-logo {
    display: block;
    width: min(420px, 82vw);
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0 0 22px;
    border: 1px solid rgba(255, 131, 250, 0.36);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 40px rgba(255, 45, 245, 0.44),
        0 26px 90px rgba(0, 0, 0, 0.62);
}

.server {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(255, 131, 250, 0.8);
}

h1, h2 {
    margin: 0;
    line-height: 0.96;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 850px;
    font-size: clamp(46px, 8.5vw, 104px);
    color: var(--chrome);
    text-shadow:
        0 3px 0 #5d5364,
        0 7px 0 #24142d,
        0 0 18px rgba(255, 131, 250, 0.75),
        0 0 52px rgba(255, 45, 245, 0.6);
}

h2 {
    font-size: 26px;
    color: var(--chrome);
    text-shadow: 0 0 18px rgba(255, 131, 250, 0.45);
}

.lead {
    max-width: 690px;
    margin: 24px 0 0;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.65;
}

.status-card,
.panel {
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 38%),
        radial-gradient(circle at 50% 0%, rgba(255, 131, 250, 0.15), transparent 19rem),
        var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.status-card {
    min-height: 180px;
    padding: 24px;
    display: grid;
    align-content: end;
    gap: 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.status-card strong {
    font-size: 20px;
    text-shadow: 0 0 18px rgba(255, 131, 250, 0.6);
}

.status-card span:last-child {
    color: var(--accent);
    font-size: 30px;
    font-weight: 900;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 22px rgba(255, 131, 250, 1), 0 0 54px rgba(255, 45, 245, 0.8);
}

.panel {
    border-radius: 6px;
    padding: 30px;
}

.auth-panel {
    max-width: 600px;
}

.auth-panel p,
.muted {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-weight: 700;
    line-height: 1.6;
}

.warn {
    color: var(--warn);
}

.notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 209, 138, 0.38);
    border-radius: 6px;
    color: var(--warn);
    background: rgba(255, 209, 138, 0.08);
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid var(--line-hard);
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent),
        #160f1c;
    color: var(--chrome);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 22px rgba(255, 131, 250, 0.18);
}

.button.primary {
    border-color: rgba(255, 255, 255, 0.72);
    background:
        linear-gradient(180deg, #ffc2ff 0%, var(--accent) 44%, var(--accent-hot) 100%);
    color: #19041b;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 28px rgba(255, 131, 250, 0.74), 0 12px 34px rgba(255, 45, 245, 0.22);
}

.button:hover {
    transform: translateY(-1px);
}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 22px;
}

.upload-panel {
    display: grid;
    gap: 18px;
}

.user-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.user-line strong {
    color: var(--accent);
}

.dropzone {
    min-height: 236px;
    border: 1px dashed rgba(255, 131, 250, 0.62);
    border-radius: 6px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 28px;
    text-align: center;
    background:
        repeating-linear-gradient(135deg, rgba(255, 131, 250, 0.06) 0 1px, transparent 1px 15px),
        rgba(255, 131, 250, 0.045);
    cursor: pointer;
}

.dropzone input {
    width: min(100%, 430px);
    color: var(--muted);
}

.dropzone span {
    display: block;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(255, 131, 250, 0.55);
}

.dropzone small,
.recent-item small {
    color: var(--dim);
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.recent-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.recent-item {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(255, 131, 250, 0.18);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.035);
    overflow-wrap: anywhere;
}

.recent-item span {
    color: var(--chrome);
    font-weight: 900;
}

.recent-item:hover {
    border-color: rgba(255, 131, 250, 0.72);
    box-shadow: 0 0 26px rgba(255, 131, 250, 0.18);
}

.success-panel {
    max-width: 860px;
    margin: 24px auto;
}

.success-panel h1 {
    font-size: clamp(34px, 5vw, 60px);
    overflow-wrap: anywhere;
}

.link-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin: 26px 0;
}

.link-box input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 131, 250, 0.34);
    border-radius: 4px;
    background: #07050a;
    color: var(--accent);
    padding: 0 14px;
    font: 800 14px Arial, sans-serif;
    box-shadow: inset 0 0 22px rgba(255, 131, 250, 0.08);
}

@media (max-width: 860px) {
    .hero,
    .grid,
    .link-box {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 18px;
    }

    .hero-logo {
        width: min(330px, 86vw);
    }

    h1 {
        font-size: clamp(40px, 13vw, 66px);
    }

    .topbar {
        align-items: flex-start;
    }

    nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}
