/* AlphaBay LTU — Cyber UI button suite (from expanded cyber UI kit) */
:root {
  --cyber-dark: #07090e;
  --cyber-card: #0f141d;
  --cyber-border: #1f293d;
  --cyber-orange: #ff6b00;
  --cyber-amber: #ff9d00;
  --cyber-gold: #ffd700;
  --cyber-cyan: #00f0ff;
  --cyber-emerald: #10b981;
  --cyber-muted: #64748b;
}

.btn-interactive {
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s, border-color 0.22s, filter 0.22s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.btn-interactive:hover:not(:disabled) { transform: translateY(-2px); }
.btn-interactive:active:not(:disabled) { transform: translateY(1px) scale(0.98); }

.tech-cutout-lg {
  clip-path: polygon(
    0 10px, 10px 0, calc(100% - 10px) 0, 100% 10px,
    100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px)
  );
}
.tech-cutout-sm {
  clip-path: polygon(
    0 6px, 6px 0, calc(100% - 6px) 0, 100% 6px,
    100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px)
  );
}

@keyframes cyberPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(16, 185, 129, 0.35), inset 0 0 10px rgba(16, 185, 129, 0.12); }
  50% { box-shadow: 0 0 28px rgba(16, 185, 129, 0.7), inset 0 0 16px rgba(16, 185, 129, 0.28); }
}
@keyframes beaconWave {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes keyBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-8deg); }
}
@keyframes cyberSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* —— Main play: Atidaryti seifą —— */
.cyber-btn-play {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(52, 211, 153, 0.85);
  border-radius: 14px;
  background: linear-gradient(105deg, #059669 0%, #10b981 45%, #0d9488 100%);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  animation: cyberPulse 2.2s infinite ease-in-out;
}
.cyber-btn-play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}
.cyber-btn-play:hover::before { animation: cyberSweep 0.9s ease; }
.cyber-btn-play-left { display: flex; align-items: center; gap: 12px; z-index: 1; text-align: left; }
.cyber-btn-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 18px;
  flex-shrink: 0;
}
.cyber-btn-title { display: block; font-size: 15px; line-height: 1.15; }
.cyber-btn-sub { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; opacity: 0.85; text-transform: none; letter-spacing: 0; }
.cyber-btn-badge {
  z-index: 1;
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(167, 243, 208, 0.45);
  color: #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cyber-btn-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: cyberPulse 1.4s infinite ease-in-out;
}

/* —— Referral —— */
.cyber-btn-ref {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 107, 0, 0.75);
  background: linear-gradient(105deg, #0f141d 0%, #1a2233 50%, #0f141d 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.2);
}
.cyber-btn-ref::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.12), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}
.cyber-btn-ref:hover::after { animation: cyberSweep 1s ease; }
.cyber-btn-ref .cyber-btn-ico {
  background: rgba(255, 107, 0, 0.18);
  border-color: rgba(255, 107, 0, 0.5);
  color: var(--cyber-orange);
}
.cyber-btn-ref .cyber-btn-title { color: #fff; font-size: 13px; }
.cyber-btn-ref .cyber-btn-sub { color: var(--cyber-muted); }
.cyber-ref-tag {
  z-index: 1;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #111;
  background: linear-gradient(90deg, var(--cyber-orange), var(--cyber-amber));
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: keyBounce 2s ease-in-out infinite;
  white-space: nowrap;
}

/* —— News channel CTA —— */
.cyber-btn-broadcast {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 0, 0.55);
  background: linear-gradient(105deg, rgba(255, 107, 0, 0.18), rgba(255, 107, 0, 0.05));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-sizing: border-box;
}
.cyber-btn-broadcast:hover {
  border-color: var(--cyber-orange);
  color: var(--cyber-amber);
}
.cyber-beacon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid rgba(255, 107, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.cyber-beacon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid var(--cyber-orange);
  animation: beaconWave 1.8s infinite cubic-bezier(0, 0.2, 0.8, 1);
  pointer-events: none;
}

/* —— Daily claim —— */
.cyber-btn-daily {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: linear-gradient(105deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.06));
  color: #fde68a;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.cyber-btn-daily .cyber-btn-ico {
  width: 32px;
  height: 32px;
  font-size: 14px;
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.45);
}
.cyber-btn-daily .pill {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.28);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  white-space: nowrap;
}
.cyber-btn-daily.is-claimed,
.cyber-btn-daily:disabled {
  opacity: 0.78;
  cursor: not-allowed;
  border-color: var(--cyber-border);
  background: rgba(7, 9, 14, 0.85);
  color: var(--cyber-muted);
  transform: none !important;
  box-shadow: none;
}
.cyber-btn-daily.is-claimed .pill,
.cyber-btn-daily:disabled .pill {
  background: rgba(100, 116, 139, 0.25);
  border-color: rgba(100, 116, 139, 0.35);
  color: #94a3b8;
}
.cyber-btn-daily.is-claimed .cyber-daily-progress,
.cyber-cooldown .cyber-daily-progress {
  display: block;
}
.cyber-daily-progress {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 28%;
  background: rgba(255, 107, 0, 0.08);
  pointer-events: none;
}
.cyber-cooldown {
  position: relative;
  overflow: hidden;
}

/* —— Filter chips —— */
.filter-tab,
.emoji-cat-btn,
.catalog-dist-head {
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.filter-tab.btn-interactive:active,
.emoji-cat-btn.btn-interactive:active,
.catalog-dist-head.btn-interactive:active {
  transform: scale(0.97);
}
.filter-tab.active {
  background: linear-gradient(180deg, #ff8a2b 0%, #ff6b00 100%) !important;
  border-color: var(--cyber-orange) !important;
  color: #111 !important;
  box-shadow: 0 0 0 1px rgba(255, 157, 0, 0.35), 0 0 14px rgba(255, 107, 0, 0.35) !important;
}
.catalog-dist-head {
  border-color: rgba(31, 41, 61, 0.95);
}
.catalog-dist-head:hover {
  border-color: rgba(255, 107, 0, 0.55);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.15);
}

/* —— Cyber toast —— */
.cyber-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 28px);
  z-index: 12000;
  min-width: min(320px, calc(100vw - 28px));
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--cyber-card);
  border: 1px solid var(--cyber-orange);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 107, 0, 0.2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s;
}
.cyber-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.cyber-toast-ico { font-size: 18px; line-height: 1; margin-top: 1px; }
.cyber-toast-title {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyber-orange);
}
.cyber-toast-msg {
  margin: 3px 0 0;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.35;
}

#cyberParticleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 11900;
}

/* Contests actions spacing with cyber buttons */
.contests-actions {
  gap: 12px;
}
.contests-actions .mystery-open-btn.cyber-btn-play,
.contests-actions .cyber-btn-broadcast {
  margin: 0;
}
.mystery-keys-row {
  flex-wrap: wrap;
}
.mystery-keys-row .cyber-btn-daily {
  flex: 1 1 160px;
}
.mystery-ref-btn.cyber-btn-ref {
  margin-top: 4px;
}
