*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Inter,Arial,sans-serif;
}

body{
    background:#050505;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    padding:30px;
}

.container{
    width:100%;
    max-width:500px;
}

h1{
    text-align:center;
    font-size:42px;
    font-weight:700;
}

.subtitle{
    text-align:center;
    color:#888;
    margin-top:10px;
    margin-bottom:35px;
}

.card{
    background:#0d0d0d;
    border:2px solid #222;
    border-radius:22px;
    padding:30px;
}

input{
    width:100%;
    background:#111;
    color:#fff;
    border:2px solid #222;
    border-radius:16px;
    padding:18px;
    font-size:18px;
    outline:none;
    transition:.2s;
}

input:focus{
    border-color:#fff;
}

#generateBtn{
    width:100%;
    margin-top:18px;
    padding:16px;
    border:none;
    border-radius:16px;
    background:#fff;
    color:#000;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

#generateBtn:hover{
    transform:translateY(-2px);
}

#qrContainer{
    margin:30px auto;
    width:260px;
    height:260px;
    background:#fff;
    border-radius:18px;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}

#qr{
    display:flex;
    justify-content:center;
    align-items:center;
}

#qr img,
#qr canvas{
    max-width:220px;
    max-height:220px;
}

#outputText{
    text-align:center;
    color:#999;
    margin-bottom:25px;
    word-break:break-word;
    font-size:15px;
}

.buttons{
    display:flex;
    gap:15px;
}

.buttons button{
    flex:1;
    padding:16px;
    border:none;
    border-radius:16px;
    background:#fff;
    color:#000;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

.buttons button:hover{
    transform:translateY(-2px);
}

button:active{
    transform:scale(.98);
}

@media(max-width:600px){

    h1{
        font-size:34px;
    }

    .card{
        padding:20px;
    }

    #qrContainer{
        width:220px;
        height:220px;
    }

    #qr img,
    #qr canvas{
        max-width:190px;
        max-height:190px;
    }

    .buttons{
        flex-direction:column;
    }

}