/* Landing + OTP verify - oyage upload karapu landing page eke design ekama (Tailwind classes CSS walata harawa) */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;overflow-x:hidden}
body{background:#000;color:#fff;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Sinhala","Iskoola Pota",Arial,sans-serif;min-height:100vh;overflow-x:hidden;line-height:1.5}
button{font-family:inherit}
@keyframes slideInFromRight{from{transform:translateX(20%);opacity:0}to{transform:translateX(0);opacity:1}}
.slide-in-right{animation:slideInFromRight .6s ease-out forwards}

/* ---------- Landing (welcome) ---------- */
.l-outer{display:flex;flex-direction:column;align-items:center;padding:56px 8px;width:100%;max-width:100%}
.l-card{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#18181b;border-radius:12px;max-width:32rem;width:100%;padding:0 16px}
.l-imgwrap{padding:32px 32px;border-radius:12px;overflow:hidden}
.l-imgwrap img{display:block;width:100%;max-width:420px;margin:0 auto;aspect-ratio:1/1;object-fit:cover;height:auto;border-radius:12px;transition:transform .2s;cursor:pointer}
.l-imgwrap img:hover{transform:scale(1.05)}
.l-body{display:flex;flex-direction:column;gap:20px;padding-bottom:32px;width:100%}
.l-title{color:#fff;text-align:center;font-size:1.25rem;line-height:1.75rem;font-weight:700}
.l-form{display:flex;flex-direction:column;gap:16px}
.l-input{position:relative}
.l-input svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:16px;height:16px;fill:#3b82f6}
.l-input input{width:100%;padding:16px 16px 16px 48px;border-radius:12px;background:#000;border:1px solid #3f3f46;color:#fff;font-size:16px;outline:none;transition:all .15s}
.l-input input:focus{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}
.l-input input::placeholder{color:#9ca3af}
.l-err{color:#f87171;font-size:.875rem;font-weight:700;text-align:center}
.l-btn{width:100%;padding:12px;border-radius:12px;background:#3b82f6;color:#fff;font-weight:700;font-size:1.125rem;line-height:1.75rem;border:0;cursor:pointer;transition:all .2s;text-align:center}
.l-btn:hover{background:#ef4444;transform:scale(1.05)}
.l-btn:disabled{opacity:.5;cursor:not-allowed}
.l-btn:disabled:hover{transform:none;background:#3b82f6}
.l-foot{padding:0 16px;max-width:56rem;margin:48px auto 0;width:100%;text-align:center}
.l-foot p{color:#6b6b73;font-size:.875rem;line-height:1.625;margin-bottom:12px}
.l-link{background:none;border:0;color:#a1a1aa;text-decoration:underline;font-size:.875rem;cursor:pointer;transition:color .15s}
.l-link:hover{color:#fff}

.l-pills{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:28px}
.l-pill{background:#27272a;color:#a1a1aa;border:1px solid #3f3f46;border-radius:999px;padding:5px 12px;font-size:.75rem;cursor:pointer;transition:all .15s}
.l-pill:hover{background:#3f3f46;color:#fff}

/* Terms modal */
.l-modal{position:fixed;inset:0;z-index:50;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.8);padding:0 16px}
.l-modal.show{display:flex}
.l-mbox{background:#000;border:1px solid #3f3f46;border-radius:12px;max-width:28rem;width:100%;padding:24px;display:flex;flex-direction:column;gap:16px}
.l-mbox h2{color:#facc15;font-size:1.25rem;font-weight:700;text-align:center}
.l-mtext{color:#fff;font-size:.875rem;line-height:1.625;display:flex;flex-direction:column;gap:12px}
.l-mtext .b{font-weight:600;margin-bottom:4px}
.l-close{width:100%;margin-top:8px;padding:12px;border-radius:12px;background:#ef4444;color:#fff;font-weight:700;font-size:.875rem;border:0;cursor:pointer}
.l-close:hover{background:#dc2626}

/* ---------- OTP verify ---------- */
.v-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:100%}
.v-h1{color:#fff;font-size:1.6rem;line-height:2.1rem;font-weight:700;margin-bottom:56px;padding:26px 8px;text-align:center;background:#18181b;width:100%}
.v-card{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#18181b;border-radius:12px;max-width:24rem;width:calc(100% - 16px);padding:32px 16px;margin:0 8px}
.v-in{width:100%;display:flex;flex-direction:column;gap:24px}
.v-t1{color:#d4d4d8;text-align:center;font-size:1.125rem;font-weight:500}
.v-t1 b{color:#fff;font-weight:700}
.v-t2{color:#a1a1aa;font-size:.875rem;text-align:center}
.v-form{display:flex;flex-direction:column;gap:16px}
.v-otp{width:100%;padding:16px;border-radius:12px;background:#1f2937;color:#fff;border:1px solid transparent;outline:none;text-align:center;font-size:1.25rem;letter-spacing:.1em;transition:all .15s}
.v-otp:focus{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}
.v-otp:disabled{opacity:.5}
.v-otp::placeholder{color:#9ca3af;letter-spacing:.1em}
.v-resend{text-align:center}
.v-resend p{color:#a1a1aa;font-size:.875rem}
.v-resend button{background:none;border:0;color:#fb7185;font-size:.875rem;font-weight:700;cursor:pointer;padding:0}
.v-resend button:hover{color:#fda4af;text-decoration:underline}
.v-resend button:disabled{opacity:.5}
.v-err{color:#ef4444;font-size:.875rem;font-weight:700;text-align:center}
.v-demo{color:#4ade80;font-size:.8rem;text-align:center}

@media (min-width:768px){
  .l-imgwrap{padding:64px 80px}
  .l-title{font-size:1.5rem;line-height:2rem}
  .l-body{padding-left:16px;padding-right:16px}
  .l-foot{padding:0 32px}
  .v-h1{font-size:2rem;line-height:2.4rem;padding:34px 8px;margin-bottom:64px}
  .v-card{max-width:32rem;padding:32px;margin:0 16px}
}
