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

@font-face {
  font-family: 'Huninn';
  src: url('/fonts/Huninn-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Comfortaa';
  src: url('/fonts/Comfortaa-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body{
    font: 20px/1.5 "Huninn", -apple-system,system-ui,sans-serif;
    background:#1E1E24;
    color:#e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 16px;
}

.box{
    background:#2A2A32;
    padding: 16px;
    border-radius: 8px;
    width: 100%;
    max-width: 490px;
    box-shadow: 0 4px 4px #00000033;
    flex: 1;
}

h1{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 2.1rem;
    letter-spacing: -.01em;
    position: relative;
    margin-top: 10px;
    margin-bottom: 12px;
}

h2 {
    color:#e6e6e6;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    width: 100%;
}

p{
    color:#9c9489;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

img{
    border-radius: 6px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
    user-select: none;
}

a:link ,a:visited{
    text-decoration: none;
    color:#93a1df;
    text-align: center;
}

.btn{
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 100%;
    padding:  15px 20px;
    text-decoration: none;
    border-radius: 16px;
    letter-spacing: -.01em;
    position: relative;
    overflow: hidden;
    color: #d3d3d3 !important;
    box-shadow: 0 4px 18px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.10) inset;
}

.img-btn{
    gap: 25%;
    justify-content: normal !important;
    font-weight: 700;
    font-size: 15px;
}

.btn-bg{
    background: rgba(255,255,255,.075);
}

.btns{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-wrap{
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.app-logo{
    width: 42px;
    height: 42px;
    margin-right: 10px;
}

.row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #3A3A44;
}

.container{
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    max-width: 876px;
    justify-content: center;
    align-items: stretch;
}

.copy-text{
    position:relative;
    background: rgba(0,0,0,.42);
    border: 1px solid rgba(255,255,255,.19);
    padding: 12px 76px 12px 14px;
    border-radius:13px;
    font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    font-size:13px;
    word-break:break-all;
    color: rgba(255,255,255,.72);
    text-align:left;
    line-height:1.55;
    margin-bottom:0.5rem;
}

.copy-actions{
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
}

.copy-btn, .qr-btn{
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn svg, .qr-btn svg{
    width: 16px;
    height:16px;
    fill: rgba(255, 255, 255, .6);
    transition: fill 0.2s;
}

.copy-btn:hover svg, .qr-btn:hover svg{
    fill: rgba(255, 255, 255, .9);
}

.qr-overlay{
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background:rgba(0,0,0,0.6);
    z-index: 9999;
}

.qr-card{
    background:#0f0f11;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-card canvas{
    width: min(70vw, 400px);
    height: min(70vw, 400px);
    background:#fff;
    border-radius: 6px;
}

.qr-close{
    background: transparent;
    border: 0;
    color:#fff;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    width: 100%;
}

.support{
    font-weight: normal !important;
    font-size: .70rem !important;
    color:#999 !important;
    line-height: normal;
    margin-bottom: 0;
    padding-top: 1rem;
}

.border-top{
    border-top: 1px solid #3A3A44;
}

.text-center{
    text-align: center;
}

.flex{
    display: flex;
}

@media(max-height:430px){
    .qr-btn{
        display: none;
    }
    .copy-text{
        padding-right: 38px;
    }
}

@media(max-width:430px){
    .qr-btn{
        display: none;
    }
    .copy-text{
        padding-right: 38px;
    }
}