* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: rgb(255, 255, 255);
    color: rgb(29, 29, 31);
}

.back-nav {
    padding: 13px 32px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.back-link {
    font-size: 12px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.42);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.back-link:hover {
    color: rgb(29, 29, 31);
}

.content {
    padding: 24px 32px 32px;
}

h1 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.version {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-type {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.32);
}

.card-name {
    font-size: 15px;
    font-weight: 600;
    color: rgb(29, 29, 31);
}

.card-desc {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    line-height: 1.5;
    margin-bottom: 10px;
}

.card form {
    margin: 0;
}

.btn-download {
    width: 100%;
    height: 34px;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.18s;
}

.btn-download.primary {
    background: rgba(29, 29, 31, 0.9);
    color: rgb(255, 255, 255);
}

.btn-download.primary:hover {
    background: rgb(0, 0, 0);
}

.btn-download.secondary {
    background: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.75);
}

.btn-download.secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

.mirror {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.mirror:hover {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.02);
}

.mirror img {
    height: 22px;
    opacity: 0.7;
}

.mirror:hover img {
    opacity: 1;
}

.mirror-text {
    flex: 1;
}

.mirror-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.3);
    margin-bottom: 1px;
}

.mirror-name {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
}

.mirror-arrow {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.25);
}

.page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.eula {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.38);
    line-height: 1.6;
}

.eula a {
    color: rgba(0, 0, 0, 0.52);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.eula a:hover {
    color: rgb(0, 0, 0);
}

.donate {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.donate-label {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.3);
    text-align: right;
    line-height: 1.4;
}

.donate a img {
    height: 26px;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.donate a:hover img {
    opacity: 1;
}

.qr {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr:hover {
    transform: scale(1.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 540px) {
    .back-nav {
        padding: 12px 20px;
    }

    .content {
        padding: 20px 20px 28px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .page-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
