:root {
    --bg: #050513;
    --card-inner: #15151f;
    --text: #f4f4ff;
    --muted: #9ca3af;
    --border-grad-1: #7de0c9;
    --border-grad-2: #c9a8ff;
    --border-grad-3: #ff9ad5;
    --border-grad-4: #deb8ce
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
        "SF Pro Text", "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #17172b 0, #050513 55%, #020208 100%);
    color: var(--text);
    display: flex;
    justify-content: center;
}

.shell {
    max-width: 640px;
    width: 100%;
}

@media (min-width: 640px) {
    .card-inner {
        padding: 32px 34px 24px;
    }
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-circle {
    width: 132px;
    height: 132px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%,
            rgba(255, 154, 213, 0.45) 0,
            transparent 65%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.title {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    margin: 0;
    font-size: 26px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

p {
    margin: 46px 0 0;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.5;
}

.downloads {
    display: grid;
    gap: 20px;
    margin-top: 6px;
}

.download-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 18px;
    border: 2px solid transparent;
    color: var(--text);
    position: relative;
    overflow: hidden;
    background: transparent;
    transition: color 0.25s ease;
}

.download-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg,
            var(--border-grad-1),
            var(--border-grad-2),
            var(--border-grad-3),
            var(--border-grad-4));
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    z-index: 1;
}

.download-button::after {
    content: "";
    position: absolute;
    inset: 0px;
    border-radius: calc(999px - 2px);
    background: linear-gradient(135deg,
            var(--border-grad-1),
            var(--border-grad-2),
            var(--border-grad-3),
            var(--border-grad-4));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease-out;
    z-index: 0;
}

.download-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.download-title {
    font-size: 16px;
    font-weight: 600;
}

.download-subtitle {
    margin-top: 3px;
    font-size: 14px;
    color: #b8b8d9;
    transition: color 0.25s ease;
}

.download-button:hover::after {
    transform: scaleX(1);
}

.download-button:hover {
    color: #050513;
}

.download-button:hover .download-subtitle {
    color: #111827;
}

.checksum {
    font-size: 12px;
    color: var(--muted);
    word-break: break-all;
}

.checksum-label {
    opacity: 0.8;
    margin-right: 4px;
}

.checksum code {
    border-radius: 6px;
    padding: 2px 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
}

.footer {
    margin-top: 40px;
    font-size: 14px;
    color: #7a7f9a;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.link {
    color: #c9a8ff;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.wmv-list {
    font-size: 14px;
}

@media (max-width: 480px) {
    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}