* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
    background: #f8fafc;
    color: #1f2937;
}

.qr-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.16), transparent 35%),
        radial-gradient(circle at 80% 10%, rgba(251, 191, 36, 0.14), transparent 38%),
        radial-gradient(circle at 20% 90%, rgba(74, 222, 128, 0.12), transparent 40%),
        #f8fafc;
}

.qr-card {
    width: 100%;
    max-width: 760px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 20px 36px rgba(30, 41, 59, 0.1);
    text-align: center;
}

.eyebrow {
    margin: 0;
    color: #2563eb;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

h1 {
    margin: 10px 0 8px;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1.2;
}

.lead {
    margin: 0 auto 20px;
    max-width: 620px;
    color: #4b5563;
    font-size: clamp(0.95rem, 2vw, 1.08rem);
}

.qr-frame {
    width: min(78vw, 420px);
    aspect-ratio: 1 / 1;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: #fff;
    border: 10px solid #e2e8f0;
    box-shadow: inset 0 0 0 1px #cbd5e1;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.qr-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.url-box {
    margin: 0 auto;
    width: 100%;
    max-width: 640px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    padding: 12px 14px;
    text-align: left;
}

.url-label {
    margin: 0 0 6px;
    color: #475569;
    font-size: 0.92rem;
}

#mobile-url {
    color: #1d4ed8;
    word-break: break-all;
    text-decoration: none;
    font-weight: 600;
}

#mobile-url:hover {
    text-decoration: underline;
}

.footnote {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 0.84rem;
}

@media (max-width: 640px) {
    .qr-card {
        border-radius: 16px;
        padding: 18px;
    }

    .url-box {
        padding: 10px 12px;
    }
}
