*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: 'Inter', sans-serif; font-size: 14px; }
body { background: #eef3fb; color: #0b1b2b; min-height: 100vh; }

@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes pulse   { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes fadeIn  { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
@keyframes zoomIn  { from{opacity:0;transform:scale(.9)} to{opacity:1;transform:scale(1)} }
@keyframes bounceIn{ 0%{transform:scale(.3);opacity:0} 50%{transform:scale(1.05)} 70%{transform:scale(.9)} 100%{transform:scale(1);opacity:1} }
@keyframes ticker  { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes ballDrop{ from{transform:translateY(-40px);opacity:0} to{transform:translateY(0);opacity:1} }
@keyframes glowPulse{ 0%,100%{box-shadow:0 0 8px #f4b40066} 50%{box-shadow:0 0 28px #f4b400cc} }

.animate-fade   { animation: fadeIn .5s ease both; }
.animate-zoom   { animation: zoomIn .4s ease both; }
.animate-bounce { animation: bounceIn .6s ease both; }

.page { display: none; }
.page.active { display: block; }

/* AGE GATE */
#overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.88); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
#overlay.hidden { display: none; }
.overlay-card {
  background: #fff; border-radius: 18px;
  box-shadow: 0 30px 100px rgba(0,0,0,.5);
  max-width: 360px; width: 100%; padding: 2rem; text-align: center;
  animation: zoomIn .35s ease;
}
.age-badge {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg,#e30613,#b80510);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 900; border: 4px solid #0b1b2b;
  box-shadow: 0 6px 24px rgba(227,6,19,.4);
}
.overlay-card h2 { margin-top: 1rem; font-size: 1.1rem; font-weight: 800; color: #0b1b2b; }
.overlay-card p  { font-size: .72rem; color: #3a4756; margin-top: .5rem; line-height: 1.55; }
.overlay-card .note { font-size: .63rem; color: #6b7785; margin-top: .5rem; }
.btn-enter {
  display: block; width: 100%; margin-top: 1.2rem;
  background: linear-gradient(135deg,#0e8a3a,#0a6e2c);
  color: #fff; border: none; border-radius: 8px; padding: .88rem;
  font-size: .88rem; font-weight: 800; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(14,138,58,.35);
}
.btn-enter:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,138,58,.45); }
.btn-exit {
  display: block; width: 100%; margin-top: .5rem;
  background: #efefef; color: #0b1b2b; border: none; border-radius: 8px; padding: .7rem;
  font-size: .78rem; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: background .2s;
}
.btn-exit:hover { background: #ddd; }

/* HEADER */
.topbar {
  background: #0b2a5e; color: #fff;
  font-size: .68rem; padding: .38rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-brand { color: #f4b400; font-weight: 700; }
.main-header {
  padding: .75rem 1rem;
  background: linear-gradient(90deg,#0b3a82 0%,#1556b8 55%,#0e8a3a 100%);
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.logo-area { display: flex; align-items: center; gap: .55rem; }
.logo-circle {
  width: 46px; height: 46px; border-radius: 8px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.nlsa-logo {
  height: 48px; width: auto; flex-shrink: 0;
  background: #fff; border-radius: 8px; padding: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  object-fit: contain;
}
.logo-text { color: #fff; font-weight: 800; font-size: .92rem; line-height: 1.25; }
.logo-sub  { color: rgba(255,255,255,.7); font-size: .65rem; font-weight: 500; }
.jackpot-badge {
  background: linear-gradient(135deg,#f4b400,#e0a000);
  color: #0b1b2b; border-radius: 10px; padding: .45rem .9rem;
  text-align: right; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(244,180,0,.45);
  animation: glowPulse 2.5s infinite;
}
.jackpot-badge .j-label  { font-size: .58rem; text-transform: uppercase; font-weight: 800; letter-spacing: .06em; }
.jackpot-badge .j-amount { font-size: .95rem; font-weight: 900; margin-top: .1rem; }
.header-divider { height: 3px; background: linear-gradient(90deg,#f4b400,#1556b8,#0e8a3a); }
.ticker-wrap {
  background: #0b1b2b; color: #f4b400;
  font-size: .66rem; font-weight: 700; padding: .28rem 0; overflow: hidden;
}
.ticker-inner { white-space: nowrap; display: inline-block; animation: ticker 60s linear infinite; }

/* CARD */
.card { background: #fff; border-radius: 12px; box-shadow: 0 4px 28px rgba(11,27,43,.1); overflow: hidden; }
.card-inner { padding: 1.25rem; }

/* FORMS */
label { display: block; font-size: .7rem; font-weight: 800; color: #0b1b2b; margin-bottom: .28rem; }
input[type=text], input[type=tel], input[type=number] {
  width: 100%; padding: .62rem .8rem;
  border: 1.5px solid #d6e4f5; border-radius: 8px;
  font-size: .85rem; color: #0b1b2b; outline: none;
  font-family: inherit; transition: border .2s, box-shadow .2s; background: #fff;
}
input:focus { border-color: #1d4ea8; box-shadow: 0 0 0 3px rgba(29,78,168,.15); }
.form-group { margin-bottom: .8rem; }

/* BUTTONS */
.btn-primary {
  width: 100%; background: linear-gradient(135deg,#1d4ea8,#163d82);
  color: #fff; border: none; border-radius: 9px; padding: .88rem;
  font-size: .9rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 14px rgba(29,78,168,.35);
  transition: transform .15s, box-shadow .15s, opacity .2s;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(29,78,168,.45); }
.btn-primary:disabled { background: #c5d0e6; box-shadow: none; cursor: not-allowed; color: #8a99ad; }
.btn-green {
  width: 100%; background: linear-gradient(135deg,#0e8a3a,#0a6e2c);
  color: #fff; border: none; border-radius: 9px; padding: .88rem;
  font-size: .9rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 14px rgba(14,138,58,.3);
  transition: transform .15s, box-shadow .15s;
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,138,58,.42); }
.btn-red {
  width: 100%; background: linear-gradient(135deg,#e30613,#b80510);
  color: #fff; border: none; border-radius: 9px; padding: .88rem;
  font-size: .9rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 14px rgba(227,6,19,.3);
  animation: pulse 1.6s infinite;
  transition: transform .15s;
}
.btn-red:hover { transform: translateY(-2px); }

/* PRIZES */
.prize-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem .8rem; border-radius: 9px;
  border: 1.5px solid #d6e4f5; background: #f6fbff;
  cursor: pointer; transition: all .2s; margin-bottom: .4rem;
  font-size: .85rem;
}
.prize-item:hover { border-color: #1d4ea8; background: #eef5ff; transform: translateX(2px); }
.prize-item.selected {
  background: #e8f0ff; border-color: #1d4ea8;
  box-shadow: 0 0 0 3px rgba(29,78,168,.15); transform: translateX(2px);
}
.prize-left  { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: #0b1b2b; }
.prize-amt   { font-weight: 900; color: #0b1b2b; }

/* DRAW */
.draw-board {
  background: linear-gradient(135deg,#0b3a82,#1d4ea8,#0e3a7a);
  border-radius: 14px; padding: 1.1rem;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.3), 0 6px 24px rgba(11,58,130,.3);
}
.draw-header {
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; font-size: .63rem; text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .8rem;
}
.live-badge {
  background: #e30613; color: #fff; font-weight: 800;
  padding: .22rem .6rem; border-radius: 20px;
  display: inline-flex; align-items: center; gap: .3rem; font-size: .63rem;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1s infinite; }
.balls-row { display: flex; align-items: center; justify-content: center; gap: .45rem; flex-wrap: wrap; }
.ball {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem;
  border: 2.5px solid rgba(255,255,255,.2);
  background: rgba(11,27,43,.45); color: rgba(255,255,255,.25);
  transition: all .45s;
}
.ball.revealed {
  background: #fff; color: #0b1b2b;
  border-color: rgba(255,255,255,.8); animation: ballDrop .4s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.ball.winner {
  background: linear-gradient(135deg,#f4b400,#e0a000);
  color: #0b1b2b; border-color: #fff; transform: scale(1.18);
  box-shadow: 0 0 24px rgba(244,180,0,.8), 0 4px 12px rgba(0,0,0,.3);
}
.ball.empty { animation: pulse 1.2s infinite; }
.lucky-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: .4rem; max-width: 268px; margin: 0 auto; }
.lucky-btn {
  aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid #1d4ea8; background: #fff;
  color: #0b1b2b; font-weight: 800; font-size: .85rem;
  cursor: pointer; transition: all .15s;
  box-shadow: 0 2px 6px rgba(29,78,168,.15);
}
.lucky-btn:hover { background: #1d4ea8; color: #fff; transform: scale(1.12); box-shadow: 0 4px 12px rgba(29,78,168,.35); }
.win-panel {
  background: linear-gradient(135deg,#e8f7ee,#d4f0df);
  border: 2px solid #0e8a3a; border-radius: 12px; padding: 1.1rem; text-align: center;
  animation: bounceIn .65s ease;
}

/* BANK */
.bank-header {
  background: linear-gradient(135deg,#0e8a3a,#0a6e2c);
  color: #fff; padding: .7rem 1rem; font-size: .85rem; font-weight: 800;
  box-shadow: 0 2px 8px rgba(14,138,58,.25);
}
.bank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .42rem; }
.bank-btn {
  display: flex; align-items: center; gap: .45rem;
  padding: .52rem .6rem; border-radius: 8px;
  border: 1.5px solid #d0d8e6; background: #fff;
  cursor: pointer; transition: all .2s; font-size: .73rem; font-weight: 600; color: #0b1b2b;
}
.bank-btn:hover { border-color: #1d4ea8; background: #f0f5ff; }
.bank-btn.selected { background: #e8f0ff; border-color: #1d4ea8; box-shadow: 0 0 0 3px rgba(29,78,168,.15); }
.bank-logo {
  width: 32px; height: 32px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 900; color: #fff; flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

/* PROCESSING */
.spinner {
  width: 54px; height: 54px; border-radius: 50%;
  border: 4px solid #e0e8f4; border-top-color: #1d4ea8;
  animation: spin .75s linear infinite; margin: 0 auto;
}
.stage-item { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: #0e8a3a; margin-bottom: .32rem; animation: fadeIn .35s; }

/* APPROVED */
.approved-card { border-top: 4px solid #0e8a3a; }
.warn-box {
  background: linear-gradient(135deg,#fffbe6,#fff8d0);
  border: 1.5px solid #f4b400; border-radius: 10px; padding: .85rem; text-align: left;
  box-shadow: 0 2px 10px rgba(244,180,0,.15);
}

/* VSL */
.user-bar {
  background: #fff; border-left: 4px solid #0e8a3a;
  border-radius: 8px; box-shadow: 0 2px 14px rgba(0,0,0,.07);
  padding: .7rem .8rem; display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
}
.user-bar-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; flex: 1; }
.ub-label { font-size: .58rem; text-transform: uppercase; color: #6b7785; font-weight: 800; }
.ub-val   { font-size: .8rem; font-weight: 800; color: #0b1b2b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ub-green { color: #0e8a3a !important; }
.video-wrapper { background: #fff; border-radius: 10px; border: 1.5px solid #1d4ea8; overflow: hidden; box-shadow: 0 6px 24px rgba(29,78,168,.12); }
.video-topbar { display: flex; align-items: center; justify-content: space-between; padding: .42rem .75rem; border-bottom: 1px solid #eee; font-size: .7rem; }
.viewers { color: #3a4756; font-weight: 700; }
.video-body { background: #000; padding: 4px; min-height: 200px; display:flex; align-items:center; justify-content:center; }

/* COMMENTS */
.comment-item {
  background: #fff; border-radius: 10px; border: 1px solid #e8e8e8;
  padding: .78rem; display: flex; gap: .75rem; margin-bottom: .5rem;
  box-shadow: 0 1px 8px rgba(0,0,0,.04);
}
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.c-name { font-weight: 800; font-size: .75rem; color: #0b1b2b; }
.c-text { font-size: .73rem; color: #3a4756; margin-top: .18rem; line-height: 1.42; }
.c-meta { display: flex; align-items: center; gap: .6rem; margin-top: .38rem; font-size: .63rem; color: #6b7785; }
.like-btn { background: none; border: none; cursor: pointer; color: #6b7785; font-size: .63rem; transition: color .15s; }
.like-btn:hover { color: #1d4ea8; }

/* FOOTER */
footer { background: linear-gradient(135deg,#0b2a5e,#0d1e47); color: #fff; margin-top: 2.5rem; padding: 1.5rem 1rem; }
.footer-grid { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 1.2rem; font-size: .74rem; }
.footer-title { font-weight: 800; font-size: .84rem; margin-bottom: .35rem; color: #f4b400; }
.footer-text { color: rgba(255,255,255,.68); line-height: 1.52; }
.footer-bottom { text-align: center; margin-top: 1.2rem; font-size: .63rem; color: rgba(255,255,255,.35); padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); }

/* UTILS */
.container      { max-width: 520px; margin: 0 auto; padding: 1rem; }
.container-wide { max-width: 760px; margin: 0 auto; padding: 1rem; }
.mt-1{margin-top:.25rem} .mt-2{margin-top:.5rem} .mt-3{margin-top:.75rem}
.mt-4{margin-top:1rem}   .mt-5{margin-top:1.25rem} .mt-6{margin-top:1.5rem}
.mb-1{margin-bottom:.25rem} .mb-2{margin-bottom:.5rem} .mb-3{margin-bottom:.75rem}
.text-center{text-align:center}
.text-xs{font-size:.7rem} .text-sm{font-size:.84rem} .text-base{font-size:1rem}
.text-xl{font-size:1.2rem} .text-2xl{font-size:1.5rem} .text-3xl{font-size:1.875rem}
.font-bold{font-weight:700} .font-extrabold{font-weight:800} .font-black{font-weight:900}
.text-green{color:#0e8a3a} .text-blue{color:#1d4ea8} .text-red{color:#e30613}
.text-gold{color:#f4b400} .text-muted{color:#6b7785} .text-dark{color:#0b1b2b}
.text-secondary{color:#3a4756}
.flex{display:flex} .items-center{align-items:center} .justify-between{justify-content:space-between}
.gap-2{gap:.5rem} .gap-3{gap:.75rem} .w-full{width:100%} .hidden{display:none}
.section-title{font-size:.74rem;font-weight:800;color:#0b1b2b;margin-bottom:.5rem}
.secure-note{font-size:.63rem;color:#6b7785;text-align:center;margin-top:.42rem}
.trust-row{display:flex;align-items:center;justify-content:center;gap:.75rem;flex-wrap:wrap;margin-top:.75rem}
.trust-badge{background:#f0f5ff;border:1px solid #d6e4f5;border-radius:6px;padding:.28rem .6rem;font-size:.63rem;color:#1d4ea8;font-weight:800}

@media(max-width:480px){
  .logo-text{font-size:.78rem} .jackpot-badge .j-amount{font-size:.82rem}
  .ball{width:44px;height:44px;font-size:.92rem} .topbar-brand{display:none}
}
