:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1f2933; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; overflow-x: hidden; background: radial-gradient(circle at 10% 0%, #fef3c7 0, #fdf6ff 35%, #e0f2fe 85%); -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: -1; inset: -35%; opacity: .9; background: radial-gradient(circle at 8% 15%, rgba(251,191,36,.55), transparent 55%), radial-gradient(circle at 90% 10%, rgba(129,230,217,.45), transparent 55%), radial-gradient(circle at 0 100%, rgba(244,114,182,.42), transparent 55%), radial-gradient(circle at 100% 100%, rgba(129,140,248,.4), transparent 55%); background-size: 160% 160%; content: ""; animation: drift 20s ease-in-out infinite alternate; }
button, input { font: inherit; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; touch-action: manipulation; }
.redeem-stage { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 24px 20px; }
.redeem-card { width: 100%; max-width: 480px; padding: 27px 34px 29px; border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: 0 18px 46px rgba(15,23,42,.16); text-align: center; animation: rise .6s cubic-bezier(.16,1,.3,1); }
.card-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 25px; color: #7b8494; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-align: left; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
.kicker-time { margin-left: auto; padding: 5px 9px; border-radius: 999px; color: #667eea; background: #f0f2ff; font-size: 11px; letter-spacing: 0; text-transform: none; }
.hero-mark { display: grid; width: 74px; height: 74px; margin: 0 auto 16px; place-items: center; border: 1px solid rgba(102,126,234,.25); border-radius: 22px; background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 10px 24px rgba(102,126,234,.25); font-size: 38px; }
.step-label { margin: 0 0 8px; color: #667eea; font-size: 12px; font-weight: 800; letter-spacing: 1px; }
h1 { margin: 0; color: #39445b; font-size: 28px; line-height: 1.25; }
.intro { max-width: 320px; margin: 12px auto 26px; color: #6b7280; font-size: 14px; line-height: 1.7; }
#code-form { display: grid; gap: 9px; text-align: left; }
#code-form label { color: #596579; font-size: 13px; font-weight: 700; }
#code { width: 100%; height: 56px; border: 1px solid #dce3f7; border-radius: 12px; padding: 0 16px; outline: none; background: #fbfcff; color: #39445b; box-shadow: inset 0 1px 2px rgba(15,23,42,.03); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; font-weight: 700; letter-spacing: 1.2px; text-align: center; text-transform: uppercase; }
#code::placeholder { color: #a0a8b8; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
#code:focus { border-color: #667eea; background: #fff; box-shadow: 0 0 0 4px rgba(102,126,234,.13), 0 4px 14px rgba(102,126,234,.1); }
#code-form button { min-height: 56px; margin-top: 7px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 5px 15px rgba(102,126,234,.3); font-size: 17px; font-weight: 700; }
#code-form button:disabled { cursor: wait; opacity: .7; }
#code-form button:active { transform: scale(.985); }
#code-form button span { margin-left: 7px; font-size: 21px; vertical-align: -1px; }
.error { min-height: 20px; margin: 11px 0 0; color: #c2413a; font-size: 13px; font-weight: 600; line-height: 1.5; }
.connection-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 10px 2px; color: #7b8494; font-size: 11px; font-weight: 700; letter-spacing: .25px; }
.connection-row span { display: flex; align-items: center; gap: 6px; }.connection-row span:last-child { color: #667eea; }.connection-row i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
.safe-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 7px; padding: 12px 13px; border: 1px solid #f2dfbc; border-radius: 10px; color: #8c7653; background: #fffaf0; text-align: left; font-size: 12px; line-height: 1.6; }
.safe-note > span { color: #b7791f; font-weight: 900; }.safe-note p { margin: 0; }
.browser-blocked { width: 100%; padding: 4px 0 0; text-align: center; }
.browser-blocked-icon { display: grid; width: 66px; height: 66px; margin: 0 auto 14px; place-items: center; border: 1px solid #d9ddff; border-radius: 20px; background: linear-gradient(135deg, #eef1ff, #f9f0ff); box-shadow: 0 8px 20px rgba(102,126,234,.16); font-size: 32px; }
.blocked-eyebrow { margin: 0 0 7px; color: #667eea; font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.browser-blocked h2 { margin: 0; color: #39445b; font-size: 24px; line-height: 1.3; }
.blocked-lead { margin: 10px auto 18px; color: #6b7280; font-size: 13px; line-height: 1.65; }
.browser-steps { display: grid; gap: 9px; padding: 13px; border: 1px solid #e4e8f7; border-radius: 13px; background: #fafbff; text-align: left; }
.browser-steps > div { display: flex; gap: 10px; align-items: flex-start; }
.browser-steps b { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; color: #fff; background: #667eea; font-size: 12px; }
.browser-steps p { margin: 1px 0 0; color: #596579; font-size: 12px; line-height: 1.6; }.browser-steps strong { color: #5367d8; }
.blocked-devices { margin: 15px 0; color: #8b95a7; font-size: 11px; line-height: 1.7; }
.recheck-button { width: 100%; min-height: 50px; border: 1px solid #d6dcff; border-radius: 11px; color: #5367d8; background: #f3f5ff; font-size: 14px; font-weight: 700; }
.recheck-button:active { background: #e8ebff; transform: scale(.985); }
@keyframes drift { to { transform: scale(1.04) translate3d(1%,2%,0); background-position: 80% 40%; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 600px) { .redeem-stage { min-height: 100svh; align-items: flex-start; padding: 16px 14px calc(16px + env(safe-area-inset-bottom)); } .redeem-card { margin: auto 0; padding: 22px 18px; border-radius: 18px; } .card-kicker { margin-bottom: 22px; } h1 { font-size: 26px; } .browser-blocked h2 { font-size: 22px; } }
