/* =========================================================
   RDZK NOTIFIER • FUTURISTIC CYBERPUNK STYLESHEET
   Violet / Electric Cyan / Space Blue Palette with Rich FX
   ========================================================= */

:root {
  --bg-deep: #05070e;
  --bg-surface: #0a0d17;
  --bg-card: rgba(14, 18, 32, 0.88);
  --bg-card-hover: rgba(20, 26, 48, 0.96);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.35);

  /* RDZK Signature Futuristic Colors */
  --rdzk-cyan: #00f2fe;
  --rdzk-cyan-glow: rgba(0, 242, 254, 0.35);
  --rdzk-violet: #8b5cf6;
  --rdzk-violet-glow: rgba(139, 92, 246, 0.4);
  --rdzk-purple: #a855f7;
  --rdzk-pink: #ec4899;
  --rdzk-gold: #facc15;
  --rdzk-green: #10b981;

  --text-white: #f8fafc;
  --text-muted: #64748b;
  --text-gray: #94a3b8;

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Floating Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}
.glow-violet {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 70%);
  top: -100px;
  left: 20%;
  animation: floatOrb 18s ease-in-out infinite alternate;
}
.glow-cyan {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, transparent 70%);
  bottom: 50px;
  right: 5%;
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 80px) scale(1.15); }
}
@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-80px, -50px) scale(0.9); }
}

/* Utilities */
.hidden { display: none !important; }
.text-cyan { color: var(--rdzk-cyan); }
.text-purple { color: var(--rdzk-purple); }
.text-pink { color: var(--rdzk-pink); }
.text-gold { color: var(--rdzk-gold); }
.text-green { color: var(--rdzk-green); }
.text-muted { color: var(--text-muted); }
.text-xs { font-size: 0.75rem; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }

.gradient-text-cyan {
  background: linear-gradient(135deg, #fff 20%, var(--rdzk-cyan) 80%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================== */
/* 1. TOP HEADER NAVIGATION                                       */
/* ============================================================== */
.rdzk-header {
  height: 72px;
  background: rgba(8, 11, 20, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
}

.rdzk-header-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.rdzk-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.rdzk-brand-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090d1a;
  border: 2px solid rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.45), 0 0 25px rgba(139, 92, 246, 0.25);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.rdzk-brand:hover .rdzk-brand-logo-wrap {
  transform: scale(1.1) rotate(5deg);
  border-color: #c084fc;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.8), 0 0 35px rgba(0, 242, 254, 0.4);
}

.rdzk-cyber-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rdzk-brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
}

.brand-badge {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--rdzk-cyan);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 1px;
}

.rdzk-discord-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a5b4fc;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.2);
  transition: all 0.2s;
}

.rdzk-discord-btn:hover {
  background: rgba(88, 101, 242, 0.2);
  color: #fff;
}

/* Nav Tabs */
.rdzk-nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rdzk-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-gray);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  position: relative;
}

.rdzk-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.rdzk-tab-btn.active {
  color: #fff;
}

.rdzk-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: linear-gradient(90deg, var(--rdzk-violet), var(--rdzk-cyan));
  box-shadow: 0 0 12px var(--rdzk-cyan);
  border-radius: 3px;
}

/* Header Right Panel */
.rdzk-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* User Authenticated Panel (Placed horizontally on single row) */
.rdzk-user-panel {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Compact Balance Pill (Left of Profile Pill) */
.rdzk-wallet-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.28);
  padding: 4px 10px 4px 6px;
  border-radius: 9999px;
  cursor: pointer;
  height: 32px;
  box-sizing: border-box;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.rdzk-wallet-pill:hover {
  background: rgba(0, 242, 254, 0.18);
  border-color: rgba(0, 242, 254, 0.55);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
  transform: translateY(-1px);
}

.wallet-icon-box {
  color: var(--rdzk-cyan);
  font-size: 13px;
}

.wallet-text-group {
  display: flex;
  align-items: center;
}

.wallet-amount {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.84rem;
  color: #fff;
  letter-spacing: 0.2px;
  line-height: 1;
}

.wallet-add-btn {
  background: var(--rdzk-cyan);
  color: #060912;
  border: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.rdzk-wallet-pill:hover .wallet-add-btn {
  transform: rotate(90deg);
}

/* Discord Profile Pill (Centered and Aligned with Tabs) */
.rdzk-profile-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 22, 40, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 10px 3px 4px;
  border-radius: 9999px;
  height: 36px;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.rdzk-profile-pill:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(22, 30, 56, 0.95);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.25);
  transform: translateY(-1px);
}

.rdzk-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-subtle);
  flex-shrink: 0;
}

.profile-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.profile-username {
  font-size: 0.8rem;
  font-weight: 700;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.tier-pill {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  width: fit-content;
  letter-spacing: 0.5px;
}

.tier-free { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }
.tier-farmer { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.tier-premium { background: rgba(0, 242, 254, 0.2); color: var(--rdzk-cyan); border: 1px solid rgba(0, 242, 254, 0.4); }
.tier-blacklisted {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.6) !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
  font-weight: 900;
  letter-spacing: 0.6px;
  animation: pulseBlacklist 2s infinite;
}

@keyframes pulseBlacklist {
  0%, 100% {
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.7);
  }
}

.rdzk-settings-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 4px;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rdzk-settings-btn:hover { color: var(--rdzk-cyan); }

