/* ===== Màn chào (Welcome Screen) =====
   Nguồn: Figma node 5:31630 (frame 393px, đã bỏ status bar 50px) */
.page-welcome { background: linear-gradient(180deg, #FFE2E2 -50px, #FCFBF9 217.5px) #FCFBF9; }
.wl { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 480px; min-height: 100vh; margin: 0 auto; padding: 0 16px; color: var(--text-primary); }

/* Header */
.wl-header { display: flex; align-items: flex-start; justify-content: space-between; height: 73px; margin: 0 -16px; padding: 8px 16px 0; border-bottom: 1px solid #FCE6EA; }
.wl-logo { position: relative; width: 126px; height: 44px; }
.wl-logo__img { position: absolute; left: 0; top: 0; width: 123px; height: 31px; }
.wl-logo__text { position: absolute; left: 20px; top: 28px; fill: #E50929; font: 700 15px/14px Arial, Helvetica, sans-serif; }
.wl-header__actions { display: flex; align-items: center; gap: 8px; height: 44px; }
.wl-pill { display: flex; align-items: center; gap: 8px; height: 36px; padding: 8px 12px; border: 1px solid rgba(229, 9, 41, .2); border-radius: 9999px; background: #fff; color: #E50929; font-size: 14px; font-weight: 600; line-height: 16.7px; text-decoration: none; }
.wl-pill img { width: 20px; height: 20px; }
.wl-round { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(229, 9, 41, .2); border-radius: 9999px; background: #fff; }
.wl-round img { width: 20px; height: 20px; }

/* Hero */
.wl-hero { width: 215px; margin-top: 20px; }
.wl-hero__title { margin: 0; font-size: 23px; font-weight: 700; line-height: 27px; color: #202536; }
.wl-hero__title span { color: #E50929; white-space: nowrap; }
.wl-hero__sub { margin: 8px 0 0; font-size: 14px; font-weight: 400; line-height: 20px; color: #69707B; }
.wl-mascot { position: absolute; z-index: 2; top: 59px; right: 16px; width: 152px; height: 164px; background: url('../img/welcome/mascot.png') no-repeat; background-size: contain; background-position: center; pointer-events: none; }

/* Chào mừng + đăng nhập */
.wl-welcome { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; padding: 16px; border: 1px solid #FFE3E7; border-radius: 16px; background: #FFF0F1; }
.wl-welcome__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 19px; color: var(--text-primary); }
.wl-welcome__row { display: flex; align-items: center; gap: 9px; }
.wl-welcome__login { flex: 1 1 auto; width: auto; background: #E50929; }

/* Sản phẩm phổ biến */
.wl-products { margin-top: 16px; }
.wl-section-title { margin: 0 0 9px; font-size: 18px; font-weight: 700; line-height: 21px; color: #202536; }
.wl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.wl-card { position: relative; display: block; height: 173px; border: 1px solid #E9E9E9; border-radius: 12px; background: #fff; box-shadow: 0 4px 18px rgba(26, 32, 48, .016); text-decoration: none; }
.wl-card__img { position: absolute; left: 22px; top: 9px; width: 127px; height: 97px; background-repeat: no-repeat; }
.wl-card__img--power { background-image: url('../img/welcome/power.png'); background-size: 137.3px 97px; background-position: -5.1px 0; }
.wl-card__img--keno { background-image: url('../img/welcome/keno.png'); background-size: 127px 99.5px; background-position: 0 -1.3px; }
.wl-card__img--mega { background-image: url('../img/welcome/mega.png'); background-size: contain; background-position: center; }
.wl-card__img--bingo18 { background-image: url('../img/welcome/bingo18.png'); background-size: contain; background-position: center; }
.wl-card__name { position: absolute; left: 11px; top: 115px; display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 600; line-height: 19.09px; color: #202536; }
.wl-card__name img { width: 16px; height: 16px; }
.wl-card__desc { position: absolute; left: 11px; top: 140px; font-size: 14px; font-weight: 400; line-height: 20px; color: #6E6E6E; }

/* Banner khám phá */
.wl-banner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; height: 204px; margin-top: 23px; padding: 19px 18px; border-radius: 16px; background: url('../img/welcome/banner.png') no-repeat, #9F0316; background-size: 547px 204px, auto; background-position: right center, 0 0; text-decoration: none; overflow: hidden; }
.wl-banner__eyebrow { font-size: 10px; font-weight: 700; line-height: 12px; letter-spacing: 1px; color: #FFE5B4; }
.wl-banner__title { font-size: 24px; font-weight: 700; line-height: 28px; letter-spacing: -.5px; color: #fff; }
.wl-banner__desc { font-size: 12px; font-weight: 500; line-height: 19.5px; color: #FFEFDA; }
.wl-banner__cta { display: flex; align-items: center; gap: 6px; height: 32px; padding: 9px 12px; border-radius: 24px; background: #FFF0C8; font-size: 12px; font-weight: 700; line-height: 14.32px; color: #8D0718; }
.wl-banner__cta img { width: 14px; height: 14px; }

/* Hướng dẫn chơi + ghi chú + footer */
.wl-guide { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 16px; padding: 8px 12px; border: 1px solid rgba(229, 9, 41, .2); border-radius: 9999px; background: #fff; color: #E50929; font-size: 16px; font-weight: 600; line-height: 19.09px; text-decoration: none; }
.wl-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font-size: 14px; font-weight: 400; line-height: 20px; color: var(--text-secondary); }
.wl-note img { width: 20px; height: 20px; }
.wl-footer { margin: auto -16px 0; padding: 9px 0 calc(9px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--footer-border); color: var(--text-secondary); }
.wl-note + .wl-footer { margin-top: 16px; }
