/* AnomicFlip — VIP popup (your progress, rakeback, daily bonus) */
.vm-overlay, .vm-overlay * { box-sizing: border-box; }
.vm-overlay {
  position: fixed; inset: 0; z-index: 1000; padding: 16px;
  display: none; align-items: center; justify-content: center;
  background: rgba(8, 10, 12, .7); backdrop-filter: blur(3px);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #fff;
}
.vm-overlay.open { display: flex; animation: vm-in .18s ease-out; }
@keyframes vm-in { from { opacity: 0; } to { opacity: 1; } }

.vm {
  position: relative; width: 100%; max-width: 720px; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 34px 32px 30px; background: #1e2125; border: 1px solid #2e3238; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.vm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.vm-head svg { color: #3fd68f; }
.vm-head h2 { margin: 0; font-size: 30px; font-weight: 800; }
.vm-close { position: absolute; top: 26px; right: 26px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: none; color: #a7abb2; cursor: pointer; display: grid; place-items: center; }
.vm-close:hover { background: #2a2d33; color: #fff; }

.vm-prog { padding: 28px; border-radius: 12px; background: #17191c; border: 1px solid rgba(63,214,143,.55); display: grid; gap: 14px; }
.vm-prog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vm-prog-top b { font-size: 22px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-prog-top svg { flex: none; color: #3fd68f; }
.vm-prog-mid { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.vm-pct { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vm-rank { font-size: 19px; color: var(--rc, #a7abb2); }
.vm-bar { height: 12px; border-radius: 99px; background: #2c3036; overflow: hidden; }
.vm-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #3fd68f; transition: width .6s ease; }
.vm-next { font-size: 18px; color: #9a9ea6; }
.vm-next b { color: var(--nc, #fff); font-weight: 700; }

.vm-list { display: grid; gap: 18px; margin-top: 22px; }
.vm-row { display: flex; align-items: center; gap: 22px; padding: 22px; border-radius: 12px; background: #2a2d33; }
.vm-hex {
  flex: none; width: 82px; height: 92px; display: grid; place-items: center; background: #1a1d20; color: #3fd68f;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.vm-hex svg { width: 32px; height: 32px; }
.vm-row-t { flex: 1; min-width: 0; }
.vm-row-t b { display: block; font-size: 22px; font-weight: 800; }
.vm-row-t > span { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 18px; color: #9a9ea6; font-variant-numeric: tabular-nums; }
.vm-coin { flex: none; width: 17px; height: 22px; background: url('/coin.png') center / contain no-repeat; }
.vm-claim {
  flex: none; min-width: 120px; height: 62px; padding: 0 24px; border: 0; border-radius: 10px;
  background: #3fbf7f; color: #fff; font: 800 19px 'Archivo', system-ui, sans-serif; cursor: pointer; transition: background .15s, opacity .15s;
}
.vm-claim:hover:not(:disabled) { background: #46cc8a; }
.vm-claim:disabled { background: #2f6b4d; color: rgba(255,255,255,.45); cursor: not-allowed; }
.vm-lock { flex: none; width: 56px; display: grid; place-items: center; color: #8b8f97; }
.vm-soon { flex: none; padding: 10px 14px; border-radius: 8px; background: #33373e; color: #c9ccd1; font-size: 15px; font-weight: 700; }
.vm-msg { margin-top: 14px; font-size: 15px; color: #ff8b97; text-align: center; }
.vm-msg:empty { display: none; }

.vm-view {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 70px; margin-top: 22px; border: 0; border-radius: 10px;
  background: #2a2d33; color: #fff; font: 800 19px 'Archivo', system-ui, sans-serif; cursor: pointer; text-decoration: none;
}
.vm-view:hover { background: #33373e; }
.vm-load { display: grid; place-items: center; min-height: 260px; }
.vm-load i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #3a3f46; border-right-color: transparent; animation: vm-r .8s linear infinite; }
@keyframes vm-r { to { transform: rotate(360deg); } }

.vm .r-bronze { --rc: #d9883f; } .vm .r-silver { --rc: #c9ccd1; } .vm .r-gold { --rc: #f5c84a; }
.vm .r-platinum { --rc: #6fd3e0; } .vm .r-diamond { --rc: #5b8cff; }
.vm .n-bronze { --nc: #d9883f; } .vm .n-silver { --nc: #c9ccd1; } .vm .n-gold { --nc: #f5c84a; }
.vm .n-platinum { --nc: #6fd3e0; } .vm .n-diamond { --nc: #5b8cff; }

.vm-close:focus-visible, .vm-claim:focus-visible, .vm-view:focus-visible { outline: 2px solid #3fd68f; outline-offset: 2px; }

@media (max-width: 600px) {
  .vm { padding: 26px 18px 22px; }
  .vm-row { gap: 14px; padding: 16px; }
  .vm-hex { width: 58px; height: 66px; }
  .vm-hex svg { width: 24px; height: 24px; }
  .vm-row-t b { font-size: 19px; }
  .vm-claim { min-width: 0; height: 52px; padding: 0 16px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .vm-overlay.open { animation: none; } .vm-bar i { transition: none; } }
