/* ═══════════════════════════════════════
   LUCIDE ICONS ANIMATION
═══════════════════════════════════════ */
.lucide-spin {
  animation: lucide-spin 1s linear infinite;
}

@keyframes lucide-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Global lucide icon sizing */
svg.lucide,
i[data-lucide] {
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

/* ═══════════════════════════════════════
   NOTIFY SYSTEM
═══════════════════════════════════════ */
.notify-container {
  position: fixed;
  top: calc(var(--nav, 52px) + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 320px;
  width: 100%;
  align-items: center;
}

.notify {
  pointer-events: auto;
  padding: 12px 16px;
  border-radius: var(--r);
  background: rgba(17,17,22,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--t1);
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  animation: notifyIn .3s ease forwards;
  position: relative; overflow: hidden;
}

/* Left colored accent bar */
.notify::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; border-radius: 0;
}

.notify.win::before   { background: var(--accent) }
.notify.lose::before  { background: var(--red) }
.notify.push::before  { background: var(--blue) }
.notify.info::before  { background: var(--gold) }

.notify .n-icon { font-size: 18px; flex-shrink: 0 }
.notify.win  .n-icon { color: var(--accent) }
.notify.lose .n-icon { color: var(--red) }
.notify.push .n-icon { color: var(--blue) }
.notify.info .n-icon { color: var(--gold) }

.notify .n-body { flex: 1; line-height: 1.4 }
.notify .n-title { font-size: 13px; font-weight: 700 }
.notify .n-amt   { font-size: 15px; font-weight: 800; margin-top: 2px }

.notify.out { animation: notifyOut .3s ease forwards }

@keyframes notifyIn  { from { opacity: 0; transform: translateY(-16px) scale(.95) } to { opacity: 1; transform: none } }
@keyframes notifyOut { from { opacity: 1 } to { opacity: 0; transform: translateY(-12px) scale(.9) } }

/* ═══════════════════════════════════════
   CRASH HISTORY (in-game)
═══════════════════════════════════════ */
.crash-hist { display:flex; gap:5px; flex-wrap:nowrap; overflow-x:auto; padding:8px 0; min-height:28px; justify-content:flex-start; border-bottom:1px solid var(--border2); scrollbar-width:none }
.crash-hist-desk { position:absolute; bottom:0; left:0; right:0; height:44px !important; padding:0 20px !important; background:rgba(0,0,0,0.45); backdrop-filter:blur(4px); border-top:1px solid rgba(255,255,255,0.07); border-bottom:none; z-index:3; justify-content:center !important; align-items:center !important; min-height:unset !important }
.crash-hist-mob { display:none }
@media(max-width:768px){ .crash-hist-desk { display:none } .crash-hist-mob { display:flex } }
.crash-hist-item { display:flex; align-items:center; justify-content:center; align-self:center; height:24px; padding:0 9px; border-radius:5px; font-size:11px; font-weight:700; color:#fff; line-height:1; flex-shrink:0 }
.chi-red    { background: rgba(180,30,50,.75) }
.chi-grn    { background: rgba(39,174,96,.75) }
.chi-gold   { background: rgba(240,180,41,.75) }
.chi-purple { background: rgba(127,90,172,.75) }

/* ═══════════════════════════════════════
   HiLo card transitions
═══════════════════════════════════════ */
#hCuWrap { position: relative }
#hCuWrap .card3d.card-exit { transition: transform .25s ease, opacity .2s ease; transform: scale(.8) translateY(-20px); opacity: 0; pointer-events: none }
#hCuWrap .card3d.card-enter { animation: hiloIn .4s ease forwards }
@keyframes hiloIn { 0% { opacity:0; transform:translateY(30px) scale(.85) } 100% { opacity:1; transform:none } }

#crashS { display: flex; justify-content: center; flex-direction: column; align-items: center }

/* ═══════════════════════════════════════
   BAN SCREEN
═══════════════════════════════════════ */
.ban-screen {
  position: fixed; inset: 0; z-index: 99999;
  background: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  animation: banFadeIn .4s ease both;
}

@keyframes banFadeIn { from { opacity: 0 } to { opacity: 1 } }

.ban-particles { position: absolute; inset: 0; pointer-events: none }
.ban-glow, .ban-glow-l, .ban-glow-r, .ban-glow-c { display: none }

.ban-scanline {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231,76,60,.3), transparent);
  animation: banScan 5s linear infinite;
  pointer-events: none;
}