.rdzk-logout-btn {
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 4px;
  transition: color 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rdzk-logout-btn:hover { color: #ef4444; }

/* Guest Panel */
.rdzk-btn-glow-login {
  background: linear-gradient(135deg, var(--rdzk-violet), #6366f1);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px var(--rdzk-violet-glow);
  transition: all 0.25s;
}
.rdzk-btn-glow-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.rdzk-btn-demo {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.rdzk-btn-demo:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.rdzk-banner-demo {
  background: rgba(0, 242, 254, 0.12);
  border-bottom: 1px solid rgba(0, 242, 254, 0.25);
  color: #cffafe;
  padding: 8px 16px;
  font-size: 0.85rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================================== */
/* 2. APP LAYOUT                                                  */
/* ============================================================== */
.rdzk-layout {
  display: flex;
  min-height: calc(100vh - 72px);
  position: relative;
  z-index: 10;
}

/* LEFT SIDEBAR: BOT SCANNED BRAINROTS */
.rdzk-sidebar {
  width: 290px;
  flex-shrink: 0;
  background: rgba(8, 10, 18, 0.95);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.radar-ping {
  position: relative;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-dot {
  width: 8px;
  height: 8px;
  background: var(--rdzk-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--rdzk-cyan);
}

.radar-wave {
  position: absolute;
  inset: -4px;
  border: 1.5px solid var(--rdzk-cyan);
  border-radius: 50%;
  animation: radarWave 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes radarWave {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.sidebar-title-group {
  display: flex;
  flex-direction: column;
}

.sidebar-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fff;
}

.sidebar-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--rdzk-cyan);
  letter-spacing: 0.5px;
}

.rdzk-feed {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100vh - 140px);
}

.rdzk-feed::-webkit-scrollbar { width: 4px; }
.rdzk-feed::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 4px; }

/* Steal Item Card */
.rdzk-feed-card {
  background: rgba(16, 21, 38, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s;
  animation: slideDownFade 0.35s ease;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rdzk-feed-card:hover {
  background: rgba(26, 34, 60, 0.95);
  border-color: var(--border-glow);
  transform: translateX(2px);
}

.feed-thumb {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #141c30;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feed-info {
  flex: 1;
  min-width: 0;
}

.feed-name {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  margin-bottom: 2px;
}

.feed-val-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.feed-price {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--rdzk-cyan);
}

.feed-badge {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.badge-normal { background: rgba(255, 255, 255, 0.08); color: #cbd5e1; }
.badge-gold { background: rgba(250, 204, 21, 0.2); color: var(--rdzk-gold); border: 1px solid rgba(250, 204, 21, 0.4); }
.badge-diamond { background: rgba(0, 242, 254, 0.2); color: var(--rdzk-cyan); border: 1px solid rgba(0, 242, 254, 0.4); }
.badge-rainbow { background: linear-gradient(135deg, var(--rdzk-violet), var(--rdzk-pink)); color: #fff; }

.feed-time {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.btn-snipe-join {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--rdzk-cyan);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-snipe-join:hover {
  background: var(--rdzk-cyan);
  color: #050814;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* ============================================================== */
/* 3. MAIN DYNAMIC TABS                                           */
/* ============================================================== */
.rdzk-main {
  flex: 1;
  min-width: 0;
  padding: 22px 28px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 72px);
  box-sizing: border-box;
}

.rdzk-tab-view {
  display: none;
}
.rdzk-tab-view.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================== */
/* TAB 1: HOME HERO (Futuristic City)                             */
/* ============================================================== */
.rdzk-hero {
  position: relative;
  min-height: 640px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 60px rgba(0, 242, 254, 0.12), inset 0 0 50px rgba(139, 92, 246, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px 0;
  background-color: #050814;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(5, 8, 20, 0.85) 0%, rgba(5, 8, 20, 0.45) 45%, rgba(5, 8, 20, 0.1) 100%),
    linear-gradient(to top, rgba(5, 8, 20, 0.95) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(5, 8, 20, 0.7) 0%, transparent 25%),
    url('/hero_bg.jpg');
  background-size: cover;
  background-position: center right;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rdzk-hero:hover .hero-backdrop {
  transform: scale(1.02);
}

.hero-ambient-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 2;
  pointer-events: none;
}

.hero-glass-panel {
  position: relative;
  z-index: 5;
  max-width: 620px;
  background: rgba(10, 14, 28, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.08);
  border-radius: 24px;
  padding: 38px 44px;
  margin-top: 10px;
  margin-bottom: 24px;
  animation: slideDownFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--rdzk-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--rdzk-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--rdzk-cyan);
  animation: pulse 1.6s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-desc {
  color: var(--text-gray);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 60px;
}

.btn-glow-cyan {
  background: linear-gradient(135deg, var(--rdzk-cyan), #0284c7);
  color: #050814;
  border: none;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 25px var(--rdzk-cyan-glow);
  transition: all 0.25s;
}

.btn-glow-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
}

.btn-glass {
  background: rgba(14, 18, 32, 0.85);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-glass:hover {
  background: rgba(24, 32, 54, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Footer Stats in Hero */
.hero-stats-footer {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(6, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  margin: 0 -64px;
  padding: 24px 64px;
}

.hero-stat-card {
  text-align: center;
}

.stat-number {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 4px;
}

.glow-text { color: var(--rdzk-violet); text-shadow: 0 0 20px var(--rdzk-violet-glow); }
.glow-cyan-text { color: var(--rdzk-cyan); text-shadow: 0 0 20px var(--rdzk-cyan-glow); }
.glow-gold-text { color: var(--rdzk-gold); text-shadow: 0 0 20px rgba(250, 204, 21, 0.3); }

.stat-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================================== */
/* TAB 2: STATISTICS (Real-Time Hourly Logs)                      */
/* ============================================================== */
.stats-top-row {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.rdzk-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.card-header-flex h3, .card-header-flex h4 {
  font-size: 1.05rem;
  font-weight: 800;
}

.chart-legend-row {
  display: flex;
  gap: 12px;
}

.legend-badge {
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.leg-cyan .leg-dot { background: var(--rdzk-cyan); box-shadow: 0 0 8px var(--rdzk-cyan); }
.leg-gold .leg-dot { background: var(--rdzk-gold); }
.leg-violet .leg-dot { background: var(--rdzk-violet); }

.chart-svg-wrap {
  width: 100%;
}

.rdzk-chart-svg {
  width: 100%;
  height: 190px;
  overflow: visible;
}

.y-label {
  fill: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.x-axis-labels {
  display: flex;
  justify-content: space-between;
  padding: 8px 36px 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* 4 Summary Stats on Right */
.stats-summary-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rdzk-mini-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-square {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.bg-cyan-glow { background: rgba(0, 242, 254, 0.12); color: var(--rdzk-cyan); }
.bg-gold-glow { background: rgba(250, 204, 21, 0.12); color: var(--rdzk-gold); }
.bg-violet-glow { background: rgba(139, 92, 246, 0.12); color: var(--rdzk-violet); }
.bg-pink-glow { background: rgba(236, 72, 153, 0.12); color: var(--rdzk-pink); }

.mini-meta {
  display: flex;
  flex-direction: column;
}

.mini-val {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
}

.mini-lbl {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hourly Distribution & Item Lists */
.stats-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tag-live {
  background: rgba(0, 242, 254, 0.15);
  color: var(--rdzk-cyan);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.badge-count {
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.hourly-bars-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hourly-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.hourly-time {
  font-family: var(--font-mono);
  color: var(--text-gray);
  width: 50px;
}

.hourly-bar-bg {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.hourly-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rdzk-violet), var(--rdzk-cyan));
  border-radius: 4px;
}

.hourly-count {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  width: 45px;
  text-align: right;
}

.item-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-thumb {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: #141c30;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.mini-details { flex: 1; }
.mini-title { font-size: 0.82rem; font-weight: 700; }
.mini-val-row { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.mini-val { font-family: var(--font-mono); font-weight: 800; font-size: 0.8rem; }

/* ============================================================== */
/* TAB 3: SLOTS (Slaves $5/h & RDZK $12/h)                        */
/* ============================================================== */
.slots-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.slots-banner-header h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.slots-pricing-summary {
  text-align: right;
}

.price-highlight {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--rdzk-cyan);
  display: block;
}

.price-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================== */
/* SLOTS OVERVIEW SECTION (Replica of User Screenshot)             */
/* ============================================================== */
.slots-overview-section {
  margin-bottom: 28px;
}

.overview-section-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}

.slots-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.overview-stat-card {
  position: relative;
  background: rgba(12, 15, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 142px;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  overflow: hidden;
}

.overview-stat-card:hover {
  transform: translateY(-2px);
  background: rgba(18, 22, 38, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Left Accent Borders */
.overview-stat-card.card-premium {
  border-left: 3.5px solid #eab308;
  box-shadow: inset 1px 0 15px rgba(234, 179, 8, 0.06);
}
.overview-stat-card.card-farmer {
  border-left: 3.5px solid #10b981;
  box-shadow: inset 1px 0 15px rgba(16, 185, 129, 0.06);
}
.overview-stat-card.card-active {
  border-left: 3.5px solid #38bdf8;
  box-shadow: inset 1px 0 15px rgba(56, 189, 248, 0.06);
}
.overview-stat-card.card-frozen {
  border-left: 3.5px solid #f59e0b;
  box-shadow: inset 1px 0 15px rgba(245, 158, 11, 0.06);
}

.card-header-label {
  font-family: var(--font-main);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: #717d96;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card-metric-val {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
}

.card-metric-val.val-gold {
  color: #f8fafc;
}
.card-metric-val.val-green {
  color: #10b981;
}
.card-metric-val.val-blue {
  color: #38bdf8;
}
.card-metric-val.val-orange {
  color: #f59e0b;
}

.card-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.card-progress-bar {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-progress-bar.bar-gold {
  background: #eab308;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}
.card-progress-bar.bar-green {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.card-caption {
  font-size: 0.72rem;
  font-weight: 600;
  color: #717d96;
}

.slots-plans-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.compact-plans-row {
  gap: 20px;
}

.compact-tier-card {
  padding: 24px 26px !important;
}

.slot-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tier-slaves {
  border-color: rgba(16, 185, 129, 0.3);
}

.tier-rdzk {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.08);
}

.slot-tier-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.badge-rdzk-gold {
  background: rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.5);
  color: var(--rdzk-cyan);
}

.slot-tier-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.tier-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bg-green-subtle { background: rgba(16, 185, 129, 0.12); }
.bg-cyan-subtle { background: rgba(0, 242, 254, 0.12); }

.tier-names h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.tier-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tier-price-box {
  margin-left: auto;
  text-align: right;
}

.tier-price-box .price-val {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 900;
}

.tier-price-box .price-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tier-perks {
  list-style: none;
  margin-bottom: 24px;
}

.tier-perks li {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slot-duration-controls {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
}

.slot-duration-controls label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.hours-control-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.btn-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  cursor: pointer;
}

.hours-control-row input {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 65px;
  height: 36px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.05rem;
}

.preset-hours-pills {
  display: flex;
  gap: 6px;
}

.preset-hours-pills button {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-gray);
  padding: 6px 0;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.preset-hours-pills button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.slot-checkout-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.total-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.total-display strong {
  font-family: var(--font-mono);
  font-size: 1.4rem;
}

.btn-rent-primary {
  background: var(--rdzk-green);
  color: #050814;
  border: none;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-rent-primary:hover {
  background: #059669;
  transform: translateY(-1px);
}

.btn-rent-rdzk {
  background: linear-gradient(135deg, var(--rdzk-cyan), #0284c7);
  color: #050814;
  border: none;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 20px var(--rdzk-cyan-glow);
  transition: all 0.2s;
}

.btn-rent-rdzk:hover {
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
  transform: translateY(-1px);
}

/* Active Instances Section */
.active-instances-section {
  margin-top: 10px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title-row h4 {
  font-size: 1.05rem;
  font-weight: 800;
}

.instances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 18px;
}

.instance-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inst-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.inst-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inst-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.inst-meta h5 { font-size: 0.9rem; font-weight: 800; }
.inst-status { font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

.inst-timer-box {
  margin-bottom: 14px;
}

.inst-timer-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.inst-time-rem { font-family: var(--font-mono); font-weight: 800; color: var(--rdzk-cyan); }

.inst-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.inst-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rdzk-violet), var(--rdzk-cyan));
  border-radius: 4px;
}

.inst-deals-row {
  display: flex;
  gap: 6px;
}

.inst-mini-deal {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================== */
/* TAB 4: MARKET (Under Development)                              */
/* ============================================================== */
.dev-market-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  max-width: 800px;
  margin: 30px auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dev-hud-graphic {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 2px dashed var(--rdzk-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--rdzk-cyan);
}

.dev-badge {
  display: inline-block;
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: var(--rdzk-gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.dev-market-card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.dev-desc {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 36px;
}

.dev-roadmap-list {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  max-width: 580px;
  margin: 0 auto 36px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.roadmap-item.done { color: var(--rdzk-green); }
.roadmap-item.active { color: var(--rdzk-cyan); font-weight: 700; }
.roadmap-item.pending { color: var(--text-muted); }

.dev-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-notify-dev {
  background: linear-gradient(135deg, var(--rdzk-cyan), #0284c7);
  color: #050814;
  border: none;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 0 20px var(--rdzk-cyan-glow);
}

.btn-notify-dev:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

/* ============================================================== */
/* TAB 5: LEADERBOARD                                             */
/* ============================================================== */
.leaderboard-heading {
  margin-bottom: 28px;
}

.leaderboard-heading h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.podium-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 32px;
}

.podium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
}

.rank-gold-card {
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 0 40px rgba(250, 204, 21, 0.12);
  padding-bottom: 30px;
}

.rank-tag {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.rank-gold { background: rgba(250, 204, 21, 0.2); color: var(--rdzk-gold); border: 1px solid rgba(250, 204, 21, 0.4); }
.rank-silver { background: rgba(203, 213, 225, 0.2); color: #cbd5e1; border: 1px solid rgba(203, 213, 225, 0.4); }
.rank-bronze { background: rgba(217, 119, 6, 0.2); color: #f59e0b; border: 1px solid rgba(217, 119, 6, 0.4); }

.avatar-ring {
  margin: 32px auto 12px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: var(--border-subtle);
}

.ring-gold {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--rdzk-gold), #f59e0b);
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.35);
}

.podium-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.podium-user {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.gold-user { color: var(--rdzk-gold); }

.podium-stats-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 6px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.p-stat { display: flex; flex-direction: column; }
.p-num { font-family: var(--font-mono); font-weight: 800; font-size: 0.95rem; }
.p-txt { font-size: 0.62rem; font-weight: 700; color: var(--text-muted); margin-top: 2px; }

.podium-drops-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drops-header {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  margin-bottom: 4px;
  display: block;
}

.drop-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.rdzk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.rdzk-table th {
  text-align: left;
  padding: 12px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border-subtle);
}

.rdzk-table td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ============================================================== */
/* 4. MODAL                                                       */
/* ============================================================== */
.rdzk-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 14, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.rdzk-modal-card {
  background: #0d1222;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.15);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-top {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-icon-wrap {
  font-size: 24px;
  color: var(--rdzk-cyan);
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-title-group h3 { font-size: 1.15rem; font-weight: 800; }
.modal-title-group p { font-size: 0.78rem; color: var(--text-muted); }

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}
.btn-close-modal:hover { color: #fff; }

.modal-body { padding: 24px; }

.modal-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.crypto-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.crypto-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.crypto-card:hover { background: rgba(255, 255, 255, 0.07); }

.crypto-card.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--rdzk-cyan);
}

.crypto-logo { font-size: 18px; color: var(--rdzk-cyan); }
.crypto-names .sym { font-weight: 800; font-size: 0.9rem; display: block; }
.crypto-names .sub { font-size: 0.65rem; color: var(--text-muted); display: block; }

.preset-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-preset {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-gray);
  padding: 8px 0;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-preset.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--rdzk-cyan);
  color: #fff;
}

.custom-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.dollar-sign {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  color: var(--text-muted);
}

.custom-input-wrap input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 12px 14px 12px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
}

.estimate-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.estimate-box strong {
  font-family: var(--font-mono);
  color: var(--rdzk-cyan);
  font-size: 1rem;
}

.btn-generate-addr {
  width: 100%;
  background: linear-gradient(135deg, var(--rdzk-cyan), #0284c7);
  color: #050814;
  border: none;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 20px var(--rdzk-cyan-glow);
  transition: all 0.2s;
}

.btn-generate-addr:hover {
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

/* Step 2 */
.await-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #fbbf24;
  margin-bottom: 16px;
}

.pulse-ring {
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.qr-box {
  background: #fff;
  padding: 12px;
  border-radius: var(--radius-md);
  width: fit-content;
  margin: 0 auto 16px;
}

.qr-box img { width: 160px; height: 160px; display: block; }

.exact-pay-info {
  text-align: center;
  margin-bottom: 16px;
}

.exact-title { font-size: 0.78rem; color: var(--text-muted); }
.exact-val { font-family: var(--font-mono); font-size: 1.55rem; font-weight: 800; color: var(--rdzk-cyan); }
.usd-val { font-size: 0.85rem; color: var(--text-muted); }

.address-copy-group { margin-bottom: 18px; }
.address-copy-group label { font-size: 0.78rem; color: var(--text-muted); display: block; margin-bottom: 6px; }

.copy-input-row { display: flex; gap: 8px; }
.copy-input-row input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.btn-copy-action {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.btn-copy-action:hover { background: rgba(255, 255, 255, 0.16); }

.sandbox-box {
  background: rgba(0, 242, 254, 0.08);
  border: 1px dashed rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

.sandbox-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--rdzk-cyan);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sandbox-box p {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-bottom: 10px;
  line-height: 1.4;
}

.btn-sim-action {
  width: 100%;
  background: rgba(0, 242, 254, 0.2);
  border: 1px solid var(--rdzk-cyan);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-sim-action:hover { background: var(--rdzk-cyan); color: #050814; }

.btn-back-text {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}
.btn-back-text:hover { color: #fff; }

/* Toast */
.rdzk-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 300;
}

.rdzk-toast {
  background: #0f152a;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #fff;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  animation: slideToast 0.3s ease;
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================================== */
/* TAB 6: USER PROFILE DASHBOARD (Screenshots 2 & 3 Replica)      */
/* ============================================================== */
.profile-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(270px, 300px) minmax(0, 1fr) minmax(260px, 290px);
  gap: 16px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.prof-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* User Identity Card */
.prof-id-card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 22, 42, 0.95), rgba(10, 14, 26, 0.95));
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.prof-id-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.prof-large-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--rdzk-violet);
  box-shadow: 0 0 15px var(--rdzk-violet-glow);
  object-fit: cover;
  background: #0d1224;
}

.prof-id-texts h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
}

.prof-sub-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: rgba(236, 72, 153, 0.15);
  color: var(--rdzk-pink);
  border: 1px solid rgba(236, 72, 153, 0.35);
  padding: 2px 8px;
  border-radius: 9999px;
}

/* Account Status Notice Box */
.prof-status-box {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.status-icon {
  font-size: 1.2rem;
}

.status-texts {
  display: flex;
  flex-direction: column;
}

.status-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #22c55e;
  letter-spacing: 0.5px;
}

.status-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Balance Area */
.prof-balance-area {
  background: rgba(6, 9, 18, 0.8);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.balance-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.btn-send-mini {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-gray);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-send-mini:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.balance-big-val {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: #22c55e;
  text-shadow: 0 0 16px rgba(34, 197, 94, 0.25);
  line-height: 1;
}

/* 4 Metrics Grid */
.prof-4metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.prof-4metrics-grid .m-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.prof-4metrics-grid .m-title {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.prof-4metrics-grid .m-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

/* Balance Ledger Card */
.prof-ledger-card h4, .prof-events-card h4 {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ledger-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
}

.ledger-amt {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
}

.ledger-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ledger-type {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}

.ledger-date {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Event Logs */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.event-time {
  color: var(--text-muted);
  font-size: 0.68rem;
}

/* ============================================================== */
/* MIDDLE COLUMN: TOP 5 CATCHES, SCRIPT KEY, DETECTION HISTORY    */
/* ============================================================== */
.top5-catches-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.catch-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.catch-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateX(3px);
}

.catch-rank {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-muted);
  min-width: 24px;
}

.catch-thumb {
  width: 42px;
  height: 42px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.catch-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.catch-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

.catch-val {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
}

/* Script Execution Key */
.script-key-card {
  background: linear-gradient(180deg, rgba(14, 20, 38, 0.9), rgba(8, 12, 22, 0.9));
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.script-code-box {
  position: relative;
  background: #050711;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.script-code-box code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--rdzk-cyan);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
  flex: 1;
  min-width: 0;
}

.btn-copy-code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-copy-code:hover {
  background: var(--rdzk-cyan);
  color: #050814;
}

/* Detection History Grid (Screenshot 3 Grid Replica) */
.prof-history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.hist-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
}

.hist-tile:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.hist-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hist-tile-thumb {
  font-size: 1.25rem;
}

.hist-tile-name {
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hist-tile-price {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--rdzk-cyan);
}

/* ============================================================== */
/* RIGHT COLUMN: SUBSCRIPTION STATUS, ACQUIRE SLOT, ACTIONS      */
/* ============================================================== */
.prof-sub-card {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.2), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.sub-header-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: block;
}

.sub-status-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 6px 0;
  word-break: break-word;
}

.sub-timer-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--rdzk-cyan);
}

/* Acquire Slot Card */
.acquire-slot-card h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.prof-slot-type-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}

.slot-select-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 8px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.2s;
  color: #fff;
  min-width: 0;
  box-sizing: border-box;
}

.slot-select-pill.active {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--rdzk-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.slot-select-pill .pill-name {
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.slot-select-pill .pill-rate {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--rdzk-cyan);
  white-space: nowrap;
}

.prof-hours-input-wrap {
  margin-bottom: 14px;
}

.prof-hours-input-wrap label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.prof-hours-input-wrap input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  outline: none;
}

.prof-hours-input-wrap input:focus {
  border-color: var(--rdzk-cyan);
}

.prof-total-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.prof-total-calc-row strong {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: #22c55e;
}

.btn-prof-rent {
  width: 100%;
  background: linear-gradient(135deg, var(--rdzk-cyan), #0284c7);
  color: #050814;
  border: none;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 20px var(--rdzk-cyan-glow);
  transition: all 0.2s;
}

.btn-prof-rent:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

/* Quick Actions Grid */
.prof-quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quick-act-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 10px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  transition: all 0.2s;
  min-width: 0;
  box-sizing: border-box;
}

.quick-act-btn i {
  font-size: 1.15rem;
}

.quick-act-btn span {
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.quick-act-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ============================================================== */
/* PAYMENT & DEPOSIT MODAL (Screenshot 1 Exact Replica)           */
/* ============================================================== */
.kw-deposit-modal {
  width: 480px;
  max-width: 95vw;
  background: #090c19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.15);
  overflow: hidden;
  padding: 0;
}

.deposit-modal-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px 0;
  background: rgba(14, 18, 34, 0.7);
}

.dep-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 18px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.dep-tab-btn:hover {
  color: #fff;
}

.dep-tab-btn.active {
  color: #fff;
}

.dep-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--rdzk-cyan);
  box-shadow: 0 0 10px var(--rdzk-cyan);
}

.btn-modal-x {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}

.btn-modal-x:hover {
  color: #fff;
}

.modal-body-kw {
  padding: 22px 24px;
}

/* Group Pills (Coins / USDT / USDC) */
.dep-group-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.group-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-gray);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.group-pill:hover {
  color: #fff;
}

.group-pill.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* 6 Circular Coins Grid */
.coins-circle-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.coin-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.coin-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.coin-btn.active {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--rdzk-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}

.coin-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  position: relative;
}

.bg-ltc { background: #345d9d; }
.bg-btc { background: #f7931a; }
.bg-eth { background: #627eea; }
.bg-bnb { background: #f3ba2f; color: #000; }
.bg-sol { background: linear-gradient(135deg, #14f195, #9945ff); }
.bg-trx { background: #eb0029; }

.bsc-tag {
  position: absolute;
  bottom: -4px;
  font-size: 0.52rem;
  font-weight: 800;
  background: #000;
  color: #f3ba2f;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.coin-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #fff;
}

/* Amount Inputs */
.kw-input-heading {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.kw-presets-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.kw-preset-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.kw-preset-pill:hover {
  background: rgba(255, 255, 255, 0.08);
}

.kw-preset-pill.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--rdzk-cyan);
  color: var(--rdzk-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

.kw-custom-amount-box {
  position: relative;
  margin-bottom: 18px;
}

.kw-custom-amount-box input {
  width: 100%;
  background: #050711;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  outline: none;
}

.kw-custom-amount-box input:focus {
  border-color: var(--rdzk-cyan);
}

/* Cloudflare Turnstile Badge */
.cloudflare-turnstile-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
}

.cf-left, .cf-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.cf-left {
  color: #fff;
}

.cf-right {
  color: var(--text-muted);
}

/* Proceed Button */
.btn-kw-proceed {
  width: 100%;
  background: linear-gradient(135deg, var(--rdzk-cyan), #0284c7);
  color: #050814;
  border: none;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 25px var(--rdzk-cyan-glow);
  transition: all 0.2s;
}

.btn-kw-proceed:hover {
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
  transform: translateY(-1px);
}

/* Step 2 & 3: Deposit Modal Additional Styles */
.await-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  color: var(--rdzk-cyan);
  font-weight: 600;
}

.pulse-ring {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rdzk-cyan);
  box-shadow: 0 0 10px var(--rdzk-cyan);
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px var(--rdzk-cyan); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.qr-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0 20px;
}

.qr-box img {
  width: 170px;
  height: 170px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
  border: 2px solid rgba(0, 242, 254, 0.3);
}

.exact-pay-info {
  text-align: center;
  margin-bottom: 18px;
}

.exact-title {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.exact-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.usd-val {
  font-size: 0.82rem;
  color: var(--rdzk-cyan);
  font-weight: 600;
}

.address-copy-group {
  margin-bottom: 20px;
}

.address-copy-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.copy-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #050711;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 4px 6px 4px 12px;
}

.copy-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.btn-copy-action {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--rdzk-cyan);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-action:hover {
  background: var(--rdzk-cyan);
  color: #050814;
}

.sandbox-box {
  background: rgba(250, 204, 21, 0.05);
  border: 1px dashed rgba(250, 204, 21, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.sandbox-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--rdzk-gold);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sandbox-box p {
  font-size: 0.72rem;
  color: var(--text-gray);
  margin-bottom: 10px;
  line-height: 1.3;
}

.btn-sim-action {
  width: 100%;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: var(--rdzk-gold);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-sim-action:hover {
  background: var(--rdzk-gold);
  color: #050814;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}

.btn-back-text {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-back-text:hover {
  color: #fff;
}

/* Step 3: Celebratory Payment Success Styles */
.deposit-success-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 6px;
}

.success-ring-glow {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 2px solid #22c55e;
  box-shadow: 0 0 35px rgba(34, 197, 94, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #22c55e;
  margin-bottom: 18px;
  animation: successPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.success-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 380px;
  line-height: 1.4;
}

.success-summary-card {
  width: 100%;
  background: #050711;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.05);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  padding-top: 2px;
}

.summary-label {
  color: var(--text-muted);
  font-weight: 600;
}

.summary-val {
  font-family: var(--font-mono);
  font-weight: 800;
  color: #fff;
}

.success-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.active-orders-header {
  margin-bottom: 16px;
}

.active-orders-header h5 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.active-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Active Orders Interactive Cards (12h validity) */
.active-order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(14, 18, 34, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.active-order-card:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--rdzk-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  transform: translateY(-2px);
}

.order-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-coin-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.order-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-amounts {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.order-crypto-val {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.order-usd-val {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.order-timer-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--rdzk-cyan);
}

.order-actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-order-resume {
  background: linear-gradient(135deg, var(--rdzk-cyan), #0284c7);
  color: #050814;
  border: none;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.76rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-order-resume:hover {
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
  transform: scale(1.02);
}

.btn-order-cancel {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.75rem;
}

.btn-order-cancel:hover {
  background: #ef4444;
  color: #fff;
}

.empty-standby-box {
  background: rgba(14, 18, 34, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.empty-standby-box i {
  margin-bottom: 6px;
  opacity: 0.75;
}

.empty-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.4px;
}

.empty-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.4;
}

.sidebar-standby-box {
  padding: 40px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* System Freeze & Broadcast Banners */
.rdzk-banner-frozen {
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.3), rgba(8, 145, 178, 0.3));
  border-bottom: 1px solid rgba(56, 189, 248, 0.5);
  color: #e0f2fe;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.3);
  position: relative;
  z-index: 10;
}

.rdzk-banner-broadcast {
  background: linear-gradient(90deg, rgba(202, 138, 4, 0.25), rgba(234, 88, 12, 0.25));
  border-bottom: 1px solid rgba(250, 204, 21, 0.5);
  color: #fef08a;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(234, 88, 12, 0.25);
  position: relative;
  z-index: 10;
}

.badge-frozen {
  background: rgba(0, 242, 254, 0.15) !important;
  color: #38bdf8 !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;
}

@media (max-width: 1100px) {
  .profile-dashboard-layout {
    grid-template-columns: 1fr;
  }
  .coins-circle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .rdzk-layout { flex-direction: column; }
  .rdzk-sidebar { width: 100%; max-height: 220px; border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .stats-top-row { grid-template-columns: 1fr; }
  .stats-bottom-grid { grid-template-columns: 1fr; }
  .slots-plans-row { grid-template-columns: 1fr; }
  .podium-grid { grid-template-columns: 1fr; }
  .slots-overview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .slots-overview-grid { grid-template-columns: 1fr; }
  .footer-brand-row { flex-direction: column; align-items: flex-start; }
  .footer-copyright-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================== */
/* UNIVERSAL RDZK FOOTER STYLES (Clean, Centered, Minimalist)     */
/* ============================================================== */
.rdzk-footer {
  margin-top: 56px;
  padding: 28px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  background: transparent;
}

.rdzk-footer .footer-copy {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Home Fullwidth Mode */
.home-fullwidth #rdzk-sidebar,
.home-fullwidth .rdzk-sidebar {
  display: none !important;
}

.home-fullwidth .rdzk-main {
  padding: 32px 48px;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

.home-fullwidth .rdzk-hero {
  min-height: 720px;
  width: 100%;
  padding: 56px 64px 0;
}

.home-fullwidth .hero-backdrop {
  background-position: center;
  background-size: cover;
}

.item-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 750px;
  overflow-y: auto;
  padding-right: 4px;
}

.item-list-container::-webkit-scrollbar {
  width: 5px;
}

.item-list-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.stats-list-item {
  animation: fadeInSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================== */
/* PROFILE DASHBOARD RESPONSIVE BREAKPOINTS                       */
/* ============================================================== */
@media (max-width: 1280px) {
  .profile-dashboard-layout {
    grid-template-columns: minmax(250px, 280px) minmax(0, 1fr) minmax(240px, 265px);
    gap: 12px;
  }
  .rdzk-main {
    padding: 18px 20px;
  }
}

@media (max-width: 1050px) {
  .profile-dashboard-layout {
    grid-template-columns: 1fr 1fr;
  }
  .prof-col-right {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .profile-dashboard-layout {
    grid-template-columns: 1fr;
  }
  .prof-col-right {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
  }
}

/* ============================================================== */
/* TAB 7: BOT CLUSTER COMMAND CENTER (Owner Only • WebSockets)    */
/* ============================================================== */
.owner-tab-btn {
  background: rgba(234, 179, 8, 0.08) !important;
  border: 1px solid rgba(234, 179, 8, 0.3) !important;
  color: #facc15 !important;
  font-weight: 700;
  transition: all 0.25s ease;
}

.owner-tab-btn:hover {
  background: rgba(234, 179, 8, 0.18) !important;
  border-color: #facc15 !important;
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.35);
  color: #fff !important;
  transform: translateY(-1px);
}

.owner-tab-btn.active {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(202, 138, 4, 0.15)) !important;
  border-color: #facc15 !important;
  color: #fef08a !important;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.4);
}

.cluster-dashboard-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

/* Cluster Header */
.cluster-banner-header {
  background: linear-gradient(135deg, rgba(16, 24, 48, 0.95), rgba(10, 14, 28, 0.95));
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(0, 242, 254, 0.05);
}

.cluster-header-titles h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 6px 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cluster-header-titles p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cluster-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.8px;
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseGreen 1.6s infinite ease-in-out;
}

@keyframes pulseGreen {
  0% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #22c55e; }
  100% { transform: scale(0.8); opacity: 0.6; }
}

.badge-owner-glow {
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(234, 179, 8, 0.45);
  color: #facc15;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 1px;
}

.cluster-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cluster-primary {
  background: linear-gradient(135deg, var(--rdzk-cyan), #0284c7);
  color: #050814;
  border: none;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px var(--rdzk-cyan-glow);
  transition: all 0.2s ease;
}

.btn-cluster-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

.btn-cluster-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-gray);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-cluster-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 4 Cluster Metrics */
.cluster-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cluster-metric-card {
  background: rgba(14, 20, 38, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
}

.cluster-metric-card:hover {
  background: rgba(20, 28, 54, 0.95);
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

.m-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.m-card-data {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-card-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.m-card-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

/* Cluster Main 2-Column Grid */
.cluster-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: start;
}

.cluster-nodes-column, .cluster-terminal-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.column-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.column-header-row h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cluster-live-tag, .terminal-badge {
  font-size: 0.64rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--rdzk-cyan);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Nodes Grid */
.cluster-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.node-card {
  background: rgba(14, 20, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.node-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(18, 26, 52, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.node-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-name-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
}

.node-ping {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.node-status-badge {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.node-status-scanning {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.node-status-hopping {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.35);
  animation: pulseHop 1.2s infinite ease;
}

@keyframes pulseHop {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.node-status-offline {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.node-stats-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.node-stat-item {
  display: flex;
  flex-direction: column;
}

.node-stat-lbl {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.node-stat-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.btn-node-act {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-node-act:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-node-hop {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--rdzk-cyan);
}

.btn-node-hop:hover {
  background: var(--rdzk-cyan);
  color: #050814;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

/* Cluster Terminal Console */
.cluster-terminal-card {
  background: #040711;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 242, 254, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.terminal-topbar {
  background: #0a0f20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.t-dot.red { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-term-mini {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  transition: color 0.2s;
}
.btn-term-mini:hover { color: #f87171; }

.cluster-terminal-body {
  height: 440px;
  overflow-y: auto;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.03), transparent 70%);
}

.cluster-terminal-body::-webkit-scrollbar { width: 4px; }
.cluster-terminal-body::-webkit-scrollbar-thumb { background: rgba(0, 242, 254, 0.25); border-radius: 4px; }

.term-line {
  line-height: 1.4;
  word-break: break-word;
  animation: termFade 0.2s ease;
}

@keyframes termFade {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.term-time { color: #64748b; margin-right: 6px; }
.term-bot { color: var(--rdzk-cyan); font-weight: 700; margin-right: 6px; }
.term-msg { color: #cbd5e1; }
.term-drop .term-msg { color: #f43f5e; font-weight: 800; text-shadow: 0 0 8px rgba(244, 63, 94, 0.4); }
.term-hop .term-msg { color: #c084fc; }
.term-scan .term-msg { color: #4ade80; }
.term-action .term-msg { color: #38bdf8; }
.term-warning .term-msg { color: #facc15; }

/* Responsive adjustments */
@media (max-width: 1200px) {
  .cluster-main-grid {
    grid-template-columns: 1fr;
  }
  .cluster-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cluster-metrics-grid {
    grid-template-columns: 1fr;
  }
  .cluster-banner-header {
    flex-direction: column;
  }
}

/* Slot Pool & Ownership Badges */
.slot-pool-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}
.slot-pool-pill.pool-full {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.slot-pool-pill.pool-available {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.tier-live-status {
  margin-top: 4px;
}

.badge-slot-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.badge-active-owner {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #38bdf8;
  animation: pulse-border 2s infinite ease-in-out;
}
.badge-soldout {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}
.badge-available {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.7rem;
}

.card-disabled-soldout {
  opacity: 0.75;
  border-color: rgba(239, 68, 68, 0.35) !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.08);
}

.btn-rent-primary.btn-extend,
.btn-rent-rdzk.btn-extend {
  background: linear-gradient(135deg, #0284c7 0%, #00f2fe 100%) !important;
  color: #030712 !important;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.btn-rent-primary.btn-extend:hover,
.btn-rent-rdzk.btn-extend:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 242, 254, 0.55) !important;
}

.btn-rent-primary:disabled,
.btn-rent-rdzk:disabled {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #64748b !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.inst-you-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, #00f2fe, #38bdf8);
  color: #020617;
  margin-left: 6px;
  letter-spacing: 0.5px;
}

/* Clean Night Promo Notification Strip */
.slots-promo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}

.strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.strip-moon {
  font-size: 1.15rem;
}

.strip-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
  letter-spacing: 0.5px;
  animation: pulse-border 2s infinite ease-in-out;
}

/* Strikethrough and Dynamic Price Display */
.price-calc-container {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-strikethrough {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ef4444;
  text-decoration: line-through;
  opacity: 0.8;
}

.price-highlight-text {
  font-size: 1.45rem;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.5px;
}

.discount-tags-container {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.disc-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.4px;
}

.disc-night {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

.disc-bulk {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.disc-savings {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* ============================================================ */
/* EXTEND SLOT MODAL (USER CUSTOM DESIGN)                       */
/* ============================================================ */
#extend-modal {
  --bg-dark: #12131a;
  --card-bg: #1a1b26;
  --red-rented: #d04343;
  --green-extended: #2e7d43;
  --orange-select: #e09f22;
  --text-main: #e0e0e0;
  --text-muted: #787c99;
  --border-color: #2a2b3d;
}

#extend-modal.rdzk-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#extend-modal.hidden {
  display: none !important;
}

#extend-modal .modal,
#extend-modal .extend-modal-card {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  width: 520px !important;
  max-width: 95vw !important;
  padding: 20px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  box-sizing: border-box !important;
  color: var(--text-main) !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

#extend-modal .header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  font-size: 14px !important;
  color: var(--text-muted) !important;
}

#extend-modal .header-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  color: var(--text-main) !important;
}

#extend-modal .header-tier-badge {
  font-size: 11px !important;
  background: rgba(0, 242, 254, 0.1) !important;
  color: #00f2fe !important;
  border: 1px solid rgba(0, 242, 254, 0.3) !important;
  border-radius: 4px !important;
  padding: 2px 7px !important;
  font-weight: 600 !important;
}

#extend-modal .btn-close-clean {
  cursor: pointer !important;
  font-size: 16px !important;
  color: var(--text-muted) !important;
  transition: color 0.15s !important;
  line-height: 1 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

#extend-modal .btn-close-clean:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Timeline Styles */
#extend-modal .timeline-container {
  margin: 25px 0 15px 0 !important;
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#extend-modal .timeline-brackets {
  display: flex !important;
  justify-content: space-between !important;
  position: relative !important;
  height: 18px !important;
  margin-bottom: 4px !important;
  font-size: 11px !important;
  font-weight: bold !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#extend-modal .bracket-red {
  color: var(--red-rented) !important;
  width: 25%;
  text-align: center !important;
  border-bottom: 1px solid var(--red-rented) !important;
  position: relative !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: width 0.1s ease-out !important;
  box-sizing: border-box !important;
}

#extend-modal .bracket-green {
  color: #4caf50 !important;
  width: 75%;
  text-align: center !important;
  border-bottom: 1px solid #4caf50 !important;
  position: relative !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: width 0.1s ease-out !important;
  box-sizing: border-box !important;
}

#extend-modal .timeline-bar {
  height: 44px !important;
  background-color: #161724 !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: stretch !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid var(--border-color) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  user-select: none !important;
}

#extend-modal .segment-rented {
  width: 24%;
  background: linear-gradient(90deg, #991b1b, #d04343) !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 10px !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  transition: width 0.08s ease-out !important;
  box-sizing: border-box !important;
  border-radius: 8px 0 0 8px !important;
  border-right: 1px solid rgba(0, 0, 0, 0.4) !important;
}

#extend-modal .avatar {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  flex-shrink: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  margin: 0 !important;
  padding: 0 !important;
}

#extend-modal .username {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #fff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#extend-modal .segment-selection {
  width: 45%;
  background: linear-gradient(90deg, #15803d 0%, #22c55e 100%) !important;
  border: 2px solid #4ade80 !important;
  border-radius: 0 8px 8px 0 !important;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  position: relative !important;
  flex-shrink: 0 !important;
  transition: width 0.08s ease-out !important;
  cursor: ew-resize !important;
}

#extend-modal .segment-available {
  flex: 1 !important;
  background-color: #1a1c2a !important;
  min-width: 0 !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease !important;
}

#extend-modal .segment-available:hover {
  background-color: #222538 !important;
}

#extend-modal .handle {
  width: 22px !important;
  height: 100% !important;
  background-color: #4ade80 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: ew-resize !important;
  font-size: 11px !important;
  color: #052e16 !important;
  font-weight: bold !important;
  user-select: none !important;
  flex-shrink: 0 !important;
  border-radius: 0 6px 6px 0 !important;
  transition: background-color 0.15s ease !important;
}

#extend-modal .handle:hover {
  background-color: #86efac !important;
}

#extend-modal .promo-badge {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  padding: 0 8px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

#extend-modal .timeline-labels {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 11px !important;
  color: var(--text-muted) !important;
  margin-top: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 2px !important;
  font-family: 'JetBrains Mono', monospace !important;
}

/* Extend Quick Controls */
#extend-modal .extend-slider-section {
  margin-top: 14px !important;
  background: #161622 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  border: 1px solid var(--border-color) !important;
  box-sizing: border-box !important;
}

#extend-modal .extend-quick-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

/* Extend Modal Confirmation Screen */
.extend-confirm-banner {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: rgba(224, 159, 34, 0.15) !important;
  border: 1px solid #e09f22 !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  margin-bottom: 18px !important;
}

.extend-confirm-banner .confirm-icon {
  font-size: 1.3rem !important;
  color: #e09f22 !important;
  line-height: 1 !important;
  margin-top: 2px !important;
}

.extend-confirm-banner .confirm-content h4 {
  margin: 0 0 4px 0 !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
}

.extend-confirm-banner .confirm-content p {
  margin: 0 !important;
  font-size: 0.78rem !important;
  color: #cbd5e1 !important;
  line-height: 1.4 !important;
}

.extend-confirm-recap {
  background: #161622 !important;
  border: 1px solid #2a2b3d !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  margin-bottom: 18px !important;
}

#extend-modal .steppers-group,
#extend-modal .presets-group {
  display: flex !important;
  gap: 6px !important;
}

#extend-modal .btn-step,
#extend-modal .btn-quick-pill {
  background: #222436 !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-main) !important;
  padding: 5px 9px !important;
  border-radius: 5px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

#extend-modal .btn-step:hover,
#extend-modal .btn-quick-pill:hover {
  background: #2a2b3d !important;
  border-color: var(--orange-select) !important;
  color: #ffffff !important;
}

#extend-modal .btn-quick-pill.active {
  background: var(--green-extended) !important;
  border-color: #4caf50 !important;
  color: #ffffff !important;
}

/* Controls & Pricing Recap */
#extend-modal .details-panel {
  background-color: #161622 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  margin-top: 14px !important;
  border: 1px solid var(--border-color) !important;
  box-sizing: border-box !important;
}

#extend-modal .row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 8px !important;
  font-size: 13px !important;
  color: var(--text-main) !important;
}

#extend-modal .row:last-child {
  margin-bottom: 0 !important;
}

#extend-modal .price-new {
  color: #4caf50 !important;
  font-weight: bold !important;
  font-size: 14px !important;
}

#extend-modal .price-old {
  text-decoration: line-through !important;
  color: var(--text-muted) !important;
  margin-right: 6px !important;
  font-size: 12px !important;
}

/* Actions */
#extend-modal .actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

#extend-modal .btn {
  flex: 1 !important;
  padding: 10px !important;
  border-radius: 6px !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: opacity 0.2s, transform 0.1s !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

#extend-modal .btn:hover {
  opacity: 0.88 !important;
}

#extend-modal .btn:active {
  transform: scale(0.98) !important;
}

#extend-modal .btn-cancel {
  background-color: #2a2b3d !important;
  color: var(--text-main) !important;
}

#extend-modal .btn-confirm {
  background-color: #2e7d43 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

#extend-modal .btn-confirm:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

/* ============================================================ */
/* DOWNLOAD & SYNCHRONIZING SCREEN ("PETIT TÉLÉCHARGEMENT")      */
/* ============================================================ */
.extend-download-screen {
  padding: 38px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cyber-radar-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #00f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

.radar-core-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 15px #00f2fe;
}

.download-hero-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.download-step-msg {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 18px;
  font-family: 'JetBrains Mono', monospace;
}

.cyber-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

.cyber-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #00f2fe, #38bdf8);
  border-radius: 999px;
  box-shadow: 0 0 15px #00f2fe;
  transition: width 0.15s ease-out;
}

.download-metrics-flex {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

/* Highlight pulse on extended slot */
.slot-pulse-highlight {
  animation: slotPulseGreen 1.4s ease-in-out 3;
}

@keyframes slotPulseGreen {
  0%, 100% {
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
  }
  50% {
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.9);
    border-color: #10b981;
  }
}

/* ============================================================ */
/* QUICK ACTIONS DISABLED BUTTON & TRANSFER MODALS              */
/* ============================================================ */
.btn-disabled {
  opacity: 0.38 !important;
  cursor: not-allowed !important;
  filter: grayscale(1) !important;
  pointer-events: none !important;
}

#transfer-slot-modal .modal,
#transfer-balance-modal .modal,
.transfer-modal-card {
  width: 500px !important;
  max-width: 95vw !important;
  background-color: #1a1b26 !important;
  border: 1px solid #2a2b3d !important;
  border-radius: 14px !important;
  padding: 24px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 242, 254, 0.08) !important;
  color: #e0e0e0 !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  box-sizing: border-box !important;
  position: relative !important;
  animation: popIn 0.22s ease-out !important;
}

#transfer-slot-modal .header,
#transfer-balance-modal .header,
.transfer-modal-card .header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #2a2b3d !important;
}

#transfer-slot-modal .header-title,
#transfer-balance-modal .header-title,
.transfer-modal-card .header-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  letter-spacing: 0.3px !important;
}

#transfer-slot-modal .btn-close-clean,
#transfer-balance-modal .btn-close-clean,
.transfer-modal-card .btn-close-clean {
  cursor: pointer !important;
  font-size: 16px !important;
  color: #787c99 !important;
  transition: all 0.15s ease !important;
  line-height: 1 !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
}

#transfer-slot-modal .btn-close-clean:hover,
#transfer-balance-modal .btn-close-clean:hover,
.transfer-modal-card .btn-close-clean:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.transfer-info-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #161622;
  border: 1px solid #2a2b3d;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.t-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(224, 159, 34, 0.15);
  border: 1px solid rgba(224, 159, 34, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.t-info-content {
  display: flex;
  flex-direction: column;
}

.t-info-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
}

.t-info-sub {
  font-size: 0.75rem;
  color: #787c99;
  margin-top: 2px;
}

.transfer-balance-available-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #161622;
  border: 1px solid #2a2b3d;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: #787c99;
  font-weight: 600;
}

.transfer-balance-available-pill strong {
  color: #4caf50;
  font-size: 1.15rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(76, 175, 80, 0.3);
}

.transfer-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.transfer-input-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.transfer-help-text {
  font-size: 0.72rem;
  color: #787c99;
  margin-top: 2px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon input,
#transfer-slot-modal input[type="text"],
#transfer-balance-modal input[type="text"] {
  width: 100% !important;
  background: #12131a !important;
  border: 1px solid #2a2b3d !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  padding: 11px 38px 11px 14px !important;
  font-size: 0.9rem !important;
  font-family: 'JetBrains Mono', monospace !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.input-with-icon input:focus,
#transfer-slot-modal input[type="text"]:focus,
#transfer-balance-modal input[type="text"]:focus {
  border-color: #00f2fe !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25) !important;
}

.input-with-icon input::placeholder {
  color: #4b4f69 !important;
}

.search-input-icon {
  position: absolute;
  right: 14px;
  color: #787c99;
  font-size: 0.88rem;
  pointer-events: none;
}

/* Discord Live User Preview Box */
.discord-preview-container {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  transition: all 0.2s ease;
  min-height: 56px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.preview-standby {
  background: #161622;
  border: 1px dashed #2a2b3d;
  color: #787c99;
  font-size: 0.8rem;
  justify-content: center;
  gap: 8px;
}

.preview-loading {
  background: #161622;
  border: 1px solid #2a2b3d;
  color: #00f2fe;
  font-size: 0.82rem;
  justify-content: center;
  gap: 8px;
}

.preview-valid {
  background: rgba(46, 125, 67, 0.14) !important;
  border: 1px solid #2e7d43 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  box-shadow: 0 0 20px rgba(46, 125, 67, 0.15) !important;
  box-sizing: border-box !important;
}

.preview-user-flex {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-avatar-img {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  border-radius: 50% !important;
  border: 2px solid #4caf50 !important;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.4) !important;
  object-fit: cover !important;
  display: block !important;
}

.preview-user-meta {
  display: flex;
  flex-direction: column;
}

.preview-username {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
}

.preview-handle {
  font-size: 0.72rem;
  color: #a7f3d0;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 1px;
}

.preview-verified-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #4caf50;
  background: rgba(76, 175, 80, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(76, 175, 80, 0.4);
  white-space: nowrap;
}

.preview-error {
  background: rgba(208, 67, 67, 0.14) !important;
  border: 1px solid #d04343 !important;
  color: #f87171 !important;
  font-size: 0.8rem !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}

/* Amount Row & Preset Pills */
.amount-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.amount-input-row input,
#transfer-balance-modal input[type="number"] {
  flex: 1 !important;
  background: #12131a !important;
  border: 1px solid #2a2b3d !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  padding: 10px 14px !important;
  font-size: 0.95rem !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 700 !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.amount-input-row input:focus,
#transfer-balance-modal input[type="number"]:focus {
  border-color: #4caf50 !important;
  box-shadow: 0 0 12px rgba(76, 175, 80, 0.25) !important;
}

.amount-preset-pills {
  display: flex;
  gap: 5px;
}

.btn-amt-pill {
  background: #222436 !important;
  border: 1px solid #2a2b3d !important;
  color: #cbd5e1 !important;
  padding: 9px 12px !important;
  border-radius: 6px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  font-family: 'JetBrains Mono', monospace !important;
}

.btn-amt-pill:hover {
  background: #2a2b3d !important;
  color: #ffffff !important;
  border-color: #4caf50 !important;
  transform: translateY(-1px) !important;
}

.transfer-remaining-preview {
  font-size: 0.75rem;
  color: #787c99;
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
}

/* Transfer Actions & Buttons */
#transfer-slot-modal .actions,
#transfer-balance-modal .actions,
.transfer-modal-card .actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: 22px !important;
}

#transfer-slot-modal .btn,
#transfer-balance-modal .btn,
.transfer-modal-card .btn {
  flex: 1 !important;
  padding: 12px !important;
  border-radius: 8px !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  text-align: center !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

#transfer-slot-modal .btn-cancel,
#transfer-balance-modal .btn-cancel,
.transfer-modal-card .btn-cancel {
  background-color: #2a2b3d !important;
  color: #e0e0e0 !important;
}

#transfer-slot-modal .btn-cancel:hover,
#transfer-balance-modal .btn-cancel:hover,
.transfer-modal-card .btn-cancel:hover {
  background-color: #35364e !important;
  color: #ffffff !important;
}

#transfer-slot-modal .btn-confirm,
#transfer-balance-modal .btn-confirm,
.transfer-modal-card .btn-confirm {
  background-color: #2e7d43 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(46, 125, 67, 0.4) !important;
}

#transfer-slot-modal .btn-confirm:hover:not(:disabled),
#transfer-balance-modal .btn-confirm:hover:not(:disabled),
.transfer-modal-card .btn-confirm:hover:not(:disabled) {
  background-color: #388e3c !important;
  box-shadow: 0 0 22px rgba(46, 125, 67, 0.6) !important;
  transform: translateY(-1px) !important;
}

#transfer-slot-modal .btn-confirm:disabled,
#transfer-balance-modal .btn-confirm:disabled,
.transfer-modal-card .btn-confirm:disabled {
  background-color: #1e202e !important;
  color: #555770 !important;
  border: 1px solid #2a2b3d !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.6 !important;
}

/* Step 2 Double Confirmation Warnings */
.transfer-warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(208, 67, 67, 0.15);
  border: 1px solid #d04343;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.transfer-warning-banner.warning-amber {
  background: rgba(224, 159, 34, 0.15);
  border-color: #e09f22;
}

.warning-icon {
  font-size: 1.3rem;
  color: #f87171;
  line-height: 1;
  margin-top: 2px;
}

.transfer-warning-banner.warning-amber .warning-icon {
  color: #e09f22;
}

.warning-content h4 {
  margin: 0 0 4px 0;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.warning-content p {
  margin: 0;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.transfer-recap-box {
  background: #161622;
  border: 1px solid #2a2b3d;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.recap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.recap-row strong {
  color: #ffffff;
}

.recap-row:last-child {
  margin-bottom: 0;
}

.recap-recipient-row {
  border-top: 1px solid #2a2b3d;
  padding-top: 10px;
  margin-top: 10px;
}

.recap-user-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recap-user-tag .avatar {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1px solid #4caf50 !important;
}

.btn-danger-glow {
  background-color: #d04343 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 15px rgba(208, 67, 67, 0.4) !important;
  transition: all 0.2s ease !important;
}

.btn-danger-glow:hover {
  background-color: #b91c1c !important;
  box-shadow: 0 0 25px rgba(208, 67, 67, 0.7) !important;
  transform: translateY(-1px) !important;
}






