@font-face {
    font-family: ssk;
    src: url(./fonts/sitelenselikiwenmonoasuki1.woff2) format("woff2"),
        url(./fonts/sitelenselikiwenmonoasuki1.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.font-pona {
    font-family: 'ssk', sans-serif;
}

.font-pona-text {
    font-family: 'ssk', sans-serif;
    letter-spacing: -0.1em;
}

main {
    text-align: center;
    max-width: 480px;
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.title .font-pona {
    font-size: 3rem;
    line-height: 1;
}

.name {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.tagline {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Version badge */
.version-container {
    margin-bottom: 2.5rem;
}

.version {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    background: #111;
    border: 1px solid #222;
    border-radius: 4px;
    transition: border-color 0.2s, background 0.2s;
}

.version:hover {
    border-color: #444;
    background: #1a1a1a;
}

.beta-tag {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
    background: #e5c07b;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
}

/* Install section */
.install-section {
    margin-bottom: 2.5rem;
}

.install-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 0.75rem;
}

.install-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.85rem;
    color: #ccc;
    transition: border-color 0.2s;
}

.install-box:hover {
    border-color: #333;
}

.install-box code {
    user-select: all;
}

.copy-btn {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.copy-btn:hover {
    color: #fff;
    background: #222;
}

.copy-btn.copied {
    color: #98c379;
}

.copy-btn.copied svg {
    animation: pulse 0.3s ease;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Links */
.links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.links a,
main>a,
.noscript-note a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.links a:hover,
main>a:hover,
.noscript-note a:hover {
    border-color: #fff;
}

.noscript-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #555;
}

/* Footer */
footer {
    position: fixed;
    bottom: 2rem;
    font-size: 2rem;
    color: #333;
    letter-spacing: 0.05em;
    text-rendering: optimizeLegibility;
}

footer .font-pona {
    font-feature-settings: "liga" 1;
}

/* Mobile adjustments */
@media (max-width: 520px) {
    .install-box {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .install-box code {
        font-size: 0.75rem;
        word-break: break-all;
    }

    .copy-btn {
        align-self: flex-end;
    }
}