@keyframes banScan { from { top: -1px; opacity: 1 } to { top: 100%; opacity: 0 } }

.ban-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 40px 24px;
  max-width: 460px; width: 100%;
  animation: banSlideUp .5s ease .1s both;
}

@keyframes banSlideUp { from { opacity: 0; transform: translateY(24px) } to { opacity: 1; transform: none } }

.ban-icon-wrap { position: relative; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px }

.ban-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(231,76,60,.15); animation: banRingPulse 2.5s ease-out infinite }
.ban-ring-1 { inset: -12px; animation-delay: 0s }
.ban-ring-2 { inset: -24px; animation-delay: .7s; border-color: rgba(231,76,60,.07) }
.ban-ring-3 { inset: -38px; animation-delay: 1.4s; border-color: rgba(231,76,60,.04) }

@keyframes banRingPulse { 0% { opacity: 0; transform: scale(.85) } 30% { opacity: 1 } 100% { opacity: 0; transform: scale(1.1) } }

.ban-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(231,76,60,.08);
  border: 1px solid rgba(231,76,60,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--red);
}

.ban-icon i { color: var(--red) !important }

.ban-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--red);
  background: rgba(231,76,60,.08);
  border: 1px solid rgba(231,76,60,.2);
  border-radius: 20px; padding: 4px 14px; margin-bottom: 12px;
}

.ban-title { font-size: 28px; font-weight: 800; color: var(--t1); margin-bottom: 8px; letter-spacing: -.3px; line-height: 1.15 }
.ban-sub   { font-size: 13px; color: var(--t2); line-height: 1.7; margin-bottom: 24px; max-width: 360px }

.ban-card {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 4px 0; margin-bottom: 24px;
}

.ban-card-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; gap: 12px }
.ban-card-label { font-size: 11px; color: var(--t3); font-weight: 600; display: flex; align-items: center; gap: 6px; flex-shrink: 0; text-transform: uppercase; letter-spacing: .5px }
.ban-card-label i { color: var(--t3) !important; font-size: 11px }
.ban-card-val { font-size: 13px; font-weight: 700; color: var(--t1); text-align: right; word-break: break-word }
.ban-reason { color: var(--red) !important }
.ban-divider { height: 1px; background: var(--border2); margin: 0 16px }

.ban-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px }

.ban-btn-support {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r);
  font-size: 13px; font-weight: 600;
  background: rgba(46,204,113,.08);
  border: 1px solid rgba(46,204,113,.2);
  color: var(--accent); cursor: pointer; transition: .15s;
}

.ban-btn-support:hover { background: rgba(46,204,113,.15); border-color: rgba(46,204,113,.4) }

.ban-btn-logout {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r);
  font-size: 13px; font-weight: 600;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--t2); cursor: pointer; transition: .15s; font-family: inherit;
}

.ban-btn-logout:hover { background: rgba(231,76,60,.1); border-color: rgba(231,76,60,.3); color: var(--red) }
.ban-footer { font-size: 11px; color: var(--t3); line-height: 1.6 }

@media (max-width: 480px) {
  .ban-title { font-size: 22px }
  .ban-inner { padding: 24px 14px }
  .ban-icon  { width: 64px; height: 64px; font-size: 28px }
  .ban-icon-wrap { width: 64px; height: 64px }
}

/* ═══════════════════════════════════════
   PROFILE MODAL
═══════════════════════════════════════ */
.prof-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.75);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}

.prof-overlay.ac { display: flex }

.prof-modal {
  position: relative;
  width: 420px; max-width: 100%; max-height: 90vh;
  overflow-y: auto;
  background: #111116;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.8), 0 0 0 1px rgba(0,212,255,0.06);
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  animation: profSlideIn .28s ease;
  padding-bottom: 16px;
}

.prof-modal::-webkit-scrollbar { width: 4px }
.prof-modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px }

@keyframes profSlideIn { from { opacity: 0; transform: translateY(20px) scale(.97) } to { opacity: 1; transform: none } }

