* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #000;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;

    background:
        radial-gradient(
            circle at top,
            #2a2108 0%,
            #100d05 30%,
            #050505 65%,
            #000 100%
        );

    color: #fff;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}

.container {
    width: 100%;
    max-width: 520px;
    text-align: center;
}

.logo {
    margin: 0;
    font-size: clamp(42px, 12vw, 72px);
    font-weight: 900;
    letter-spacing: -3px;

    background:
        linear-gradient(
            135deg,
            #fff4b0 0%,
            #ffd75a 20%,
            #c99419 45%,
            #fff0a0 65%,
            #b77b08 85%,
            #ffe27a 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    filter:
        drop-shadow(0 0 12px rgba(255, 204, 60, 0.18))
        drop-shadow(0 0 30px rgba(255, 190, 30, 0.08));
}

.subtitle {
    margin: 8px auto 16px;
    max-width: 440px;

    color: #e4bd50;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
}

.language-switcher {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
}

.lang-btn {
    border: 1px solid rgba(218, 168, 35, 0.28);
    background: rgba(255, 255, 255, 0.025);
    color: #8e8e8e;

    min-width: 44px;
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;

    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.lang-btn:hover {
    color: #e4bd50;
    border-color: rgba(218, 168, 35, 0.55);
}

.lang-btn.active {
    color: #000;
    background:
        linear-gradient(
            135deg,
            #fff0a0,
            #dca82b
        );
    border-color: #e2b43c;
}

.connect-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;

    padding: 11px 18px;
    margin-bottom: 8px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #fff0a0 0%,
            #ffd34f 22%,
            #c28a14 52%,
            #f5d66b 76%,
            #b77c0b 100%
        );

    color: #090909;
    text-decoration: none;

    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.1px;

    box-shadow: 0 6px 18px rgba(205, 157, 36, 0.15);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.connect-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);

    box-shadow: 0 9px 22px rgba(205, 157, 36, 0.24);
}

.connect-button:active {
    transform: translateY(0);
}

.copy-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 38px;
    padding: 8px 16px;
    margin-bottom: 14px;

    border: 1px solid rgba(218, 168, 35, 0.3);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.02);
    color: #dcb54c;

    font-size: 13px;
    font-weight: 600;
    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.copy-button:hover {
    transform: translateY(-1px);
    color: #fff4b0;
    border-color: rgba(218, 168, 35, 0.6);
    background: rgba(218, 168, 35, 0.06);
}

.copy-button:active {
    transform: translateY(0);
}

.instruction-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 40px;
    padding: 9px 18px;
    margin-bottom: 20px;

    border: 1px solid rgba(218, 168, 35, 0.4);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.03);
    color: #e4bd50;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.instruction-button:hover {
    transform: translateY(-1px);
    color: #fff4b0;
    border-color: rgba(218, 168, 35, 0.8);
    background: rgba(218, 168, 35, 0.08);
}

.download-title {
    margin: 0 0 10px;

    color: #dcb54c;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.downloads {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 8px 6px;

    border: 1px solid rgba(218, 168, 35, 0.25);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.035);
    color: #cfcfcf;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

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

    color: #f1d36d;
    border-color: rgba(218, 168, 35, 0.65);
    background: rgba(218, 168, 35, 0.07);
}

.donation {
    margin-top: 22px;
    padding: 14px;

    border: 1px solid rgba(218, 168, 35, 0.22);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.025);
}

.donation-title {
    margin: 0 0 8px;

    color: #e4bd50;
    font-size: 15px;
    font-weight: 800;
}

.donation-text {
    margin: 0 0 14px;

    color: #888;
    font-size: 12px;
    line-height: 1.5;
}

.donation-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.donation-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    width: 100%;
    min-height: 38px;
    padding: 8px 14px;

    border: 1px solid rgba(218, 168, 35, 0.35);
    border-radius: 10px;

    background: rgba(218, 168, 35, 0.06);
    color: #e4bd50;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.donation-button:hover {
    transform: translateY(-1px);
    background: rgba(218, 168, 35, 0.11);
    border-color: rgba(218, 168, 35, 0.65);
}

footer {
    margin-top: 26px;

    color: #555;
    font-size: 11px;
    letter-spacing: 0.4px;
    line-height: 1.8;
}

footer a {
    color: #777;
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #e4bd50;
}

@media (max-width: 420px) {
    body {
        padding: 18px;
    }

    .subtitle {
        font-size: 15px;
    }

    .connect-button {
        font-size: 16px;
    }

    .downloads {
        grid-template-columns: repeat(3, 1fr);
    }

    .download-button {
        min-height: 38px;
        font-size: 11px;
    }
}
