:root {
    --bg-color: #f5f5f7;
    --card-bg: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-color: #0071e3;
    --shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg:
        0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

p.subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 32px;
}

.qr-wrapper {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.qr-code {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 8px;
}

.mobile-cta {
    display: none; /* Hidden by default for desktop */
    margin-top: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 980px; /* Pill shape */
    width: 100%;
    transition: background-color 0.2s;
    box-shadow: 0 2px 4px rgba(0, 113, 227, 0.3);
}

.btn-primary:active {
    background-color: #0077ed;
    transform: scale(0.98);
}

footer {
    margin-top: 40px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .container {
        padding: 32px 24px;
    }

    /* Show CTA button only on mobile/small screens */
    .mobile-cta {
        display: block;
    }
}