.prof-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--t3); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; transition: .15s;
}

.prof-close:hover { background: rgba(231,76,60,.15); color: var(--red); border-color: rgba(231,76,60,.3) }

.prof-header {
  padding: 24px 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(160deg, #0d0d14, #111116);
}

.prof-av {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: #fff;
  border: 2px solid var(--border);
}

.prof-hinfo { flex: 1; min-width: 0 }
.prof-username { font-size: 18px; font-weight: 700; color: var(--t1); letter-spacing: -.3px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }

.prof-role-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  padding: 2px 8px; border-radius: 4px; margin-top: 5px;
}

.prof-role-badge.admin  { background: rgba(231,76,60,.12); color: var(--red); border: 1px solid rgba(231,76,60,.25) }
.prof-role-badge.mod    { background: rgba(52,152,219,.12); color: var(--blue); border: 1px solid rgba(52,152,219,.25) }
.prof-role-badge.player { background: var(--bg3); color: var(--t3); border: 1px solid var(--border) }

.prof-since { margin-top: 6px; font-size: 11px; color: var(--t3); display: flex; align-items: center; gap: 5px }

.prof-balance {
  margin: 14px 14px 0;
  padding: 12px 16px;
  border-radius: var(--r);
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  display: flex; align-items: center; justify-content: space-between;
}

.prof-bal-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: rgba(0,212,255,0.7); display: flex; align-items: center; gap: 6px }
.prof-bal-val   { font-size: 22px; font-weight: 900; color: var(--accent); letter-spacing: -.4px; line-height: 1; font-variant-numeric: tabular-nums }

.prof-stats {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 8px; padding: 12px 14px 0;
}

.prof-stat {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-top: 2px solid var(--psc, var(--border));
  border-radius: var(--rs); padding: 12px 10px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 4px;
}

.prof-stat-icon { font-size: 14px; line-height: 1; opacity: .7 }
.prof-stat-val  { font-size: 14px; font-weight: 800; color: var(--psc, var(--t1)); line-height: 1; font-variant-numeric: tabular-nums }
.prof-stat-lbl  { font-size: 9px; color: var(--t3); font-weight: 600; text-transform: uppercase; letter-spacing: .4px }

.prof-fav {
  margin: 8px 14px 0; padding: 10px 14px;
  border-radius: var(--rs);
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--t2);
}

.prof-fav i { font-size: 14px; flex-shrink: 0 }
.prof-fav-name { font-weight: 700; color: var(--t1) }

.prof-recent { margin: 8px 14px 0; border-radius: var(--rs); overflow: hidden; border: 1px solid var(--border) }

.prof-recent-hdr {
  padding: 8px 12px; background: var(--bg3);
  border-bottom: 1px solid var(--border);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--t3);
  display: grid; grid-template-columns: 1fr 72px 58px 82px; gap: 4px;
}

.prof-bet-row {
  display: grid; grid-template-columns: 1fr 72px 58px 82px;
  padding: 7px 12px; gap: 4px;
  font-size: 11px; color: var(--t2);
  border-bottom: 1px solid var(--border2);
  align-items: center;
}

.prof-bet-row:last-child { border-bottom: none }
.prof-bet-game { font-weight: 600; color: var(--t1) }
.prof-bet-amt  { color: var(--t3); text-align: right; font-variant-numeric: tabular-nums }
.prof-bet-mul  { text-align: right; font-weight: 600 }
.prof-bet-pnl  { text-align: right; font-weight: 700 }
.prof-bet-pnl.w { color: var(--accent) }
.prof-bet-pnl.l { color: var(--red) }

.prof-skeleton { opacity: .35; animation: profPulse 1.4s ease-in-out infinite }
@keyframes profPulse { 0%,100%{opacity:.35} 50%{opacity:.65} }

.prof-actions { padding: 14px; margin-top: 8px; border-top: 1px solid var(--border2) }

.prof-logout-btn {
  width: 100%; padding: 10px; border-radius: var(--rs);
  background: rgba(231,76,60,.06); border: 1px solid rgba(231,76,60,.14);
  color: rgba(231,76,60,.75); font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: .15s;
}

