body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #050505;
    color: white;
}

.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px;
    flex-wrap: wrap;
}

.left {
    max-width: 500px;
}

.badge {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: #111;
    border: 1px solid #333;
    margin-bottom: 20px;
}

h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.subtitle {
    color: #aaa;
    font-size: 18px;
    line-height: 1.6;
}

.features {
    margin-top: 28px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.feature {
    display: inline-flex;
    align-items: center;

    padding: 14px 18px;

    background: #0b0b0b;

    border-radius: 16px;
    border: 1px solid #222;

    font-size: 16px;

    white-space: nowrap;

    margin-bottom: 4px;
}

.card {
    width: 400px;
    background: #111;
    border: 1px solid #222;
    border-radius: 28px;
    padding: 40px;
}

.card h2 {
    margin-top: 0;
    margin-bottom: 25px;
}

input {
    width: 100%;
    padding: 16px;
    margin-bottom: 15px;
    border-radius: 16px;
    border: 1px solid #333;
    background: #050505;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
}

.plans {
    margin-top: 20px;
    margin-bottom: 25px;
}

.plan {
    display: block;
    padding: 16px;
    border-radius: 16px;
    background: #050505;
    border: 1px solid #333;
    margin-bottom: 12px;
    cursor: pointer;
}

button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 18px;
    background: white;
    color: black;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.result {
    margin-top: 25px;
}

.vpn-result {
    background: #050505;
    border: 1px solid #333;
    border-radius: 18px;
    padding: 18px;
    word-break: break-all;
    line-height: 1.6;
    color: #00ff99;
}

.copy-btn {
    width: 100%;
    margin-top: 15px;
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: #00ff99;
    color: black;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.copy-btn:hover {
    opacity: 0.9;
}


.tg-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 16px;
    border-radius: 16px;
    background: #229ED9;
    color: white;
    font-weight: bold;
    transition: 0.2s;
}

.tg-btn:hover {
    opacity: 0.9;
}


.telegram-inner h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.telegram-inner p {
    color: #aaa;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.tg-btn {
    display: inline-block;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 18px;
    background: #229ED9;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: 0.2s;
}

.tg-btn:hover {
    opacity: 0.9;
}

.success-text {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.vpn-link {
    padding: 16px;
    border-radius: 16px;
    background: #000;
    border: 1px solid #333;
    color: #00ff99;
    word-break: break-all;
    line-height: 1.6;
}

.disabled-plan {
    opacity: 0.6;
    cursor: default;
    border: 1px solid #222;
}

.soon-text {
    margin-top: 10px;
    color: #888;
    font-size: 14px;
    line-height: 1.5;
}

.input-hint {
    margin-top: -8px;
    margin-bottom: 15px;
    color: #777;
    font-size: 13px;
}

.legal-note {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
    line-height: 1.6;
    border-top: 1px solid #1a1a1a;
}

.agree-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    color: #888;
    font-size: 13px;
    line-height: 1.5;
}

.agree-box input {
    width: auto;
    margin: 0;
}

.hint-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #222;
    color: #aaa;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    cursor: pointer;
}

.hint-text {
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;

    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);

    width: 260px;

    background: #111;
    border: 1px solid #333;

    border-radius: 14px;

    padding: 12px;

    color: #aaa;
    font-size: 12px;
    line-height: 1.5;

    z-index: 10;
}

.hint-wrapper:hover .hint-text {
    visibility: visible;
    opacity: 1;
}

.telegram-box {
    margin-top: 18px;
    padding: 24px;
    border-radius: 24px;
    background: #0b0b0b;
    border: 1px solid #222;
}

.telegram-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.telegram-box p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 25px;
}

.instructions {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
}

.instructions h2 {
    font-size: 42px;
    margin-bottom: 50px;
}

.step {
    margin-bottom: 70px;
}

.step h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.step p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 18px;
}

.instruction-img {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    border: 1px solid #222;
}

.instruction-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.v2ray-logo {
    width: 90px;
    border-radius: 22px;
    border: 1px solid #222;
}

@media (max-width: 900px) {

    .container {
        flex-direction: column;
        padding: 24px 16px;
        gap: 30px;
    }

    .left {
        width: 100%;
    }

    .card {
        width: 100%;
        max-width: 100%;
    }

    h1 {
        font-size: 42px;
        line-height: 1.05;
        word-break: break-word;
    }

    .subtitle {
        font-size: 16px;
        line-height: 1.5;
    }

    .features {
        gap: 10px;
    }

    .feature {
        font-size: 14px;
        padding: 10px 14px;
    }

    .telegram-box {
        margin-top: 18px;
        padding: 20px;
    }

    .tg-btn {
        width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;

        box-sizing: border-box;

        text-align: center;

        padding: 16px 20px;
    }

    .instructions {
        margin-top: 30px;
    }

    .instructions h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .step h3 {
        font-size: 22px;
    }

    .step p {
        font-size: 16px;
    }

    .instruction-img {
        max-width: 100%;
    }

}

.plan-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.plan-link:hover {
    text-decoration: none;
    color: inherit;
}

.telegram-bonus {
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
}

.telegram-bonus h3 {
    margin-top: 0;
}

.telegram-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}
