@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    display: block;
}

body {
    margin: 0;
    background-color: #0d0f10;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #9b9ca1;
}

.flares {
    z-index: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-image: linear-gradient(#010202, transparent);
    position: absolute;
    top: 0;
}

.flares img {
    position: absolute;
    top: 0;
    bottom: auto;

}

.flares .flares-top {
    left: 0;
    right: 0;
}

.flares .flares-right {
    left: auto;
    right: 0;
}

.container {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    width: 100%;
    min-height: 100vh;
    height: auto;
    max-width: 1223px;
    padding: 80px 24px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
    z-index: 1;
}

.hero {
    width: 100%
}


.logo {
    width: 100%;
    text-align: center;
    margin-top: 60px
}

h1 {
    width: auto;
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    color: #fff
}

.hide-mobile {
    display: none;
}

@media screen and (min-width: 991px) {
    .hide-mobile {
        display: block;
    }

    h1 {
        margin-bottom: 24px;
        font-size: 64px;
    }
}

/* QR display block */
.qr-section {
    width: 100%;
    max-width: 560px;
    margin: 32px auto 0;
    padding: 0 24px 48px;
    position: relative;
    z-index: 1;
}

.qr-card {
    background: radial-gradient(circle at 20% 20%, rgba(108, 93, 211, 0.25), rgba(13, 15, 16, 0.92)),
    radial-gradient(circle at 80% 30%, rgba(54, 183, 255, 0.18), rgba(13, 15, 16, 0.9)),
    #0f1113;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 32px rgba(94, 159, 255, 0.2);
    padding: 24px;
    backdrop-filter: blur(6px);
}

.qr-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    color: #fff;
    font-weight: 600;
}

.qr-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #c8d1ff;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.qr-status-success {
    background: rgba(0, 199, 126, 0.16);
    color: #7cf2c6;
}

.qr-status-error {
    background: rgba(255, 92, 117, 0.18);
    color: #ff9fb3;
}

.qr-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0) 65%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 24px rgba(100, 159, 255, 0.14), inset 0 0 18px rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: box-shadow 0.8s ease, transform 0.8s ease, border-radius 0.6s ease;
}

.qr-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(124, 196, 255, 0.24), inset 0 0 22px rgba(255, 255, 255, 0.05);
}

.qr-box img {
    width: min(260px, 70vw);
    height: auto;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 18px rgba(98, 169, 255, 0.18);
}

.qr-meta {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #b6bec9;
    font-size: 14px;
}

.qr-hint {
    color: #8aa4c3;
    font-size: 14px;
    margin-top: 6px;
    transition: color 0.2s;
    word-break: break-all;
}

.qr-warning {
    margin-top: 6px;
    color: #ffb347;
    background: rgba(255, 180, 71, 0.08);
    border-left: 4px solid #ffb347;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    min-height: 22px;
    transition: background 0.6s, color 0.6s;
    word-break: break-all;
}

@media screen and (max-width: 600px) {
    .qr-card {
        padding: 20px;
    }

    .qr-headline {
        flex-direction: column;
        align-items: flex-start;
    }

    .qr-box img {
        width: min(240px, 90vw);
    }

    .qr-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .qr-warning {
        padding: 8px 10px;
    }
}