.prof-logout-btn:hover { background: rgba(231,76,60,.14); border-color: rgba(231,76,60,.3); color: var(--red) }

/* ═══════════════════════════════════════
   PREMIUM SELECT STYLES
═══════════════════════════════════════ */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: linear-gradient(135deg, rgba(0,234,255,0.08) 0%, rgba(168,85,247,0.08) 100%);
  border: 2px solid rgba(0,234,255,0.3);
  border-radius: 12px;
  color: var(--t1);
  padding: 12px 40px 12px 16px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all .3s var(--ease);
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(0,234,255,0.08) 0%, rgba(168,85,247,0.08) 100%),
    url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2300eaff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 12px center;
  background-size: 100% 100%, 14px;
  outline: none;
  box-shadow:
    0 4px 12px rgba(0,234,255,0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

select:hover {
  background: linear-gradient(135deg, rgba(0,234,255,0.15) 0%, rgba(168,85,247,0.15) 100%);
  border-color: rgba(0,234,255,0.5);
  box-shadow:
    0 0 0 4px rgba(0,234,255,0.1),
    0 6px 20px rgba(0,234,255,0.25),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

select:focus {
  background: linear-gradient(135deg, rgba(0,234,255,0.2) 0%, rgba(168,85,247,0.2) 100%);
  border-color: rgba(0,234,255,0.8);
  box-shadow:
    0 0 0 5px rgba(0,234,255,0.2),
    0 8px 24px rgba(0,234,255,0.35),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

select:active {
  transform: translateY(0) scale(0.98);
}

/* Select option styling */
select option {
  background: var(--bg2);
  color: var(--t1);
  padding: 12px;
  font-weight: 600;
}

/* Game control selects - cyan accent */
#dMode, #pRisk, #pRows, #mCnt, #wCol {
  background: linear-gradient(135deg, rgba(0,234,255,0.12) 0%, rgba(0,200,220,0.12) 100%);
  border-color: rgba(0,234,255,0.4);
  box-shadow:
    0 4px 12px rgba(0,234,255,0.2),
    inset 0 1px 0 rgba(0,234,255,0.2);
}

#dMode:hover, #pRisk:hover, #pRows:hover, #mCnt:hover, #wCol:hover {
  background: linear-gradient(135deg, rgba(0,234,255,0.2) 0%, rgba(0,200,220,0.2) 100%);
  border-color: rgba(0,234,255,0.6);
  box-shadow:
    0 0 0 4px rgba(0,234,255,0.15),
    0 6px 20px rgba(0,234,255,0.3),
    inset 0 1px 0 rgba(0,234,255,0.3);
}

#dMode:focus, #pRisk:focus, #pRows:focus, #mCnt:focus, #wCol:focus {
  border-color: rgba(0,234,255,0.9);
  box-shadow:
    0 0 0 5px rgba(0,234,255,0.25),
    0 8px 28px rgba(0,234,255,0.4),
    inset 0 1px 0 rgba(0,234,255,0.4);
}

/* Admin panel selects - purple accent */
#userStatus, #betGame, #betStatus, #txType, #logAction, #wdSt, #depSt, #depProv {
  background: linear-gradient(135deg, rgba(168,85,247,0.12) 0%, rgba(140,70,220,0.12) 100%);
  border-color: rgba(168,85,247,0.4);
  box-shadow:
    0 4px 12px rgba(168,85,247,0.2),
    inset 0 1px 0 rgba(168,85,247,0.2);
  background-image:
    linear-gradient(135deg, rgba(168,85,247,0.12) 0%, rgba(140,70,220,0.12) 100%),
    url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23a855f7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 12px center;
  background-size: 100% 100%, 14px;
}

#userStatus:hover, #betGame:hover, #betStatus:hover, #txType:hover, #logAction:hover, #wdSt:hover, #depSt:hover, #depProv:hover {
  background: linear-gradient(135deg, rgba(168,85,247,0.2) 0%, rgba(140,70,220,0.2) 100%);
  border-color: rgba(168,85,247,0.6);
  box-shadow:
    0 0 0 4px rgba(168,85,247,0.15),
    0 6px 20px rgba(168,85,247,0.3),
    inset 0 1px 0 rgba(168,85,247,0.3);
}

#userStatus:focus, #betGame:focus, #betStatus:focus, #txType:focus, #logAction:focus, #wdSt:focus, #depSt:focus, #depProv:focus {
  border-color: rgba(168,85,247,0.9);
  box-shadow:
    0 0 0 5px rgba(168,85,247,0.25),
    0 8px 28px rgba(168,85,247,0.4),
    inset 0 1px 0 rgba(168,85,247,0.4);
}

/* Modal selects - gold accent */
#banReasonPreset, #promoType, #newAdminRole {
  background: linear-gradient(135deg, rgba(245,158,11,0.12) 0%, rgba(220,140,10,0.12) 100%);
  border-color: rgba(245,158,11,0.4);
  box-shadow:
    0 4px 12px rgba(245,158,11,0.2),
    inset 0 1px 0 rgba(245,158,11,0.2);
  background-image:
    linear-gradient(135deg, rgba(245,158,11,0.12) 0%, rgba(220,140,10,0.12) 100%),
    url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23f59e0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 12px center;
  background-size: 100% 100%, 14px;
}

#banReasonPreset:hover, #promoType:hover, #newAdminRole:hover {
  background: linear-gradient(135deg, rgba(245,158,11,0.2) 0%, rgba(220,140,10,0.2) 100%);
  border-color: rgba(245,158,11,0.6);
  box-shadow:
    0 0 0 4px rgba(245,158,11,0.15),
    0 6px 20px rgba(245,158,11,0.3),
    inset 0 1px 0 rgba(245,158,11,0.3);
}

#banReasonPreset:focus, #promoType:focus, #newAdminRole:focus {
  border-color: rgba(245,158,11,0.9);
  box-shadow:
    0 0 0 5px rgba(245,158,11,0.25),
    0 8px 28px rgba(245,158,11,0.4),
    inset 0 1px 0 rgba(245,158,11,0.4);
}

/* Finance SBP select - green accent */
.fin-sbp-select, #wdSbpBank {
  background: linear-gradient(135deg, rgba(34,211,160,0.12) 0%, rgba(30,190,140,0.12) 100%);
  border-color: rgba(34,211,160,0.4);
  box-shadow:
    0 4px 12px rgba(34,211,160,0.2),
    inset 0 1px 0 rgba(34,211,160,0.2);
  background-image:
    linear-gradient(135deg, rgba(34,211,160,0.12) 0%, rgba(30,190,140,0.12) 100%),
    url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2322d3a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 12px center;
  background-size: 100% 100%, 14px;
}

.fin-sbp-select:hover, #wdSbpBank:hover {
  background: linear-gradient(135deg, rgba(34,211,160,0.2) 0%, rgba(30,190,140,0.2) 100%);
  border-color: rgba(34,211,160,0.6);
  box-shadow:
    0 0 0 4px rgba(34,211,160,0.15),
    0 6px 20px rgba(34,211,160,0.3),
    inset 0 1px 0 rgba(34,211,160,0.3);
}

.fin-sbp-select:focus, #wdSbpBank:focus {
  border-color: rgba(34,211,160,0.9);
  box-shadow:
    0 0 0 5px rgba(34,211,160,0.25),
    0 8px 28px rgba(34,211,160,0.4),
    inset 0 1px 0 rgba(34,211,160,0.4);
}

/* Disabled state */
select:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

/* Mobile optimization */
@media (max-width: 768px) {
  select {
    padding: 11px 36px 11px 14px;
    font-size: 13px;
  }
}

/* ═══════════════════════════════════════
   DEPOSIT INVOICE
═══════════════════════════════════════ */
.dep-invoice-screen {
  display: flex; flex-direction: column; align-items: center;
  gap: 0; padding: 4px 0;
  animation: depInvIn .3s ease forwards;
}

@keyframes depInvIn { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }

.dep-inv-provider { display: flex; align-items: center; gap: 10px; margin-bottom: 16px }
.dep-inv-logo { width: 34px; height: 34px; border-radius: 8px; object-fit: cover }
.dep-inv-pname { font-size: 11px; font-weight: 700; color: var(--t2); text-transform: uppercase; letter-spacing: 1px }

.dep-inv-card {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px 16px;
  margin-bottom: 14px;
  position: relative; overflow: hidden;
}

.dep-inv-card-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); opacity: .7; margin-bottom: 6px }

.dep-inv-amount {
  font-size: 40px; font-weight: 800; color: var(--t1);
  letter-spacing: -1.5px; line-height: 1; margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.dep-crypto-line {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--t2);
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 10px; margin-bottom: 2px;
}

.dep-inv-divider { width: 100%; height: 1px; background: var(--border2); margin: 12px 0 10px }

.dep-inv-status { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--t1) }

.dep-inv-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  animation: dotPulse 1.4s ease-in-out infinite;
}

.dep-inv-dot.paid { background: var(--accent); animation: none }

@keyframes dotPulse {
  0%,100% { opacity: 1; transform: scale(1) }
  50%     { opacity: .5; transform: scale(.75) }
}

.dep-pay-btn {
  display: flex !important; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 22px; border-radius: var(--r);
  font-size: 14px; font-weight: 800; color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #00d4ff, #7b00e0);
  border: none; cursor: pointer; margin-bottom: 10px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}

.dep-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,212,255,0.45);
}

.dep-inv-note {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 11px; color: var(--t3);
  text-align: left; line-height: 1.55; margin-bottom: 12px; padding: 0 2px;
}

.dep-inv-note i { flex-shrink: 0; margin-top: 1px; color: rgba(46,204,113,.45); font-size: 11px }

.fin-cancel-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 10px 18px; border-radius: var(--rs);
  font-size: 12px; font-weight: 600; color: var(--t2);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; font-family: inherit; transition: all .18s;
}

.fin-cancel-btn:hover { background: rgba(255,255,255,0.08); color: var(--t1); border-color: rgba(255,255,255,0.14) }
.dep-inv-status.success { color: var(--accent); font-size: 13px; font-weight: 700 }

/* ═══════════════════════════════════════
   TERMS OF SERVICE PAGE
═══════════════════════════════════════ */
.terms-content {
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px;
  background: rgba(15,15,20,0.6);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.terms-intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--t2);
  margin-bottom: 32px;
  padding: 20px;
  background: rgba(0,212,255,0.05);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}

.terms-h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--t1);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, #00f0ff, #b060ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.terms-h2:first-of-type {
  margin-top: 0;
}

.terms-p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--t2);
  margin-bottom: 16px;
}

.terms-list {
  margin: 16px 0 24px 0;
  padding-left: 24px;
}

.terms-list li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--t2);
  margin-bottom: 10px;
  position: relative;
}

.terms-list li::marker {
  color: var(--accent);
}

.terms-footer {
  margin-top: 48px;
  padding: 24px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--t1);
  text-align: center;
  font-weight: 600;
}

@media (max-width: 768px) {
  .terms-content {
    padding: 24px 16px;
  }

  .terms-h2 {
    font-size: 18px;
  }

  .terms-p, .terms-list li {
    font-size: 13px;
  }

  .terms-intro {
    font-size: 14px;
    padding: 16px;
  }
}

/* Terms Warning Block */
.terms-warning {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,59,48,0.15), rgba(255,149,0,0.15));
  border: 2px solid rgba(255,59,48,0.4);
  border-radius: 12px;
  display: flex;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(255,59,48,0.2);
  position: relative;
  overflow: hidden;
}

.terms-warning::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff3b30, #ff9500, #ff3b30);
  animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.terms-warning-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255,59,48,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,59,48,0.3);
}

.terms-warning-icon i {
  width: 28px;
  height: 28px;
  color: #ff3b30;
}

.terms-warning-content {
  flex: 1;
}

.terms-warning-title {
  font-size: 16px;
  font-weight: 900;
  color: #ff3b30;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.terms-warning-content p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}

.terms-warning-content p:last-child {
  margin-bottom: 0;
}

.terms-warning-content strong {
  color: #ff9500;
  font-weight: 700;
}

@media (max-width: 768px) {
  .terms-warning {
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
  }

  .terms-warning-icon {
    width: 40px;
    height: 40px;
  }

  .terms-warning-icon i {
    width: 24px;
    height: 24px;
  }

  .terms-warning-title {
    font-size: 14px;
  }

  .terms-warning-content p {
    font-size: 12px;
  }
}
